0
$\begingroup$

I am new to data science and don't have model building experience. I have a dataframe with 5000 rows and 10 columns. The target column takes 1/0 as values. One feature column is ZIP Code. I converted it to str and then did get dummies on it which added 467 columns. Now I ran grid search cv with knn, k ranging from 1 to 200. and cv value 10. But its taking forever(>1 hour) in my Jupyter notebook. How do I find out how much time it should take? Is converting ZIP code through get dummies a bad approach?

$\endgroup$
  • 1
    $\begingroup$ Try out different Classifiers. KNN with high values for K ist really slow. $\endgroup$ – fhaase Jul 14 '19 at 7:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.