carat.clustering.manifold_learning

carat.clustering.manifold_learning(data, method='isomap', n_neighbors=7, n_components=3)[source]

Manifold learning for dimensionality reduction of rhythmic patterns data.

Based on the dimensionality reduction for rhythmic patterns introduced in [1].

[1] Rocamora, Jure, Biscainho
“Tools for detection and classification of piano drum patterns from candombe recordings.” 9th Conference on Interdisciplinary Musicology (CIM), Berlin, Germany. 2014.
Args:
  • data (numpy array): feature map
  • n_neighbors (int): number of neighbors for each dat point
  • n_components (int): number of coordinates for the manifold
Returns:
  • embedding(numpy array): lower-dimensional embedding of the data
Raises: