Hub
Pricing About
WorkflowWorkflow

Train and Explain Keras Network with Counterfactuals

Counterfactual InstancesCounterfactual ExplainationsBinary ClassificationExplainable AIXAI
+3
mpattadkal profile image
Draft Latest edits on 
Apr 7, 2021 10:32 AM
Drag & drop
Like
Download workflow
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

  • Counterfactual - Interpretable-ml-book
  • How to set up KNIME Python extension
  • KNIME Keras Integration
  • Python Library for Counterfactual Instances
Loading deploymentsLoading ad hoc jobs

Used extensions & nodes

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

    KNIME AG, Zurich, Switzerland

    Versions 4.3.2, 4.5.0, 4.5.1

    knime
  • Go to item
    KNIME Data GenerationTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.5.0

    knime
  • Go to item
    KNIME Deep Learning - Keras IntegrationTrusted extension

    KNIME AG, Zurich, Switzerland

    Versions 4.3.1, 4.5.0

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

    KNIME AG, Zurich, Switzerland

    Version 4.5.0

    knime
  • Go to item
    KNIME JavaScript ViewsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.5.1

    knime
  • Go to item
    KNIME JavasnippetTrusted 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

    KNIME AG, Zurich, Switzerland

    Version 4.5.1

    knime
  • Go to item
    KNIME Quick FormsTrusted extension

    KNIME AG, Zurich, Switzerland

    Versions 4.4.0, 4.5.0

    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