I wanted to have a slider for the plots in this project to see results with different k-values and features. So I’m trying out plotly for the first time and am impressed with it! It conveniently generates nice-looking plots and the interactive part is always fun!
I also converted columns like door numbers and cylinder numbers to numerical and used them as features. Can’t tell if it made a difference tho…
I’d love any feedback like always.
Happy coding!
Predicting Car Prices with K-earest Neighbor.ipynb (3.6 MB)
https://nbviewer.jupyter.org/github/VeeTsien/DataQuest-Projects/blob/master/Predicting%20Car%20Prices/Predicting%20Car%20Prices%20with%20K-earest%20Neighbor.ipynb
Click here to view the jupyter notebook file in a new tab