Icon

Basic_Example_Iris_Dataset

Simple Example for Multiclass Classification with Keras

This workflow trains a fully connected feedforward neural network with 4-8-3 units per layers to classify iris flowers.

Annotations and comments
  • Define network strucuture and train the network
  • Read and preprocess iris data
  • Apply trained network and extract predictions
  • create collection cell of indices
  • hidden layer 8 units ReLU
  • output layer 3 units softmax
  • input layer 4 units
  • apply trained network
  • RMSProp 50 epochs
  • z-score
  • apply normaliz. function
  • 75% for training 25 % for testing
  • transform class to index
  • extract prediction
  • evaluate network performance
  • reading the iris dataset

Nodes

Extensions

Links