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.
To use this workflow in KNIME, download it from the below URL and open it in KNIME:
Download WorkflowDeploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to mail@nodepit.com, follow @NodePit on Twitter or botsin.space/@nodepit on Mastodon.
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.