This function internally uses scikit-learn functions MultinomialNB, BernoulliNB, GaussianNB through teradataml Open source ML functions.
Attributes/Methods
Attribute/Method Name | Supported | Notes |
---|---|---|
clear | ||
copy | ||
explainParam | ||
explainParams | ||
extractParamMap | ||
getFeaturesCol | ||
getLabelCol | ||
getModelType | ||
getOrDefault | ||
getParam | ||
getPredictionCol | ||
getProbabilityCol | ||
getRawPredictionCol | ||
getSmoothing | ||
getThresholds | ||
getWeightCol | ||
hasDefault | ||
hasParam | ||
isDefined | ||
isSet | ||
load | ||
predict | ||
predictProbability | ||
predictRaw | ||
read | ||
save | ||
set | ||
setFeaturesCol | ||
setPredictionCol | ||
setProbabilityCol | ||
setRawPredictionCol | ||
setThresholds | ||
transform | ||
write | ||
featuresCol | ||
labelCol | ||
modelType | ||
numClasses | ||
numFeatures | Only supported by modelType multinomial, bernoulli. | |
params | ||
pi | Only supported by modelType multinomial, bernoulli. | |
predictionCol | ||
probabilityCol | ||
rawPredictionCol | ||
smoothing | ||
theta | ||
thresholds | ||
weightCol |