Class RandomForestRegression
- java.lang.Object
-
- com.actelion.research.calc.regression.ARegressionMethod<ParameterRandomForest>
-
- com.actelion.research.calc.regression.randomforest.RandomForestRegression
-
- All Implemented Interfaces:
ICalculateModel
,ICalculateYHat
,java.lang.Comparable<RandomForestRegression>
public class RandomForestRegression extends ARegressionMethod<ParameterRandomForest> implements java.lang.Comparable<RandomForestRegression>
RandomForestRegressionModest v. Korff
Created by korffmo1 on 14.01.19.
-
-
Field Summary
Fields Modifier and Type Field Description static int
MIN_NUM_VAR_SPLIT
-
Fields inherited from class com.actelion.research.calc.regression.ARegressionMethod
parameterRegressionMethod
-
-
Constructor Summary
Constructors Constructor Description RandomForestRegression()
RandomForestRegression(ParameterRandomForest parameterRandomForest)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
calculateYHat(double[] arrRow)
Matrix
calculateYHat(Matrix X)
int
compareTo(RandomForestRegression o)
Matrix
createModel(ModelXYIndex modelXYIndexTrain)
-
Methods inherited from class com.actelion.research.calc.regression.ARegressionMethod
decodeProperties2Parameter, getName, getParameter, getProgressController, getProperties, setParameterRegressionMethod, setProgressController
-
-
-
-
Field Detail
-
MIN_NUM_VAR_SPLIT
public static final int MIN_NUM_VAR_SPLIT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RandomForestRegression
public RandomForestRegression()
-
RandomForestRegression
public RandomForestRegression(ParameterRandomForest parameterRandomForest)
-
-
Method Detail
-
createModel
public Matrix createModel(ModelXYIndex modelXYIndexTrain)
- Specified by:
createModel
in interfaceICalculateModel
-
calculateYHat
public Matrix calculateYHat(Matrix X)
- Specified by:
calculateYHat
in interfaceICalculateYHat
-
calculateYHat
public double calculateYHat(double[] arrRow)
- Specified by:
calculateYHat
in interfaceICalculateYHat
-
compareTo
public int compareTo(RandomForestRegression o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<RandomForestRegression>
-
-