Handwritten Digit Recognition through Machine Learning

I did a project to classify handwritten digits using machine learning in Python, almost an year back. I used Python’s Scikit Learn library, along with Pandas, and Numpy on an open data set, to read and classify handwritten digits. I used K Nearest neighbors and Decision Trees, and GridSearchCV to achieve an accuracy of 92.5%. …

Django Reverse Query through ManyToManyField

This posts explains querying Django models with ManyToManyField relationships.  let’s say we have the following two models for Country and News: models.py class Country(models.Model): country = models.CharField(max_length=100) continent = models.CharField(max_length=100) class Meta: ordering = (‘country’,) # helps in alphabetical listing. Sould be a tuple def __str__(self): return self.country+” : “+self.continent class News(models.Model): news_title = models.CharField(max_length=200) news_link …

Installing Django in Windows through a virtual environment

In this post, I have outline important steps of installing Django framework on Windows 10, using Python 3.5. I have used the command line prompt to create a virtual environment, and installed Django in the same.   1) Go to the directory via command prompt Microsoft Windows [Version 10.0.15063] (c) 2017 Microsoft Corporation. All rights reserved. …

Site appearance for a search query in Google

This post is only for educational and non-commercial purposes. Many times, we have to check check how our website ranks for a particular query in Google/Yahoo/Bing. Ideally, we should be there on the first page. But if we are competing against established websites, on a general and competitive query, then we might come on the first page as …