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 2.4.0 and later versions are supported.

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

This component is not shipped with your Talend Studio by default. You need to install it using the Feature Manager. For more information, see Installing features using the Feature Manager.

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!