This is another post on Q-learning reinforcement algorithm. Here we will understand and implement the Knight & Princess problem from the scratch using Python language, where the Knight need to move to the place of Princess ignoring the enemies on its way. In this post I have not used any third party library such as gym. Read more…
Tag: Python
Installing packages (Python, R and Scala) with Anaconda.
Anaconda makes the package management of Python, R and Scala very easy. For this, you need to have Anaconda-navigator package installed in your computer. Read more…
Basic Panda’s functions for dataset manipulation in Python
Handling a small amount of data is not a big deal. But how about if somebody gives you a large volume of data to reorganize. Data can be census data of all the countries, it can be astronomical data, or can be a large volume of medical image data which can have the size of around a few terabytes. For this Panda can be one of the most suitable option. it has the broader goal of becoming the most powerful and flexible open source data analysis/manipulation tool available in any language. Here are some of the most basic commands that you can use while handling your large dataset. Continue reading….
Classification using Naive Bayes Algorithm using Python
Data Classification mainly refers to a way of organizing/categorizing the data by assigning a label/class to a set of data. For example, from the age, we can the class Infants, children, adolescents, adult, or older adult to a person. It is very easy to classify if the data is very small or the feature set (here it is only the age of the person) is very small. What will happen, if the amount of data is very large? We can use different ML algorithms to perform the classification task on a large dataset with hundreds of the features. In this post, we will learn how to classify a set of data using the popular supervised Naive Bayes algorithm using Python language. Continue reading…