Documentation of 'org.ddogleg.nn.alg.AxisSplitRuleRandomK' Java class
AxisSplitRuleRandomK
org.ddogleg.nn.alg

Class AxisSplitRuleRandomK

  • All Implemented Interfaces:
    AxisSplitRule


    public class AxisSplitRuleRandomK
    extends java.lang.Object
    implements AxisSplitRule
    Randomly selects the larger variances. The list is sorted so that the K largest variances are known. It then selects one of those randomly
    • Constructor Summary

      Constructors 
      Constructor and Description
      AxisSplitRuleRandomK(java.util.Random rand, int numConsiderSplit) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int select(double[] variance)
      Selects the index for splitting using the provided variances.
      void setDimension(int N)
      Specifies the point's dimension
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AxisSplitRuleRandomK

        public AxisSplitRuleRandomK(java.util.Random rand,
                                    int numConsiderSplit)
        Parameters:
        rand -
        numConsiderSplit -
    • Method Detail

      • setDimension

        public void setDimension(int N)
        Description copied from interface: AxisSplitRule
        Specifies the point's dimension
        Specified by:
        setDimension in interface AxisSplitRule
        Parameters:
        N - dimension
      • select

        public int select(double[] variance)
        Description copied from interface: AxisSplitRule
        Selects the index for splitting using the provided variances. The input list can be modified.
        Specified by:
        select in interface AxisSplitRule
        Parameters:
        variance - List of variances for each dimension in the point
        Returns:
        The selected split axis

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.