Machine Learning is training a model to understand the dataset and help us to find the hidden trends and information from our dataset. When it comes to machine learning, there are three main types.
- Supervised Machine Learning
- Unsupervised Machine Learning
- Reinforcement Learning
In this lesson, we will discuss supervised learning and will continue with the other types in our upcoming lessons.
What is Supervised Learning?
Supervised Machine Learning is a type of learning that needs a labeled dataset. A labeled dataset is data where we have a target column specified. Examples of labeled datasets include data about house prices, stock markets, temperature, etc. In other words, when we know exactly what the prediction of the model should be, we can use supervised machine learning.
In the case of supervised machine learning, we will simply give the input values and the target column to the model for the training. The training of supervised machine learning is the process when the model will try to find the relation between the input datasets and the target columns and use this relation later to make predictions.
Types of Supervised Machine Learning
Supervised Machine Learning has two main types.
- Classification
- Regression
We use the classification models when the data is a classification dataset. A classification dataset is a dataset that has categorical values in the target column. Examples of classification datasets include t-shirt sizes, grades of students, gender, etc.
On the other hand, regression models are applied to a regression dataset. A dataset that has continuous values in the target column is known as a regression dataset. Examples of regression datasets include temperature, stock market, house price, age, etc.
In the upcoming lessons, we will discuss various models from each of these sections.
Classification Models
- KNN
- Logistic Regression
- SVM
- Naive Bayes
Regression Models
- Linear Regression
- Extra Tree Regressors
Models for Both Classification and Regression
- Decision Trees
- Random Forest
- XGboost
- LightGBM
- CatBoost
- AdaBoost
Let us now go through the implementation of each of these models.