'Learn a NMF model for the data X.
Parameters
X : {array-like, sparse matrix}, shape (n_samples, n_features)
Data matrix to be decomposed
Returns
self'

def fit(self, X, y=None, **params):

    self.fit_transform(X, **params)
    return self
