kumulant

RandomForestClassifier

@Serializable
@SerialName(value = "RandomForestClassifier")
data class RandomForestClassifier(val featureSize: Int, val numClasses: Int, val splitCandidates: List<SerializableSplit>, val nbrTrees: Int = 10, val config: ClassificationTreeConfig = ClassificationTreeConfig(), val bagging: Boolean = true, val randomSeed: Int = 0) : RegressionStatSpec<ForestClassificationResult> (source)

Spec for RandomForestClassifierStat: ensembled VFDT classification forest.

Constructors

RandomForestClassifier

constructor(featureSize: Int, numClasses: Int, splitCandidates: List<SerializableSplit>, nbrTrees: Int = 10, config: ClassificationTreeConfig = ClassificationTreeConfig(), bagging: Boolean = true, randomSeed: Int = 0)(source)

Properties

bagging

Oza & Russell Poisson(1) per-tree reweighting.

config

RegressionTree growth tunables (mtry defaults to ceil(sqrt(p)) when null).

featureSize

Number of input features.

nbrTrees

Trees in the forest.

numClasses

Number of classes.

randomSeed

PRNG seed shared across trees.

splitCandidates

Candidate split pool.