Hub
Pricing About
  • Software
  • Blog
  • Forum
  • Events
  • Documentation
  • About KNIME
  • KNIME Community Hub
  • mlauber71
  • Spaces
  • Public
  • kn_example_python_iris_2021
WorkflowWorkflow

Simple example to make a random forest model with new Python Scrip in KNIME 4.5 using the iris dataset. Saving and reusing the model with Pickle

Python Machine learning Knime Pickle Scikit-learn
+5
mlauber71 profile image

Last edited: 

Drag & drop
Like
Download workflow
Copy short link
Workflow preview
Simple example to make a random forest model with new Python Scrip in KNIME 4.5 using the iris dataset. Saving and reusing the model with Pickle Also creating some graphics and exporting them to disk. Via Python code or via KNIME ports. It is not really necessary to do all this with the colourful ports, just to check how it does work The sub-folder /data/ conatins "py39_knime_2022.yaml" and "py38_knime_2022.yaml" files to create the Python environments if it would not be installed automaticall by the Conda Environment Propagation. Pleas also check out the additional links provided.

External resources

  • Python & KNIME (the official guide)
  • KNIME & Python (the short story)
  • Meta Collection about KNIME and Python
  • (forum.knime.com) RUNNING KNIME USING PYTHON [KNIMEPY]
  • Pandas Tutor visualizes how your Python code transforms dataframes
  • KNIME columnar storage
  • What's New in KNIME Analytics Platform 4.5 - Integrating Python & KNIME
  • use the new (KNIME 4.5) Python Script node to read Parquet file into KNIME, export it again, put it into SQLite database and read it back
  • (forum entry) KNIME 4.5 release, problems with conda.environment variable
  • envconfigs - KNIME Python Integration (YML files)
  • KNIME Python Integration - envconfigs
  • KNIME and Jupyter notebooks and .PY modules
  • KNIME and YML configuration with Miniconda (1/2)
  • KNIME and YML configuration with Miniconda (2/2)

Used extensions & nodes

Created with KNIME Analytics Platform version 4.5.1
  • Go to item
    KNIME Base nodes Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.5.1

    knime
  • Go to item
    KNIME Extension for Big Data File Formats Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.5.0

    knime
  • Go to item
    KNIME Javasnippet Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.5.0

    knime
  • Go to item
    KNIME Python Integration Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.5.1

    knime
  • Go to item
    KNIME Python Integration (Labs) Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.5.0

    knime
  • Go to item
    KNIME SVG Support Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.5.0

    knime
  1. Go to item
  2. Go to item
  3. Go to item
  4. Go to item
  5. Go to item
  6. Go to item
Loading deployments
Loading ad hoc executions

Legal

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

Discussion
Discussions are currently not available, please try again later.

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • E-Learning course
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • KNIME Open Source Story
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more on KNIME Business Hub
© 2023 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Credits