ee.Classifier.smileRandomForest

Creates an empty Random Forest classifier.

UsageReturns
ee.Classifier.smileRandomForest(numberOfTrees, variablesPerSplit, minLeafPopulation, bagFraction, maxNodes, seed)Classifier
ArgumentTypeDetails
numberOfTreesInteger

The number of decision trees to create.

variablesPerSplitInteger, default: null

The number of variables per split. If unspecified, uses the square root of the number of variables.

minLeafPopulationInteger, default: 1

Only create nodes whose training set contains at least this many points.

bagFractionFloat, default: 0.5

The fraction of input to bag per tree.

maxNodesInteger, default: null

The maximum number of leaf nodes in each tree. If unspecified, defaults to no limit.

seedInteger, default: 0

The randomization seed.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!