Hub
Pricing About
WorkflowWorkflow

How to Build a Naive Bayes Model

Machine learningModel scoringBasic how-toSupervised learningNaive Bayes
knime profile image
Versionv1.0Latest, created on 
Jan 21, 2026 3:19 PM
Drag & drop
Like
Download workflow
Workflow preview

How to Build a Naive Bayes Model

This workflow shows how to build a simple Naive Bayes model. The workflow prepares the Adult dataset for machine learning by handling class imbalance (down-sampling to the minority class), and imputing missing values. The data is then split into training and testing sets, and a Naive Bayes model is trained to predict income and applied to the test data. Finally, the predictions are evaluated to measure how accurately the model classifies the income of an adult person.

Loading deploymentsLoading manual runs

Used extensions & nodes

Created with KNIME Analytics Platform version 5.9.0
  • Go to item
    KNIME Base nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.9.0

    knime profile image
    knime
  • Go to item
    KNIME ExpressionsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.9.0

    knime profile image
    knime

Legal

By using or downloading the workflow, you agree to our terms and conditions.

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2026 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits