"Python Basics (2015)" was retired on June 22, 2018. You are now viewing the recommended replacement.
Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Machine Learning Basics!
You have completed Machine Learning Basics!
Before we can write a classifier, we need something to classify. That is, we need a dataset.
Resources
- Iris flower dataset | Wikipedia
- load_iris() | scikit-learn Documentation
- Treehouse Workshop: Introducing Text Editors
- Which Text Editor Should I Use? | Treehouse Blog
- A Beginnerβs Guide To The Windows Command Line
Python Code
from sklearn.datasets import load_iris
iris = load_iris()
print(list(iris.target_names))
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up