public class AlglibRandomForest
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
bufsize |
int |
nclasses |
int |
ntrees |
int |
nvars |
double[] |
trees |
Constructor and Description |
---|
AlglibRandomForest() |
Modifier and Type | Method and Description |
---|---|
static AlglibRandomForest |
convert(org.apache.spark.ml.classification.RandomForestClassificationModel rfmodel) |
static AlglibRandomForest |
convert(org.apache.spark.ml.regression.RandomForestRegressionModel rfmodel) |
protected static void |
getTree0(java.util.List<Pointer<java.lang.Double>> tree,
org.apache.spark.ml.tree.Node root) |
static void |
save(AlglibRandomForest forest,
java.lang.String filename) |
public int nvars
public int nclasses
public int ntrees
public int bufsize
public double[] trees
public static AlglibRandomForest convert(org.apache.spark.ml.classification.RandomForestClassificationModel rfmodel)
public static AlglibRandomForest convert(org.apache.spark.ml.regression.RandomForestRegressionModel rfmodel)
protected static void getTree0(java.util.List<Pointer<java.lang.Double>> tree, org.apache.spark.ml.tree.Node root)
public static void save(AlglibRandomForest forest, java.lang.String filename)