datahacker.rs@gmail.com

Tag: Neural Network

#007 TF 2.0 An implementation of a Shallow Neural Network in tf.keras – Spirals dataset

Highlights: In this post we will see how we can classify a spirals dataset with a shallow neural network implemented in TensorFlow 2.0. Tutorial Overview: Imports and Dataset preparation Building a Neural Network Visualization 1. Dataset: import and preparation Let’s start by importing libraries that we will need in our code. Last time we were using a function from sklearn to create a dataset. Now we are going to make our dataset from scratch. First,…
Read more

#006 TF 2.0 An implementation of a Shallow Neural Network in tf.keras – Moons dataset

In this post we will learn how to make a classification of Moons dataset with a shallow Neural network. The Neural Net we will implemented in TensorFlow 2.0 using Keras API. With the following code we are going to import all libraries that we will need. First, we will generate a random dataset, then we will split it into train and test set. We will also print dimensions of these datasets. With the following code…
Read more

#010 TF TensorBoard: Visualizing Learning

Highlights: In this post we will learn what is TensorBoard and how to use it. For most people, neural networks can sometimes be a bit of black box. Debugging problems is also a lot easier when we can see what the problem is. Thankfully, TensorBoard is a tool that will help us to analyze neural networks and to visualize learning. Tutorial Overview: Sequential API Model Subclassing Intro The idea of TensorBoard is to help to…
Read more

#008 TF 2.0 An implementation of a Shallow Neural Network in tf.keras – digits dataset

In this post we will see how we can classify handwritten digits using shallow neural network implemented with tf.keras. Table of Contents: Load the digit dataset Implementing a Neural Network Visualization and Testing 1. Load the digits dataset First, let us import all necessary libraries. After imports, we can use imported module to load digits data. The load_digits() function will just download data and we need to split it into train and test sets. We can also…
Read more

#004 TF 2.0 TensorFlow Wrappers

Highlights: In this post we are going to talk more about TensorFlow Wrappers. We are going to compare things before and after TensorFlow 2.0. This post will be the introductory one to the series of posts where we are going to build a wide variety of neural networks. To use TensorFlow in our projects, we need to learn how to program using the TensorFlow API. TensorFlow has multiple APIs that can be used to interact with…
Read more