Hub
Pricing About
NodeNode / Learner

Spark Naive Bayes Learner (MLlib)

Tools & ServicesApache SparkMiningPrediction
Drag & drop
Like

This node applies the Apache Spark Naive Bayes algorithm. It outputs the original data and the Naive Bayes predictions for the result preview as well as the learned model for later application.

Please note that all data must be numeric, including the label column. Use the Spark Category To Number nodes to convert nominal values to numeric columns. The mapping dictionary of the converter node is the input of second in port of this node.

Use the Spark Predictor node to apply the learned model to unseen data.

Node details

Input ports
  1. Type: Spark Data
    Input data
    Input Spark DataFrame/RDD
Output ports
  1. Type: Spark MLlib Model
    Naive Bayes Model
    Spark MLlib Naive Bayes Model

Extension

The Spark Naive Bayes Learner (MLlib) node is part of this extension:

  1. Go to item

Related workflows & nodes

  1. Go to item
  2. Go to item
  3. Go to item

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
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits