fuzzyclust.preprocessing#

Data preparation helpers.

Scaling is intentionally not part of the clustering estimators: use sklearn.preprocessing.StandardScaler / MinMaxScaler in a sklearn.pipeline.Pipeline. The functions here reproduce the MATLAB toolbox conveniences (clust_normalize / clust_denormalize) and build regression matrices for dynamic-system identification.

Scaling and regressor construction.

Functions#

normalize(X[, method])

Scale the data and return the scaler for inverse transformation.

make_regressors(y[, u, n_a, n_b, n_k])

Regression matrix and target of a NARX model

lagged_matrix(x, lags[, include_current])

Delay-embedding of a univariate series.