Back to Scikit Learn

30751.Fix

doc/whats_new/upcoming_changes/sklearn.cluster/30751.fix.rst

1.8.0370 B
Original Source
  • :class:cluster.MiniBatchKMeans now correctly handles sample weights during fitting. When sample weights are not None, mini-batch indices are created by sub-sampling with replacement using the normalized sample weights as probabilities. By :user:Shruti Nath <snath-xoc>, :user:Olivier Grisel <ogrisel>, and :user:Jeremie du Boisberranger <jeremiedbb>.