Training a machine learning model with scikit-learn

Data School
Data School
223.6 هزار بار بازدید - 9 سال پیش - Now that we're familiar with
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: https://github.com/justmarkham/scikit...
Iris dataset: http://archive.ics.uci.edu/ml/dataset...
Nearest Neighbors user guide: http://scikit-learn.org/stable/module...
KNeighborsClassifier class documentation: http://scikit-learn.org/stable/module...
Logistic Regression user guide: http://scikit-learn.org/stable/module...
LogisticRegression class documentation: http://scikit-learn.org/stable/module...
Videos from An Introduction to Statistical Learning: https://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 Python with sciki...

2) SUBSCRIBE for more videos:
https://www.youtube.com/dataschool?su...

3) JOIN "Data School Insiders" to access bonus content:
Patreon: dataschool

4) ENROLL in my Machine Learning course:
https://www.dataschool.io/learn/

5) LET'S CONNECT!
- Newsletter: https://www.dataschool.io/subscribe/
- Twitter: Twitter: justmarkham
- Facebook: Facebook: DataScienceSchool
- LinkedIn: LinkedIn: justmarkham
9 سال پیش در تاریخ 1394/02/09 منتشر شده است.
223,622 بـار بازدید شده
... بیشتر