olpy.datasets
Datasets management module.
This module provides an interface to load some available datasets bundled with the OLPy package . Its main purpose is to allow for a quick access to the data in order to run some experiments. Available datasets include:
a1a
svmguide1
svmguide3
The original datasets are available on this link
Example
>>> from olpy import datasets
>>> from olpy.classifiers import IELLIP
>>> a1a = datasets.load_a1a()
>>> X_train, y_train = (a1a.train_data, a1a.train_target)
>>> model = IELLIP()
>>> model.fit(X_train, y_train)
Functions
"Loads the a1a dataset for usage in a program. |
|
"Loads the svmguide1 dataset for usage in a program. |
|
"Loads the svmguide3 dataset for usage in a program. |
Classes
A helper class to load various datasets. |