Hub
Pricing About
WorkflowWorkflow

Using Gaussian Processes to predict XOR data

Scikit-LearnGaussian ProcessesLassoRelease 5.1
knime profile image
Versionv1.0Latest, created on 
Oct 20, 2023 2:07 PM
Drag & drop
Like
Download workflow
Workflow preview
You can easily download and run the workflow directly in your KNIME installation. We recommend that you use the latest version of the KNIME Analytics Platform for optimal performance. Here's how the workflow operates: 1. Python Script node generates a dataset with 200 random points in a 2D space. Target variable "Y" is then generated based on the XOR logic function. "Y_nominal" is the nominal form ("yes" or "no") of the target variable "Y", and "Y_numeric" is in the corresponding numeric form (1 or 0). 2. Then we split the dataset into train and test subsets. 3. Lasso Regression is performed with feature targets X_0, X_1, and target column Y_numeric. Gaussian Process Regression is performed with feature targets X_0, X_1, and target column Y_numeric. Gaussian Process Classification is then performed with feature targets X_0, X_1, and target column Y_nominal. 4. For each algorithm, a Python view is created showcasing a plot with data points coloured based on their class.

External resources

  • Scikit-Learn - Lasso Regression
  • Scikit-Learn - Gaussian Process Regression
  • Scikit-Learn - Gaussian Process Classification
  • Scikit-Learn - GPC on the XOR dataset
Loading deploymentsLoading ad hoc jobs

Used extensions & nodes

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

    KNIME AG, Zurich, Switzerland

    Version 5.1.0

    knime profile image
    knime
  • Go to item
    KNIME Nodes for Scikit-Learn (sklearn) AlgorithmsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 0.1.0

    knime profile image
    knime
  • Go to item
    KNIME Python IntegrationTrusted extension

    KNIME AG, Zurich, Switzerland

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