Apply a function to each row of the samples matrix of a dataset.
The functor given as fx has to honour an axis keyword argument in the way that NumPy used it (e.g. NumPy.mean, var).
Returns : | a new `Dataset` object with the aggregated feature(s). : |
---|