Icon

DL 050 Tensorflow2 Basic MLP

Train a simple Multilayer Perceptron using TensorFlow 2

Train a simple Multilayer Perceptron using TensorFlow 2 for a binary classification

This workflow shows how to train a simple multilayer perceptron for classification. It is demonstrated how the "DL Python Network Creator" can be used to create a simple neural network using the tf.keras API and how the "DL Python Network Learner" can be used to train the created network on data.
Please note this example should demonstrate how to set up the deep learning environment with Tensor Flow 2 and provide a working simple example.

adapted from: https://kni.me/w/Z1BLynW6P1l14odY

please download the complete DeepLearning (Keras, Tensorflow, H2O.ai) Workflow group:
https://hub.knime.com/mlauber71/spaces/Public/latest/kn_example_deeplearning_keras_tensorflow_classification~G8jl-DTMCBqoxyB9/

------------------

In order to run the example, please make sure you have the following KNIME extensions installed:

* KNIME Deep Learning - TensorFlow 2 Integration (Labs)

You also need a local Python installation that includes TensorFlow 2. Please refer to https://docs.knime.com/latest/deep_learning_installation_guide/#dl_python_setup for installation recommendations and further information.

URL: KNIME Deep Learning Integration Installation Guide https://docs.knime.com/latest/deep_learning_installation_guide/#dl_python_setup
URL: adapted from: Train a simple Multilayer Perceptron using TensorFlow 2 https://kni.me/w/Z1BLynW6P1l14odY
URL: TensorFlow 2 Tutorial: Get Started in Deep Learning With tf.keras https://machinelearningmastery.com/tensorflow-tutorial-deep-learning-with-tf-keras/
URL: Codeless Deep Learning with KNIME https://www.knime.com/codeless-deep-learning-book
URL: please download the complete DeepLearning (Keras, Tensorflow, H2O.ai) Workflow group https://hub.knime.com/mlauber71/spaces/Public/latest/kn_example_deeplearning_keras_tensorflow_classification~G8jl-DTMCBqoxyB9/
URL: (official) KNIME Python Integration Guide https://docs.knime.com/latest/python_installation_guide/index.html#_introduction
URL: Meta Collection about KNIME and Python https://kni.me/w/AvjrddXKOIoZYLV3
URL: (official) KNIME Deep Learning Integration Installation Guide https://docs.knime.com/latest/deep_learning_installation_guide/index.html#_introduction
URL: Medium: KNIME and Python — Setting up and managing Conda environments https://medium.com/@mlxl/knime-and-python-setting-up-and-managing-conda-environments-2ac217792539
URL: compact KNIME forum - "KNIME - Python and Deep Learning" https://forum.knime.com/t/tensorflow-keras-installation-conflict/48670/4?u=mlauber71
URL: KNIME Hub - Train a simple Multilayer Perceptron using TensorFlow 2 https://kni.me/w/0P1TaKHmebS4g8zv
URL: (knime forum hint) Tensorflow and python-flatbuffers<2.0 https://forum.knime.com/t/help-with-error-execute-failed-endvector-takes-1-positional-argument-but-2-were-given/38391/2?u=mlauber71

Nodes

Extensions

Links