New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MRG+1] Take over PR #7647 - Add a "filename" attribute to datasets that have a CSV file #9101

Merged
merged 23 commits into from Dec 4, 2017
Commits
Jump to file or symbol
Failed to load files and symbols.
+12 −10
Diff settings

Always

Just for now

Viewing a subset of changes. View all

address PR comments about versioning information in docstring

  • Loading branch information...
alex-33 authored and maskani-moh committed Oct 17, 2016
commit 09144f542466a94eaecf112d42d68e992c55747f
Copy path View file
@@ -344,8 +344,8 @@ def load_iris(return_X_y=False):
'data', the data to learn, 'target', the classification labels,
'target_names', the meaning of the labels, 'feature_names', the
meaning of the features, 'DESCR', the
full description of the dataset, 'filename', the physical location of
iris csv dataset.
full description of the dataset, 'filename' (added in version 0.19),

This comment has been minimized.

@amueller

amueller Sep 21, 2017

Member

I would put the 0.20 (because 0.19 has been released) below in a separate ..versionchanged: section. That's easier to keep track of if someone is looking for changes, and usually it's irrelevant.

the physical location of iris csv dataset.
(data, target) : tuple if ``return_X_y`` is True
@@ -409,8 +409,8 @@ def load_breast_cancer(return_X_y=False):
'data', the data to learn, 'target', the classification labels,
'target_names', the meaning of the labels, 'feature_names', the
meaning of the features, and 'DESCR', the
full description of the dataset, 'filename', the physical location of
breast cancer csv dataset.
full description of the dataset, 'filename' (added in version 0.19),
the physical location of breast cancer csv dataset.
(data, target) : tuple if ``return_X_y`` is True
@@ -569,9 +569,9 @@ def load_diabetes(return_X_y=False):
data : Bunch
Dictionary-like object, the interesting attributes are:
'data', the data to learn, 'target', the regression target for each
sample, 'data_filename', the physical location of
diabetes data csv dataset, and 'target_filename', the physical location
of diabetes targets csv datataset.
sample, 'data_filename' (added in version 0.19), the physical location
of diabetes data csv dataset, and 'target_filename' (added in
version 0.19), the physical location of diabetes targets csv datataset.
(data, target) : tuple if ``return_X_y`` is True
@@ -620,8 +620,9 @@ def load_linnerud(return_X_y=False):
'targets', the two multivariate datasets, with 'data' corresponding to
the exercise and 'targets' corresponding to the physiological
measurements, as well as 'feature_names' and 'target_names'.
In addition, you will also have access to 'data_filename', the physical
location of linnerud data csv dataset, and 'target_filename', the
In addition, you will also have access to 'data_filename'
(added in version 0.19), the physical location of linnerud data csv
dataset, and 'target_filename' (added in version 0.19), the
physical location of linnerud targets csv datataset.
(data, target) : tuple if ``return_X_y`` is True
@@ -680,7 +681,8 @@ def load_boston(return_X_y=False):
Dictionary-like object, the interesting attributes are:
'data', the data to learn, 'target', the regression targets,
'DESCR', the full description of the dataset,
and 'filename', the physical location of boston csv dataset.
and 'filename' (added in version 0.19), the physical location
of boston csv dataset.
(data, target) : tuple if ``return_X_y`` is True
ProTip! Use n and p to navigate between commits in a pull request.