Hub
  • Software
  • Blog
  • Forum
  • Events
  • Documentation
  • About KNIME
  • KNIME Hub
  • knime
  • Spaces
  • Examples
  • 04_Analytics
  • 14_Deep_Learning
  • 03_TensorFlow
  • 05_Translating_From_Keras_to_TensorFlow
WorkflowWorkflow

Translating from a Keras to TensorFlow (Sentiment Analysis)

Deep learning Keras Text classification Classification Lstm
+7

Last edited: 

Drag & drop
Like
Download workflow
Copy short link
Workflow preview
This first part of this workflow uses the Keras network built to do sentiment analysis on the IMDB data, translates it to a TensorFlow network, and uses the KNIME TensorFlow integration to do predictions. You might want to do this extra step instead of doing the prediction with the Keras because doing prediction with the TensorFlow network is considerably faster than using the Keras network. The second part of the workflow demonstrates how a TensorFlow network can be loaded from disk and used to make predictions. The saved TensorFlow networks are smaller than Keras models, so this can also be a plus for using the TensorFlow integration. This example uses the model trained in the workflow 07_Sentiment_Analysis_with_Deep_Learning. In order to run the example, please make sure you have the following KNIME extensions installed: * KNIME Deep Learning - TensorFlow Integration (Labs) * KNIME Deep Learning - Keras Integration (Labs) You also need a local Python installation that includes Keras and TensorFlow. Please refer to https://www.knime.com/deeplearning#keras for installation recommendations and further information.

External resources

  • Keras example script

Used extensions & nodes

Created with KNIME Analytics Platform version 4.1.0
  • Go to item
    KNIME Core Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.1.0

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

    KNIME AG, Zurich, Switzerland

    Version 4.1.0

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

    KNIME AG, Zurich, Switzerland

    Version 4.1.0

  • Go to item
    KNIME JavaScript Views Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.1.0

  • Go to item
    KNIME Python Integration Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.1.0

  • Go to item
    KNIME Quick Forms Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.1.0

  1. Go to item
  2. Go to item
  3. Go to item
  4. Go to item
  5. Go to item
  6. Go to item

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
Hardturmstrasse 66
8005 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 Server
© 2022 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Credits