Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
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 up-
Francesco Gambardella
2,094 Points1 Answer
-
Ozaveshe Balogun
Front End Web Development Techdegree Student 20,459 PointsHi. i get this error each time i tried to run python ml.py. What am i doing wrong?
2 Answers
-
Luka Sarich
13,204 Points1 Answer
-
Routine Poutine
26,050 Points1 Answer
-
Mark Gudino
1,235 Points0 Answers
-
Paul Leslie
1,035 PointsHow do I find the location of my Machine Learning file? I can see it, but don't know how to type it out.
Posted by Paul LesliePaul Leslie
1,035 Points1 Answer
-
Simbarashe Chikaura
8,979 Points1 Answer
-
Arihant Tripathy
8,764 Points1 Answer
View all discussions for this video
Related 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