# Standardizing (standardize)¶

Standardizes an observation sequence by transforming observations so that they have zero mean and unit variance.

For further information, please see the preprocessing tutorial notebook.

## Example¶

 1 2 3 4 5 6 7 8 import numpy as np from sequentia.preprocessing import standardize # Create some sample data X = [np.random.random((10 * i, 3)) for i in range(1, 4)] # Standardize the data X = standardize(X) 

## API reference¶

sequentia.preprocessing.standardize(X)[source]

Standardizes an observation sequence (or multiple sequences) by transforming observations so that they have zero mean and unit variance.

Parameters: X: numpy.ndarray or List[numpy.ndarray] An individual observation sequence or a list of multiple observation sequences. standardized: numpy.ndarray or List[numpy.ndarray] The standardized input observation sequence(s).