Data Transformers¶
Data transformers apply transformations to data. Note that the transformations are limited to simple, inplace operations that do not change the shape of the data. If more complicated transformations like random projection or feature mapping are needed, consider using a data transformation layer instead.

class
DataTransformers.
SubMean
¶ Subtract mean from the data. The transformer does not have enough information to compute the data mean, thus the mean should be computed in advance.

mean_blob
¶ Default
NullBlob()
. A blob containing the mean.

mean_file
¶ Default
""
. Whenmean_blob
is aNullBlob
, this can be used to specify a HDF5 file containing the mean. The mean should be stored with the namemean
in the HDF5 file.
