| In this problem statement, the target variables are discrete. |
In this problem statement, the target variables are continuous. |
| Problems like Spam Email Classification, Disease prediction like problems are solved using Classification Algorithms. |
Problems like House Price Prediction, Rainfall Prediction like problems are solved using regression Algorithms. |
| In this algorithm, we try to find the best possible decision boundary which can separate the two classes with the maximum possible separation. |
In this algorithm, we try to find the best-fit line which can represent the overall trend in the data. |
| Evaluation metrics like Precision, Recall, and F1-Score are used here to evaluate the performance of the classification algorithms. |
Evaluation metrics like Mean Squared Error, R2-Score, and MAPE are used here to evaluate the performance of the regression algorithms. |
| Here we face the problems like binary Classification or Multi-Class Classification problems. |
Here we face the problems like Linear Regression models as well as non-linear models. |
| Input Data are Independent variables and categorical dependent variable. |
Input Data are Independent variables and continuous dependent variable. |
|
The classification algorithm’s task mapping the input value of x with the discrete output variable of y.
|
The regression algorithm’s task is mapping input value (x) with continuous output variable (y).
|
| Output is Categorical labels. |
Output is Continuous numerical values. |
| Objective is to Predict categorical/class labels. |
Objective is to Predicting continuous numerical values. |
| Example use cases are Spam detection, image recognition, sentiment analysis |
Example use cases are Stock price prediction, house price prediction, demand forecasting. |
|
Examples of classification algorithms are:
Logistic Regression, Decision Trees, Random Forest, Support Vector Machines (SVM), K-Nearest Neighbors (K-NN), Naive Bayes, Neural Networks, K-Means Clustering, Multi-layer Perceptron (MLP), etc.
|
Examples of regression algorithms are:
Linear Regression, Polynomial Regression, Ridge Regression, Lasso Regression, Support Vector Regression (SVR), Decision Trees for Regression, Random Forest Regression, K-Nearest Neighbors (K-NN) Regression, Neural Networks for Regression, etc.
|