Hub
Pricing About
NodeNode / Other

Spark Numeric Scorer

Tools & ServicesApache SparkMiningScoring
Drag & drop
Like

This node computes certain statistics between the a numeric column's values (r i ) and predicted (p i ) values. It computes R² =1-SS res /SS tot =1-Σ(p i -r i )²/Σ(r i -1/n*Σr i )² (can be negative!), mean absolute error (1/n*Σ|p i -r i |), mean squared error (1/n*Σ(p i -r i )²), root mean squared error (sqrt(1/n*Σ(p i -r i )²)), and mean signed difference (1/n*Σ(p i -r i )). The computed values can be inspected in the node's view and/or further processed using the output table.

Node details

Input ports
  1. Type: Spark Data
    Table
    Arbitrary input Spark DataFrame/RDD with at least two numeric columns to compare.
Output ports
  1. Type: Table
    Statistics
    The computed statistical measures:
    • R² - coefficient of determination , 1-SS_res/SS_tot
    • Mean squared error - 1/n*Σ((p_i-r_i)²)
    • Mean absolute error - 1/n*Σ|p_i-r_i|
    • Root mean squared error - Sqrt(1/n*Σ((p_i-r_i)²))
    • Mean signed difference - 1/n*Σ(p_i - r_i)

Extension

The Spark Numeric Scorer 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