In Case of my Untimely Demise

I just finished a book of poetry! Before I do the whole submit, sweat, pray thing, I thought I’d take a minute to pat myself on the back. My collection is called In Case of my Untimely Demise. The…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Handwritten Digits Prediction Analysis

A Brief Analysis of the Handwritten digits prediction results.

In this notebook I have performed the analysis of Digits recognition accuracy, the dataset used in this notebook comes inbuilt with the scikit-learn library so it needs not to be downloaded.

The Digits data set of the scikit-learn library provides numerous data-sets that are useful for testing many problems of data analysis and prediction of the results. Some Scientist claims that it predicts the digit accurately 95% of the times. Perform data Analysis to accept or reject this Hypothesis

We can see that our dataset has 1797 images and all the images are 8x8 in dimension.

We have 1797 labels for our target that contains values from 0 to 9.

png

Lets split our data so it can be used for training our model and later for testing purpose.

Let’s see our train data a bit.

Making individual predictions.

Making random digits predictions.

Let’s visualize some of the results of the dataset.

png

Making predictions on the entire dataset

Our model has an accuracy of around 97% which is quite good.

Add a comment

Related posts:

Open access vs Paid access in scientific publishing

To the aspiring scientists and researchers getting access to published papers, simplistically, relied on the institution where they worked. Who cared who paid for it, right? Well! As we all know…

The Benefits of Being a Dog Walker in New York City

People come to New York City for all kinds of reasons. There are constantly people pouring into the city pursuing careers of being actors, designers and restauranteurs. As people pour in, they bring…

On values and work burnout

Going through a burnout experience is like seeing a dark/sad episode of your life from outside. The sense of hopelessness and powerless that prevents you from doing anything to change the…