Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Pharo Datasets

CIMatrix

Datasets library is used to load datasets in Pharo. The datasets are loaded as DataFrame objects.

Installation

To install Datasets, go to the Playground (Ctrl+OW) in your Pharo image and execute the following Metacello script (select it and press Do-it button or Ctrl+D):

Metacello new
  baseline: 'AIDatasets';
  repository: 'github://pharo-ai/datasets';
  load.

If you want to depend on it

spec 
   baseline: 'AIDatasets' 
   with: [ spec repository: 'github://pharo-ai/datasets' ].

Usage

To load a dataset, using AIDatasets loadXYZ. For example:

AIDatasets loadBoston.
AIDatasets loadBreastCancer.
AIDatasets loadWine.
AIDatasets loadDiabetes.
AIDatasets loadDigits.
AIDatasets loadMnistTest.
AIDatasets loadIris.
AIDatasets loadOldFaithful.

Loading a new dataset involves downloading the CSV file into the data/ directory in the local folder of your image. Then the data is read from the file and returned to you as a DataFrame object.

About

Loading toy datasets in Pharo

Topics

Resources

License

Releases

No releases published

Packages

No packages published