Skip to content

Instantly share code, notes, and snippets.

View nicofarr's full-sized avatar

Nicolas Farrugia nicofarr

  • IMT Atlantique (formerly Telecom Bretagne - LabSTICC)
  • Brest - France
View GitHub Profile
import numpy as np
from sklearn.decomposition import DictionaryLearning
nfeat = 20
X = np.random.random(nfeat)
X = X.reshape(1,-1)# otherwise sklearn complains
alpha = 1
n_comp = 4
Verifying that +nvf009 is my blockchain ID. https://onename.com/nvf009
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.