Hub
Pricing About
  • Software
  • Blog
  • Forum
  • Events
  • Documentation
  • About KNIME
  • KNIME Community Hub
  • mpattadkal
  • Spaces
  • Counterfactual Explanation (Python)
  • 01_KNIME_Workflows
  • 01_Train_and_Explain_Keras_Network_with_Counterfactuals
WorkflowWorkflow

Train and Explain Keras Network with Counterfactuals

Counterfactual Instances Counterfactual Explainations Binary Classification Explainable AI XAI
+3
Mpattadkal profile image

Last edited: 

Drag & drop
Like
Download workflow
Copy short link
Workflow preview
This application is a simple example of using Conterfactual Explanations (Python) Component to identify the counterfactual instances for a Binary classification model trained in KNIME with Keras. The Component (in yellow) uses KNIME Python Integration for normalisation of features and outputs the features along with the pickled file containing the preprocessing object. The Component (in blue) can be used to select the instances to be used for Counterfactual Explainations.

External resources

  • Python Library for Counterfactual Instances
  • KNIME Keras Integration
  • How to set up KNIME Python extension
  • Counterfactual - Interpretable-ml-book

Used extensions & nodes

Created with KNIME Analytics Platform version 4.5.1 Note: Not all extensions may be displayed.
  • Go to item
    KNIME Base nodes Trusted extension

    KNIME AG, Zurich, Switzerland

    Versions 4.3.2, 4.5.0, 4.5.1

    knime
  • Go to item
    KNIME Data Generation Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.5.0

    knime
  • Go to item
    KNIME Deep Learning - Keras Integration Trusted extension

    KNIME AG, Zurich, Switzerland

    Versions 4.3.1, 4.5.0

    knime
  • Go to item
    KNIME Deep Learning - TensorFlow 2 Integration Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.5.0

    knime
  • Go to item
    KNIME JavaScript Views Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.5.1

    knime
  • Go to item
    KNIME Javasnippet Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.5.0

    knime
  • Go to item
    KNIME Math Expression (JEP) 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 Quick Forms Trusted extension

    KNIME AG, Zurich, Switzerland

    Versions 4.4.0, 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