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

Online clustering #22

Open
OlanaMi opened this issue Jul 26, 2016 · 5 comments
Open

Online clustering #22

OlanaMi opened this issue Jul 26, 2016 · 5 comments

Comments

@OlanaMi
Copy link

OlanaMi commented Jul 26, 2016

Hi,

thanks a lot for the work here!
Do you plan on adding support for online training? Similar to scikit's partial_fit()?

Best,
Olana

@nicodv
Copy link
Owner

nicodv commented Jul 27, 2016

Haven't given that any thought yet, but that would probably be a valuable addition.

@nicodv nicodv changed the title Online clustering? Online clustering Jul 27, 2016
@abunsen
Copy link

abunsen commented Sep 23, 2016

👍 on this!

@elmadj
Copy link

elmadj commented Aug 9, 2018

Great library !
Online learning would definitely be a great addition.

@elmadj
Copy link

elmadj commented Aug 10, 2018

@nicodv If I were to contribute to this feature, can you elaborate a little bit on why this is difficult ?

@nicodv
Copy link
Owner

nicodv commented Aug 10, 2018

@elmadj , we'd have to do something along the lines described here, where we add a partial_fit method: http://scikit-learn.org/stable/modules/scaling_strategies.html#incremental-learning

That would require a mini-batch implementation of k-modes, along the lines of scikit-learn's MiniBatchKMeans: https://github.com/scikit-learn/scikit-learn/blob/0.19.2/sklearn/cluster/k_means_.py#L1216

Seems to me quite a bit of work, but a worthwhile addition for sure.

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

No branches or pull requests

4 participants