I’m hoping someone can help me with some explanation. I’ve been going through the Kaggle fundamentals missions and they’ve all been very interesting and well explained, however, there is now something I can’t understand.
In the Model Selection And Tuning mission, step 4 (Exploring Different K Values) we are told to use the Python range class to loop through odd values of K for the Titanic data set and see which one is more accurate. My problem is, why do we loop through 49 times? Is this an arbitrary number and if I had a completely different set, would it make sense I run through that 49 times? Is it specific to this data set because e.g. it has 49 features?
I did run shape to see how many columns all_X has in this instance and it says 37 so not sure where 49 is coming from!
Thanks for any help