shannonca.embedders.SCAEmbedder

class shannonca.embedders.SCAEmbedder(scorer, connector=None, n_comps=50, iters=1)

Embedder that performs SCA on the input.

__init__(scorer, connector=None, n_comps=50, iters=1)

Constructor.

Parameters:
  • n_comps (int) – Number of Shannon components to compute

  • scorer (Scorer) – Scorer object used to generate scores from neighborhoods

  • connector (Connector | None) – Connector object used to generate neighborhoods of the input data. If None, you must provide neighborhoods when running embed.

  • iters (int) – Number of SCA iterations to run

Methods

__init__(scorer[, connector, n_comps, iters])

Constructor.

embed(X[, keep_scores, keep_loadings, ...])

Compute the SCA embedding