Hub
Pricing About
WorkflowWorkflow

Counterfactual Explanations for Keras

Counterfactual InstancesCounterfactual ExplainationsBinary ClassificationExplainable AIXAI
+4
mpattadkal profile image
Draft Latest edits on 
Apr 7, 2021 3:54 PM
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 Keras outside KNIME eg: Python IDE, Google Colab or Jupyter Notebook. The Python object reader load the pickled Python object which is used for nomalisation of features, while the Network Reader node reads the keras model trained outside of KNIME. The component (in blue) can be used to select the instances to be used for Counterfactual Explanations.

External resources

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

Used extensions & nodes

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

    KNIME AG, Zurich, Switzerland

    Version 4.3.2

    knime
  • Go to item
    KNIME Data GenerationTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.3.0

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

    KNIME AG, Zurich, Switzerland

    Version 4.3.1

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

    KNIME AG, Zurich, Switzerland

    Version 4.3.1

    knime
  • Go to item
    KNIME JavasnippetTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.3.0

    knime
  • Go to item
    KNIME Python Integration

    KNIME AG, Zurich, Switzerland

    Version 4.3.2

    knime
  • Go to item
    KNIME Quick FormsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.3.2

    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