$30 off During Our Annual Pro Sale. View Details »

Python ではじめる辞書学習 #1

Hacarus Inc.
February 16, 2018

Python ではじめる辞書学習 #1

Presentation slides at Hannnari Python #3
https://hannari-python.connpass.com/event/77366/

Hacarus Inc.

February 16, 2018
Tweet

More Decks by Hacarus Inc.

Other Decks in Technology

Transcript

  1. 1$" # run PCA from sklearn.decomposition import PCA pca =

    PCA(n_components=n_components, svd_solver='randomized’, whiten=True) pca.fit(X_train) # reconstruct original space code = pca.transform(sample.reshape(1, -1)) reconstructed = pca.inverse_transform(code)
  2. *$" # run ICA from sklearn.decomposition import FastPCA ica =

    FastICA(n_components=n_components, whiten=True) ica.fit(X_train) # reconstruct original space code = ica.transform(sample.reshape(1, -1)) reconstructed = ica.inverse_transform(code)
  3. /.' # run NMF from sklearn.decomposition import NMF nmf =

    NMF(n_components=n_components) W = nmf.fit_transform(X_train) H = nmf.components_ # reconstruct original image code = nmf.transform(sample.reshape(1, -1)) reconstructed = nmf.inverse_transform(code)
  4. উखʹ ࣍ճ༧ࠂ • 1Z$PO 1)Ϩϙʔτ • དྷि  ౔ ɺ

    ೔ ϚχϥͰ։࠵ • ฐࣾϑΟϦϐϯͷΤϯδχΞ͕ొஃ • IUUQTQZDPOQZUIPOQI • ࣍ճ͸ΜͳΓ 1ZUIPOʹࢀՃͰ͖Δ ͔΋