Samples container that doesn’t store samples.
The purpose of this class is to provide an object that can be used as samples in a Dataset, without having actual samples. Instead of storing multiple samples it only maintains a IDs for samples and features it pretends to contain.
Using this class in a dataset in conjuction will actual attributes, will yield a lightweight dataset that is compatible with the majority of all mappers and can be used to ‘simulate’ processing by mappers. The class offers acces to the sample and feature IDs via its sid and fid members.
Methods
copy([deep]) | |
view() | Return itself |
Parameters: | shape : 2-tuple or None
sid : 1d-array or None
fid : 1d-array or None
dtype : type or str
|
---|
Methods
copy([deep]) | |
view() | Return itself |
Return itself