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 intMIN_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 doublecalculateYHat(double[] arrRow)MatrixcalculateYHat(Matrix X)intcompareTo(RandomForestRegression o)MatrixcreateModel(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:
createModelin interfaceICalculateModel
-
calculateYHat
public Matrix calculateYHat(Matrix X)
- Specified by:
calculateYHatin interfaceICalculateYHat
-
calculateYHat
public double calculateYHat(double[] arrRow)
- Specified by:
calculateYHatin interfaceICalculateYHat
-
compareTo
public int compareTo(RandomForestRegression o)
- Specified by:
compareToin interfacejava.lang.Comparable<RandomForestRegression>
-
-