Home | Trees | Indices | Help |
|
---|
|
A Dataset which is created by applying a Mapper to the data.
Upon contruction MappedDataset uses a Mapper to transform the samples from their original into the two-dimensional matrix representation that is required by the Dataset class.
This class enhanced the Dataset interface with two additional methods: mapForward() and mapReverse(). Both take arbitrary data arrays (with matching shape) and transform them using the embedded mapper from the original dataspace into a one- or two-dimensional representation (for arrays corresponding to the shape of a single or multiple samples respectively) or vice versa.
Most likely, this class will not be used directly, but rather indirectly through one of its subclasses (e.g. MaskedDataset).
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
__doc__ = enhancedDocString('MappedDataset', locals(), Dataset)
|
|||
mapper = property(fget= lambda self: self._dsattr ['mapper'])
|
|||
samples_original = property(fget= mapSelfReverse, doc= "Return
|
|||
O = property(fget= mapSelfReverse, doc= "Return samples in the
|
|
samples and mapper arguments are not None the mapper is
used to forward-map the samples array and the result is passed
to the Dataset constructor.
|
Select features given their ids. The methods behaves similar to Dataset.selectFeatures(), but additionally takes care of adjusting the embedded mapper appropriately.
|
|
samples_original
|
O
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Apr 23 23:09:24 2012 | http://epydoc.sourceforge.net |