juanshishido / okcupid

Analyzing online self-presentation
MIT License
5 stars 0 forks source link

nmf_labels #12

Closed matarhaller closed 8 years ago

matarhaller commented 8 years ago

in nonnegative_matrix_factorization.nmf_labels the function seems to be fitting the model twice, once with .fit and once with .fit_transform. I assume this is by accident?

juanshishido commented 8 years ago

Yes! This is probably redundant. Good find. I think we just need .fit_transform to get H, which we use to find group membership.