Skip to content

Commit

Permalink
Update Part 1 - Introduction to Machine Learning with scikit-learn.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cfiutak1 authored Apr 2, 2019
1 parent 633be55 commit 054c011
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ from sklearn.datasets import load_digits
digits = load_digits()
```

To get a better sense of what we're working with, let's take a look at the attributes of `digits`. We can add the following line to our code to see the digit dataset's attributes:
To get a better sense of what we're working with, let's take a look at the attributes of `digits`. If we add the following line to our code, we can see that the digits dataset has 5 attributes - `DESCR`, `data`, `images`, `target`, and `target_names`.
```
print(dir(digits))
```
we can see that the digits dataset has 5 attributes - DESCR, data, images, target, and target_names.



##

If we want to know even more about the dataset, we can add
```
Expand Down

0 comments on commit 054c011

Please sign in to comment.