Icon

02_​NaiveBayes

Naive Bayes

Using the adult dataset, this workflow performs binary classification using the Naive Bayes algorithm. The target is the income column, either <=50K or <50K, predicted using the other anagraphc information. After partitioning the original data set into training set and test, the naive Bayes model is built on the training set and the performance is evaluated on the test set using the Scorer node.

Chapter 8: 02_Naive Bayes

Binary classification problem (income >50K or <50K), solved using Naive Bayes

Train Naive Bayes
Naive Bayes Learner
Scorer
Perform classification
Naive Bayes Predictor
80% training 20% test stratified sampling
Partitioning
Read the adult dataset
CSV Reader

Nodes

Extensions

Links