Now that we're familiar with the famous iris dataset, let's actually use a classification model in scikit-learn to predict the species of an iris! We'll learn how the K-nearest neighbors (KNN) model works, and then walk through the four steps for model training and prediction in scikit-learn. Finally, we'll see how easy it is to try out a different classification model, namely logistic regression.
Download the notebook: github.com/justmarkham/scikit...
Iris dataset: archive.ics.uci.edu/ml/dataset...
Nearest Neighbors user guide: scikit-learn.org/stable/module...
KNeighborsClassifier class documentation: scikit-learn.org/stable/module...
Logistic Regression user guide: scikit-learn.org/stable/module...
LogisticRegression class documentation: scikit-learn.org/stable/module...
Videos from An Introduction to Statistical Learning: www.dataschool.io/15-hours-of...
WANT TO GET BETTER AT MACHINE LEARNING? HERE ARE YOUR NEXT STEPS:
1) WATCH my scikit-learn video series:
• Machine learning in Py...
2) SUBSCRIBE for more videos:
ru-vid.com?su...
3) JOIN "Data School Insiders" to access bonus content:
/ dataschool
4) ENROLL in my Machine Learning course:
www.dataschool.io/learn/
5) LET'S CONNECT!
- Newsletter: www.dataschool.io/subscribe/
- Twitter: / justmarkham
- Facebook: / datascienceschool
- LinkedIn: / justmarkham
30 июл 2024