ee.Classifier.smileNaiveBayes

Creates an empty Naive Bayes classifier. This classifier assumes that the feature vector consists of positive integers, and negative inputs are discarded.

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).