ee.Classifier.smileNaiveBayes

Creates an empty Naive Bayes classifier.

UsageReturns
ee.Classifier.smileNaiveBayes(lambda)Classifier
ArgumentTypeDetails
lambdaFloat, default: 0.000001

A smoothing lambda. Used to avoid assigning zero probability to classes not seen during training, instead using lambda / (lambda * nFeatures).

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!