Ejemplo n.º 1
0
def dimension_afn(x):
    _embedding = Embedding(x)

    dim = np.arange(1, 20 + 2)
    E, Es = _embedding.afn(x, tau=138, dim=dim, window=45, metric='chebyshev')
    E1, E2 = E[1:] / E[:-1], Es[1:] / Es[:-1]
    _embedding.plot_afn(dim, E1, E2)