Bases: pybrain.datasets.supervised.SupervisedDataSet
Specialized data set for classification data. Classes are to be numbered from 0 to nb_classes-1.
Initialize an empty dataset.
inp is used to specify the dimensionality of the input. While the number of targets is given by implicitly by the training samples, it can also be set explicity by nb_classes. To give the classes names, supply an iterable of strings as class_labels.
Converts the target classes to a 1-of-k representation, retaining the old targets as a field class.
To supply specific bounds, set the bounds parameter, which consists of target values for non-membership and membership.
Bases: pybrain.datasets.sequential.SequentialDataSet, pybrain.datasets.classification.ClassificationDataSet
Defines a dataset for sequence classification. Each sample in the sequence still needs its own target value.
Initialize an empty dataset.
inp is used to specify the dimensionality of the input. While the number of targets is given by implicitly by the training samples, it can also be set explicity by nb_classes. To give the classes names, supply an iterable of strings as class_labels.