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: machine learning
Understanding Q-learning algorithm with example using Python
Q-learning is a reinforcement learning technique in Machine learning used to answer the question “what action to take under what circumstances”. This model-free machine learning technique is used mainly in implementing any finite Markov Decision Process. The application of reinforcement learning technique can be found in traffic light control, robotics, recommendation system, gaming etc.
Before knowing Q-learning algorithm, let’s first understand the motivation behind this. What kind questions can be answered by Q-learning algorithm? Read more…
Difference between Regression and Classification in Machine Learning
In machine learning, both regression and classification are all about making a prediction. In regression, the model predicts a quantity or a numerical value. On the other hand, in classification, the model predicts a label.
Read more…
Difference between Classification and Clustering in Machine Learning
Classification
|
Clustering
|
|
What is it?
|
Given a set of historical/old data along with their class name and a set of new data, classification is the process of assigning each new data with class name that is obtained from the old/historical data.
|
Given a set of samples/data, clustering is the process of grouping the data based on their similarities and the patterns of the data.
|
Type of input data
|
Set of data with label/class name
|
Only the data set. No labeling is required.
|
Input
|
|
A set of samples
|