The following node is available in the Open Source KNIME predictive analytics and data mining platform version 2.7.1. Discover over 1000 other nodes, as well as enterprise functionality at
http://knime.com.
Naive Bayes 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.
Dialog Options
- Classification Column
-
The class value column.
- Skip missing values (incl. class column)
-
The node ignores missing values in the model if this option is ticked.
If it's not ticked the node treats the missing values as a normal value
and considers them during the class probability calculation.
- Maximum number of unique nominal values per attribute
-
All nominal columns with more unique values than the defined number
will be skipped during learning. If the column contains missing values
and the 'Skip missing values' option is not skipped the missing value
counts as one value!
Ports
Output Ports
0 |
Learned naive Bayes model |
Views
- Naive Bayes Learner View
-
The view displays the learned model with the number of rows per class
attribute. The number of rows per attribute per class for nominal
attributes and the Gaussian distribution per class
for numerical attributes.
This node is contained in KNIME Base Nodes
provided by KNIME GmbH, Konstanz, Germany.