#K An implementation of a Shallow Neural Network in Keras – Spirals dataset
In this post we will see how we can classify a spirals dataset with a shallow neural network implemented in Keras. Let’s start by importing libraries that we will need in the our code.
Here, we will make our dataset and divide it into training and testing set.
Let’s now create a shallow neural network!
Next, we will make predictions and plot the accuracy and loss function of our model.
Now, we will make some visualizations.
Let’s now see what are the weights of our model.
In the next post we will learn how to perform classification with a shallow neural network on the MNIST Dataset Using Keras.
More resources on the topic:
- Classification With Shallow Neural Network on MNIST Dataset.
- A Simple Neural Network in Keras, PyImageSearch.
- Classification With Shallow Neural Network on Spiral Dataset.
- Hand digit Recognizer in TensorFlow.