So using k didn't work?! uh oh. That is a bug! Looks like one more for a 0.12.1 :-(
----- Ursprüngliche Mail ----- Von: "denis" <[email protected]> An: [email protected] Gesendet: Montag, 10. September 2012 11:11:34 Betreff: [Scikit-learn-general] MiniBatchKMeans 10 classes: n_clusters= not k= Olivier +1 Olivier, +1, I had k= instead of n_clusters= -- drew a warning but not the same :( Fwiw, for seed in range(5): mbkm = MiniBatchKMeans( 10, random_state=seed, verbose=1 ).fit(digits.data) --> seed 0: clusters [294 205 194 188 185 184 178 165 117 87] seed 1: clusters [280 203 185 181 177 174 170 150 147 130] seed 2: clusters [288 220 201 183 179 165 158 149 136 118] seed 3: clusters [342 229 204 178 176 168 153 148 108 91] seed 4: clusters [398 197 187 178 178 171 165 125 107 91] shows how poor kmeans is here; is it good anywhere ? cheers -- denis (Dumb question, what newsreader / list can I use to stay in threads ?) On 10/09/2012 11:22, Olivier Grisel wrote: > The fact that the effectively returned number 8 is not the requested > value (10 in this case) sounds like a bug to me. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
