# Naive Bayes Learner

Learner

The node creates a Bayesian model from the given training data. It calculates the number of rows per attribute value per class for nominal attributes and the Gaussian distribution for numerical attributes. The created model could be used in the naive Bayes predictor to predict the class membership of unclassified data. The node displays a warning message if any columns are ignored due to unsupported data types. For example Bit Vector columns are ignored when the PMML compatibility flag is enabled since they are not supported by the PMML standard.

### Input Ports

- Type: Data Training data

### Output Ports

- Type: PMML Learned naive Bayes model. The model can be used to classify data with unknown target (class) attribute. To do so, connect the model out port to the "Naive Bayes Predictor" node.
- Type: Data Data table with attribute statistics e.g. counts per attribute class pair, mean and standard deviation.