Skip to content

Commit

Permalink
Text chapter: load_files renamed load_filenames
Browse files Browse the repository at this point in the history
Name was changed in scikit-learn commit 5b806e
  • Loading branch information
larsmans committed May 19, 2011
1 parent e59e8b9 commit 54361ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tutorial/working_with_text_data.rst
Expand Up @@ -47,8 +47,8 @@ categories out of the 20 available in the dataset::

We can now load the list of files matching those categories as follows::

>>> from scikits.learn.datasets import load_files
>>> twenty_train = load_files('data/twenty_newsgroups/20news-bydate-train',
>>> from scikits.learn.datasets import load_filenames
>>> twenty_train = load_filenames('data/twenty_newsgroups/20news-bydate-train',
... categories=categories)


Expand Down

0 comments on commit 54361ad

Please sign in to comment.