Skip to main content

tNaiveBayesModel

Generates a classifier model that is used by tPredict to classify given elements.

tNaiveBayesModel analyzes incoming datasets based on applying Bayes' law with the (naive) assumption that the analyzed features of an element are independent of each other.

It generates a classification model out of this analysis and writes this model in a given file system in the PMML (Predictive Model Markup Language) format.

In local mode, Apache Spark 1.4.0, 1.5.0, 1.6.0, 2.0.0, 2.3.0, 2.4.0 and 3.0 are supported.

You must use tModelEncoder in your Job to prepare and provide the incoming dataset.

For more technologies supported by Talend, see Talend components.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!