Package Info

ghc-datasets


Classical data sets for statistics and machine learning


Development/Languages/Other

Classical machine learning and statistics datasets from the UCI Machine Learning Repository and other sources.

The datasets package defines two different kinds of datasets:

  • small data sets which are directly (or indirectly with file-embed) embedded

in the package as pure values and do not require network or IO to download the data set. This includes Iris, Anscombe and OldFaithful.

  • other data sets which need to be fetched over the network with

Numeric.Datasets.getDataset and are cached in a local temporary directory.

> import Numeric.Datasets (getDataset) > import Numeric.Datasets.Iris (iris) > import Numeric.Datasets.Abalone (abalone) > > main = do > -- The Iris data set is embedded > print (length iris) > print (head iris) > -- The Abalone dataset is fetched > abas <- getDataset abalone > print (length abas) > print (head abas).


License: MIT
URL: https://hackage.haskell.org/package/datasets

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.2.1-bp150.2.4 info GA Release 2018-07-31 15
  • AArch64
  • ppc64le
  • ghc-datasets
  • ghc-datasets-devel
0.2.1-bp150.2.7 info GA Release 2018-07-30 15
  • x86-64
  • ghc-datasets
  • ghc-datasets-devel