What regression technique shoud be applied in this scenario:
A person buys grocery from grocery store ,suppose he bought 1kg apples on 20 Sept , 3 Kg apples on 22Sept , 1Kg on 23 Sept and 5 KG apples on 27thSept . Now today is 28Th september , I need to predict whether he will buy apples today or not ,and if yess then how mane?"
Regression Type
Hey Ayush,
Here you are merging both classification as well as regression task. When you are saying how many apples that is a regression part i.e. to predict the continuous outcome, and when you are saying whether he will buy or not, this is a classification part, (binary classification). And according to the data you given it is only possible to predict a continuous value with this.
If you want to predict whether he will buy or not you should have data where y values should either Yes/No.
But for now, this data is only applicable for regression problem.
Hope this clears you doubt.
Thanks