multispaeti.MultispatiPCA.fit

MultispatiPCA.fit(X, y=None)

Fit MULTISPATI-PCA projection.

Parameters:
  • X (ndarray or csr_array or csc_array) – Array of observations x features.

  • y (None) – Ignored. scikit-learn compatibility only.

Raises:

ValueError – If X does not have the same number of rows as connectivity. If n_components has the wrong type or is negative. If connectivity is not a square matrix.