dasf.feature_extraction.transform
Classes
Concatenate data from different Arrays into a single array. |
|
Return a subset with random samples of the original dataset. |
|
Get a subcube with x% of samples from the original one. |
|
Get the first x% samples from the dataset. |
Module Contents
- class dasf.feature_extraction.transform.ConcatenateToArray(flatten=False)[source]
Bases:
dasf.transforms.base.Transform
Concatenate data from different Arrays into a single array.
Parameters
- flattenbool
If the arrays must be flatten prior concatenating. If False, the arrays must share the shape of last dimansions in order to be concatenated (the default is False).
- __transform_generic(xp, **kwargs)
- Parameters:
flatten (bool)
- class dasf.feature_extraction.transform.SampleDataframe(percent)[source]
Return a subset with random samples of the original dataset.
Parameters
- percentfloat
Percentage of the samples to get from the dataset.
- Parameters:
percent (float)