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.

Binary classification problem (Income > or < 50K), solved using Naive Bayes 80% training20% teststratified samplingClassificationperformanceTrain Naive BayesPerformclassificationRead theadult dataset Partitioning Scorer (JavaScript) Naive Bayes Learner Naive BayesPredictor CSV Reader Binary classification problem (Income > or < 50K), solved using Naive Bayes 80% training20% teststratified samplingClassificationperformanceTrain Naive BayesPerformclassificationRead theadult datasetPartitioning Scorer (JavaScript) Naive Bayes Learner Naive BayesPredictor CSV Reader

Nodes

Extensions

Links