algorithms are used if there is a relationship between the input variable and the output variable. It is used for the prediction of continuous variables, such as Weather forecasting, Market Trends, etc. which one:
1-Regression
2-Classification
3-Supervised learning
4-unsupervised learning