Hub
Pricing About
WorkflowWorkflow

Evaluation of ML Workflows with Giskard

Release 5.3Giskard
knime profile image
Versionv1.0 KNIME AP 5.3 ReleaseLatest, created on 
Jul 10, 2024 11:29 AM
Drag & drop
Like
Download workflow
Workflow preview

This workflow uses the Giskard Scanner node to scan a machine learning workflow for common weaknesses.

You can download and run the workflow directly in your KNIME Analytics Platform. For optimal performance, we recommend using the latest version of KNIME AP.

Workflow steps

  1. Reading the data

    • The data is embedded into the workflow so you can just execute the node.

  2. Partition into train and test

    • The partitioning node is used to split the data into 70% training data and 30% test data that is used later to evaluate the model with Giskard.

  3. Preprocessing

    • Remove missing values by replacing missing strings with '?' and using the mean for numerical columns.

    • Z-score normalize numerical columns for more stable logistic regression results.

  4. Model training

    • Train a logistic regression model on the dataset using the non-ID columns as features and the survived column as target.

  5. Capture inference workflow

    • The inference workflow is surrounded by the Capture Workflow Start and End nodes that extract the contained workflow snippet into a dedicated workflow port object.

    • The inference workflow applies the preprocessing operations followed by the model predictor to create the classification output. Besides the predicted class, the predictor also outputs the class probabilities which are used by Giskard.

  6. Evalute inference workflow with Giskard

    • The Giskard Scanner node checks the inference workflow for common weaknesses in the categories robustness, spurious correlation, performance and overconfidence.

Data used in this workflow:

  • Titanic - Machine Learning from Disaster. Retrieved from https://www.kaggle.com/c/titanic

Loading deploymentsLoading ad hoc jobs

Used extensions & nodes

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

    KNIME AG, Zurich, Switzerland

    Version 5.3.0

    knime profile image
    knime
  • Go to item
    KNIME Giskard ExtensionTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.3.0

    knime profile image
    knime
  • Go to item
    KNIME Integrated DeploymentTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.3.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