fuzzyclust.timeseries.select_embedding_dimension#

fuzzyclust.timeseries.select_embedding_dimension(table, ratio_tol=1.2)[source]#

Read the embedding and the local dimension off an embedding_scan() table.

The embedding dimension \(d_e\) is the smallest dimension after which a further coordinate reduces the one-step test error by less than the factor ratio_tol (the paper compares the ratio of neighboring MSE values, e.g. 1.231 against 1.005). The local dimension \(d_l\) is one less than the dimension at which the prior-weighted smallest eigenvalue \(J^{d_e}\) drops most sharply (largest ratio \(J^{d-1}/J^{d}\)), because the clusters become flat once the embedding dimension exceeds the dimension of the manifold they approximate. The second criterion is reliable when the attractor lies close to a smooth low-dimensional manifold and only indicative for strongly fractal ones (then correlation_dimension() is the complement).

Parameters:
tablepandas.DataFrame

Output of embedding_scan() (dimensions must be consecutive).

ratio_tolfloat, default=1.2
Returns:
resultsklearn.utils.Bunch

embedding_dimension, local_dimension and the two criteria mse_ratio and eigenvalue_ratio as Series.

Examples using fuzzyclust.timeseries.select_embedding_dimension#

State-space reconstruction and prediction of a chaotic time series

State-space reconstruction and prediction of a chaotic time series