Interface RandomForestBaseOptions

Hierarchy

  • RandomForestBaseOptions

Properties

isClassifier: boolean
maxFeatures: number

the number of features used on each estimator. * if is an integer it selects maxFeatures elements over the sample features. * if is a float between (0, 1), it takes the percentage of features.

nEstimators: number

number of estimator to use.

noOOB: boolean

Don't calculate Out-Of-Bag predictions. Improves performance if set to true.

replacement: boolean

use replacement over the sample features.

seed: number

seed for feature and samples selection, must be a 32-bit integer.

selectionMethod?: "mean" | "median"

the way to calculate the prediction from estimators, "mean" and "median" are supported.

treeOptions: object

options for the tree classifier, see [ml-cart]https://mljs.github.io/decision-tree-cart/

useSampleBagging: boolean

use bagging over training samples.

Generated using TypeDoc