datahacker.rs@gmail.com

Category: Other

# TF An implementation of a Shallow Neural Network in TensorFlow – Circles dataset

In this post we will see in details how to make a shallow neural network in TensorFlow. Our first step will be to import all libraries that we will need in the following code. Now, we will create a data set. We will use the same dataset we used in this post. Next, we will separate previously made dataset into training and test set. Let’s plot our datasets. With the following code we will make…
Read more

#003 D TF Gradient Descent in TensorFlow

In this post we will see how to implement Gradient Descent using TensorFlow. First we will import all libraries that we will need in our code. Next, we will define our variable \(\omega \) and we will initialize it with \(-3 \). With the following peace of code we will also define our cost function \(J(\omega) = (\omega – 3)^2 \). With the next two lines of code we specify the initialization of our variables…
Read more

#TF Logistic Regression in TensorFlow

In this post we will see how to implement Logistic Regression in TensorFlow. We will start with importing libraries we will need in our code. In this post we will use some artificial datasets. To generate them we will use the following code. It is always good to check the size of matrices we use.  Next, we will  plot our datasets. With the next peace of code we will split our dataset in training set…
Read more

#024 CNN Convolutional Operation of Sliding Windows

Convolutional operation of sliding widows In the previous post we learned about the sliding windows object detection algorithm using a \(convnet \), but we saw that it was too slow. In this post we will see how to implement that algorithm convolutionaly. Let’s see what that means. To build up the convolutional implementation of sliding windows, let’s first see how we can turn \(Fully \enspace connected \) layers in our neural network into \(Convolutional\) layes.…
Read more