Skip to content

Instantly share code, notes, and snippets.

Created Jun 4, 2021
What would you like to do?
from sklearn.datasets import load_iris
from sklearn.decomposition import NMF
data = load_iris()
nmf = NMF(n_components=3, init='random', l1_ratio=0.1)
x = nmf.fit_transform(
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment