MinusOneToOne

class aixd.data.normalization.MinusOneToOne(per_column=True)[source]

Bases: ZeroToOne

Implements the minus-one-to-one normalization as 2 * (((x - min) / (max - min)) - 0.5).

Parameters:

per_column (bool) – If set normalization is performed per column for multi-dim DataObjects.

Methods

normalize

Normalizes the input.

unnormalize

Un-normalizes the input.

Inherited Methods

copy

Copies the normalization.

fit

Computes minus term and divisor term.

fit_minus_div_term

fit_normalize

Fits and normalizes.

is_fitted

Returns true if normalization strategy is fitted.

reset

Method to reset fitted values.