Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KMeansCorrelationHeuristic: KMeans uses n_init=1
Default values of KMeans change in scikit-learn 1.4. I adapted a failing test (and code) for the new default. From the reference: When n_init='auto', the number of runs depends on the value of init: 10 if using init='random' or init is a callable; 1 if using init='k-means++' or init is an array-like. Changed in version 1.4: Default value for n_init will change from 10 to 'auto' in version 1.4.
- Loading branch information