Hub
Pricing About
WorkflowWorkflow

Include Python Custom Class defined by user inside KNIME Workflow

PythonPython ScriptCustom Python ClassPython Class
knime profile image
Versionv1.0Latest, created on 
Nov 22, 2023 12:02 PM
Drag & drop
Like
Download workflow
Workflow preview
This workflow showcases the usage of custom class inside KNIME. The user has to define the custom python class in a (.py) file and place it inside the workflow directory. The Python Script node can access this custom class and use it for execution. In this example, we define a python custom class for normalising data and encoding taregt column, this class file (.py) is placed inside the workflow directory. Inside the Python Script node we use this python class for normalising input data and encodinmg target column supplied at second input port

External resources

  • KNIME Python Integration Guide
  • Data Transfer between KNIME and Python Just Got Faster
  • KNIME Python API Documentation
Loading deploymentsLoading ad hoc jobs

Used extensions & nodes

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

    KNIME AG, Zurich, Switzerland

    Version 4.6.2

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

    KNIME AG, Zurich, Switzerland

    Version 4.6.2

    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