datahacker.rs@gmail.com

#K An implementation of a Shallow Neural Network in Keras – Spirals dataset

#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:



Leave a Reply

Your email address will not be published. Required fields are marked *

11 − 6 =