[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should mixture models have a clusterer-compatible interface #10336

Closed
jnothman opened this issue Dec 18, 2017 · 6 comments · Fixed by #11281
Closed

Should mixture models have a clusterer-compatible interface #10336

jnothman opened this issue Dec 18, 2017 · 6 comments · Fixed by #11281

Comments

@jnothman
Copy link
Member

Mixture models are currently a bit different. They are basically clusterers, except they are probabilistic, and are applied to inductive problems unlike many clusterers. But they are unlike clusterers in API:

  • they have an n_components parameter, with identical purpose to n_clusters
  • they do not store the labels_ of the training data
  • they do not have a fit_predict method

And they are almost entirely documented separately.

Should we make the MMs more like clusterers?

@spinicist
Copy link

In my opinion, yes.

I wanted to compare K-Means, GMM and HDBSCAN and was very disappointed that GMM does not have a fit_predict method. The HDBSCAN examples use fit_predict, so I was expecting GMM to have the same interface.

@amueller
Copy link
Member

I think we should add fit_predict at least. I wouldn't rename n_components.

@Eight1911
Copy link

I would like to work on this!

@amueller
Copy link
Member

@Eight1911 go for it. It is probably relatively simple but maybe not entirely trivial.

@g-walsh
Copy link
Contributor
g-walsh commented Jun 15, 2018

@Eight1911 Mind if I take a look at this?

@haoranShu
Copy link
Contributor

@Eight1911 Do you mind if I jump in as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants