RandomForestClassifier
@Serializable
@SerialName(value = "RandomForestClassifier")
Spec for RandomForestClassifierStat: ensembled VFDT classification forest.
Constructors
RandomForestClassifier
constructor(featureSize: Int, numClasses: Int, splitCandidates: List<SerializableSplit>, nbrTrees: Int = StatDefaults.FOREST_SIZE, config: ClassificationTreeConfig = ClassificationTreeConfig(), bagging: Boolean = StatDefaults.FOREST_BAGGING, randomSeed: Int = StatDefaults.TREE_RANDOM_SEED, leafArm: SeriesStatSpec<ClassCountsResult>? = null)(source)
Properties
bagging
config
RegressionTree growth tunables (mtry defaults to ceil(sqrt(p)) when null).
featureSize
Number of input features.
leafArm
Per-leaf accumulator recipe; null uses the stat's default leaf arm.
nbrTrees
numClasses
Number of classes.
randomSeed
PRNG seed shared across trees.
splitCandidates
Candidate split pool.