org.ddogleg.nn.alg
Class AxisSplitRuleMax
- java.lang.Object
-
- org.ddogleg.nn.alg.AxisSplitRuleMax
-
- All Implemented Interfaces:
- AxisSplitRule
public class AxisSplitRuleMax extends java.lang.Object implements AxisSplitRule
Selects the axis with the largest variance to split.
-
-
Constructor Summary
Constructors Constructor and Description AxisSplitRuleMax()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intselect(double[] var)Selects the index for splitting using the provided variances.voidsetDimension(int N)Specifies the point's dimension
-
-
-
Method Detail
-
setDimension
public void setDimension(int N)
Description copied from interface:AxisSplitRuleSpecifies the point's dimension- Specified by:
setDimensionin interfaceAxisSplitRule- Parameters:
N- dimension
-
select
public int select(double[] var)
Description copied from interface:AxisSplitRuleSelects the index for splitting using the provided variances. The input list can be modified.- Specified by:
selectin interfaceAxisSplitRule- Parameters:
var- List of variances for each dimension in the point- Returns:
- The selected split axis
-
-
DataMelt 3.0 © DataMelt by jWork.ORG