From 796dcbce5c9513487c2607d96ad3dcbe68de3fa8 Mon Sep 17 00:00:00 2001 From: Gael varoquaux <gael.varoquaux@normalesup.org> Date: Sat, 30 Jul 2011 18:05:47 +0200 Subject: [PATCH] DOC: load_filenames -> load_files --- doc/datasets/twenty_newsgroups.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/datasets/twenty_newsgroups.rst b/doc/datasets/twenty_newsgroups.rst index e1116eeb54..13fd2f1955 100644 --- a/doc/datasets/twenty_newsgroups.rst +++ b/doc/datasets/twenty_newsgroups.rst @@ -24,8 +24,8 @@ The ``scikits.learn.datasets.fetch_20newsgroups`` function is a data fetching / caching functions that downloads the data archive from the original `20 newsgroups website`_, extracts the archive contents in the ``~/scikit_learn_data/20news_home`` folder and calls the -``scikits.learn.datasets.load_filenames`` on either the training or -testing set folder:: +``scikits.learn.datasets.load_file`` on either the training or +testing set folder, or both of them:: >>> from scikits.learn.datasets import fetch_20newsgroups >>> newsgroups_train = fetch_20newsgroups(subset='train') -- GitLab