Can we also use KNN alogorithm instead for logistic regression

and which will of them will fast and more accurate?

Hey @rakshit20141970, no one can see and say in one go which algorithm will be best, Yes we use knn for any classification and regression problem. You need to split the data given to you in 80:20, train whichever model you need on 80% of data, and than check accuracy on remaining 20% data. And than decide which model is best.

Hope this resolved your doubt.
Plz mark the doubt as resolved in my doubts section. :blush:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.