athena.utils.Normalizer.fit_transform

Normalizer.fit_transform(inputs)[source]

Return corresponding points shifted and scaled to [-1, 1]^n_params.

Parameters

inputs (numpy.ndarray) – contains all input points to normalize. The shape is n_samples-by-n_params. The components of each row of inputs should be between self.lb and self.ub.

Returns

the normalized inputs. The components of each row should be between -1 and 1.

Return type

numpy.ndarray