Package com.tagtraum.core.ml
Class RandomForestRegressor
- java.lang.Object
-
- com.tagtraum.core.ml.RandomForest
-
- com.tagtraum.core.ml.RandomForestRegressor
-
public class RandomForestRegressor extends RandomForest
RandomForestRegressor.- Author:
- Hendrik Schreiber
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.tagtraum.core.ml.RandomForest
RandomForest.Node
-
-
Field Summary
-
Fields inherited from class com.tagtraum.core.ml.RandomForest
trees
-
-
Constructor Summary
Constructors Constructor Description RandomForestRegressor(URL model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
predict(float[] features)
-
Methods inherited from class com.tagtraum.core.ml.RandomForest
toBinary, toDebugString, toString
-
-
-
-
Constructor Detail
-
RandomForestRegressor
public RandomForestRegressor(URL model) throws IOException
- Throws:
IOException
-
-
Method Detail
-
predict
public float predict(float[] features)
- Specified by:
predict
in classRandomForest
-
-