ee.Classifier.setOutputMode

Sets the output mode.

UsageReturns
Classifier.setOutputMode(mode)Classifier
ArgumentTypeDetails
this: classifierClassifier

An input classifier.

modeString

The output mode. One of:

  - CLASSIFICATION (default): The output is the class number.

  - REGRESSION: The output is the result of standard regression.

  - PROBABILITY: The output is the probability that the classification is correct.

Not all classifier types support REGRESSION and PROBABILITY modes.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!