Tag: Classificaiton

My Tech World

DAY 100-100 DAYS MLCODE: Cat Vs Dog Predictions

In the previous blog, we discussed and developed a Cat Vs Dog classification and saved the model, in this blog, we’ll load the model and use the unlabeled image to see cat vs dog Predictions. Fore predictions, we first have to load the model which we saved yesterday with name modelcat.h5 . Let’s load the…
Read more


February 20, 2019 0

DAY 99-100 DAYS MLCODE: Cat Vs Dog Classification

In the previous blog, we discussed emotion detection using Keras, in this blog, we’ll develop Cat Vs Dog classification problem. We are going to use the test data from Kaggle website. Kaggle has Dog-Vs-Cat challenge. Let’s start by downloading the data from Kaggle website. Now, we can extract the data and store into test and…
Read more


February 19, 2019 0

DAY 97-100 DAYS MLCODE: Emotion detection using Keras

In the previous blog, we discussed HOG for classification, in this blog we’ll try to develop an Emotion detection in an image. Kaggle has challege of Emotion detection. Let’s start by downloading the data from here, this data was related to Facial Expression Recognition Challenge of Kaggle. Following files downloaded : adc.json example_submission.csv fer2013.tar.gz Unzip the tar…
Read more


February 17, 2019 0

DAY 96-100 DAYS MLCODE: Classification using HOG

In the previous blog, we discussed HOG, in this blog we’ll try to see HOG in action. Let’s develop a classifier using HOG. Let’s download the faces from the Labeled Faces in the Wild dataset, which we can downloaded by Scikit-Learn: Now download some none face images. We can take input images, and extract thumbnails…
Read more


February 16, 2019 0

DAY 69-100 DAYS MLCODE: Classification using Keras

In the previous 67 blogs, we follow the book like Hands-on Machine Learning with Scikit-Learn and TensorFlow, in the blog, we’ll try to use Keras, A high-level API to implement the classic MNIST classification problem. Keras Keras is a high-level API to quickly build and train deep learning models. Keras is useful when you want…
Read more


January 18, 2019 0

DAY 67-100 DAYS MLCODE:Classification using FastAi

In the previous few blogs, we are discussing various RL examples, in this blog let’s try to use the FastAi library to perform the simple classification. First, let’s install the FastAi library. Since we are using the Google Colab, we can download the the kaggle json file from our private google drive using below code. Above code downloads…
Read more


January 16, 2019 0

DAY 48-100 DAYS MLCODE: RNN Example

In the previous blog , we discussed about RNN and simple example using TensorFlow. In this blog, we’ll try to predict the time series using RNN. First let’s generate a time series data. Generate a Time series data for equation y=sin(t)+ϵ Create a routine to generate the batch data using the time series equation Now…
Read more


December 28, 2018 0

DAY 47-100 DAYS MLCODE: Recurrent Neural Network

In the previous blog we discussed how to use the pre-trained model of CNN and in this blog, we’ll discuss the Recurrent Neural Network (RNN). Recurrent Neural Network Till 45th day we have discussed the networks are feed forward i.e. activation flows only in one direction from the input layer to output layer direction. Recurrent…
Read more


December 28, 2018 0

DAY 46-100 DAYS MLCODE: Classification using Inception V3

In the previous blog, we created a simple CNN model and tested using MNIST data, in this blog we’ll perform Classification using Inception V3 pre-trained model. We’ll download the Inception V3 pre-trained model from here. And use the name of the class from this file. You can find the detail about Inception V3 here. Architecture…
Read more


December 27, 2018 0

DAY 45-100 DAYS MLCODE: Convolutional Neural Networks (CNN)

In the previous blogs we have discussed the DNN and how to use pre-trained model for training, in this blog, we’ll discuss Convolutional Neural Networks ( CNN). As per the Wikipedia: In deep learning, a convolutional neural network (CNN, or ConvNet) is a class of deep neural networks, most commonly applied to analyzing visual imagery. Convolutional networks were inspired by biological processes[4] in that the…
Read more


December 25, 2018 0