standard_scaler#

gammapy.utils.cluster.standard_scaler(features)[source]#

Compute standardized features by removing the mean and scaling to unit variance.

Calculated through:

fscaled=fmean(f)std(f).
Parameters
featuresTable

Table containing the features.

Returns
scaled_featuresTable

Table containing the scaled features (dimensionless).