Skip to content

Commit

Permalink
Updated README example to load demo dataset (#1151)
Browse files Browse the repository at this point in the history
* Updated README example to include demo dataset

* Updated changelog
  • Loading branch information
christopherbunn committed Sep 10, 2020
1 parent d5902c8 commit 3ba9f8d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ pip install evalml

## Start

#### Load and split example data
```python
import evalml
X, y = evalml.demos.load_breast_cancer()
X_train, X_test, y_train, y_test = evalml.preprocessing.split_data(X, y)
```

#### Run AutoML
```python
from evalml.automl import AutoMLSearch
Expand Down
1 change: 1 addition & 0 deletions docs/source/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Release Notes
* Documentation Changes
* Fixed API docs for `AutoMLSearch` `add_result_callback` :pr:`1113`
* Added a step to our release process for pushing our latest version to conda-forge :pr:`1118`
* Updated README.md example to load demo dataset :pr:`1151`
* Testing Changes
* Added test confirming `TextFeaturizer` never outputs null values :pr:`1122`
* Changed Python version of `Update Dependencies` action to 3.8.x :pr:`1137`
Expand Down

0 comments on commit 3ba9f8d

Please sign in to comment.