You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Per.Andreas.Brodtkorb df9e95f0b5 Added alternative version of scikits statsmodels 13 years ago
..
anes96 Added alternative version of scikits statsmodels 13 years ago
ccard Added alternative version of scikits statsmodels 13 years ago
committee Added alternative version of scikits statsmodels 13 years ago
copper Added alternative version of scikits statsmodels 13 years ago
cpunish Added alternative version of scikits statsmodels 13 years ago
grunfeld Added alternative version of scikits statsmodels 13 years ago
longley Added alternative version of scikits statsmodels 13 years ago
macrodata Added alternative version of scikits statsmodels 13 years ago
nile Added alternative version of scikits statsmodels 13 years ago
randhie Added alternative version of scikits statsmodels 13 years ago
scotland Added alternative version of scikits statsmodels 13 years ago
spector Added alternative version of scikits statsmodels 13 years ago
stackloss Added alternative version of scikits statsmodels 13 years ago
star98 Added alternative version of scikits statsmodels 13 years ago
strikes Added alternative version of scikits statsmodels 13 years ago
sunspots Added alternative version of scikits statsmodels 13 years ago
COPYING Added alternative version of scikits statsmodels 13 years ago
README.txt Added alternative version of scikits statsmodels 13 years ago
__init__.py Added alternative version of scikits statsmodels 13 years ago
template_data.py Added alternative version of scikits statsmodels 13 years ago

README.txt

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This README was copied from
http://projects.scipy.org/scikits/browser/trunk/learn/scikits/learn/datasets/
-----------------------------------------------------------------------------

Last Change: Tue Jul 17 04:00 PM 2007 J

This packages datasets defines a set of packages which contain datasets useful
for demo, examples, etc... This can be seen as an equivalent of the R dataset
package, but for python.

Each subdir is a python package, and should define the function load, returning
the corresponding data. For example, to access datasets data1, you should be able to do:

>> from datasets.data1 import load
>> d = load() # -> d contains the data of the datasets data1

load can do whatever it wants: fetching data from a file (python script, csv
file, etc...), from the internet, etc... Some special variables must be defined
for each package, containing a python string:
    - COPYRIGHT: copyright informations
    - SOURCE: where the data are coming from
    - DESCHOSRT: short description
    - DESCLONG: long description
    - NOTE: some notes on the datasets.

For the datasets to be useful in the learn scikits, which is the project which initiated this datasets package, the data returned by load has to be a dict with the following conventions:
    - 'data': this value should be a record array containing the actual data.
    - 'label': this value should be a rank 1 array of integers, contains the
      label index for each sample, that is label[i] should be the label index
      of data[i].
    - 'class': a record array such as class[i] is the class name. In other
      words, this makes the correspondance label index <> label name.