nicodv / kmodes

Python implementations of the k-modes and k-prototypes clustering algorithms, for clustering categorical data
MIT License
1.24k stars 417 forks source link

Change default initialization for parameter 'n_init' to match documentation #167

Closed jackhurwitz closed 2 years ago

jackhurwitz commented 2 years ago

The documentation says that the default value for n_init should be 10, however it is initialized as 1.

nicodv commented 2 years ago

LGTM. This is also more in line with sklearn.

Thank you, @j-hurwitz !