Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created May 9, 2021 12:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/a3b333f0bd394e384888255347814974 to your computer and use it in GitHub Desktop.
Save amankharwal/a3b333f0bd394e384888255347814974 to your computer and use it in GitHub Desktop.
from sklearn.decomposition import SparsePCA
from sklearn.datasets import load_digits
digits = load_digits()
print(digits.data.shape)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment