Advertisement
lamiastella

kmeans to reduce correlation

Oct 27th, 2019
367
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.73 KB | None | 0 0
  1. Init 1/10 with method: k-means++
  2. Inertia for init 1/10: 12542121.769302
  3. Init 2/10 with method: k-means++
  4. Inertia for init 2/10: 11740229.798550
  5. Init 3/10 with method: k-means++
  6. Inertia for init 3/10: 12157150.778708
  7. Init 4/10 with method: k-means++
  8. Inertia for init 4/10: 11899131.259979
  9. Init 5/10 with method: k-means++
  10. Inertia for init 5/10: 12038138.570107
  11. Init 6/10 with method: k-means++
  12. Inertia for init 6/10: 12327521.342839
  13. Init 7/10 with method: k-means++
  14. Inertia for init 7/10: 12361252.587329
  15. Init 8/10 with method: k-means++
  16. Inertia for init 8/10: 12644719.134577
  17. Init 9/10 with method: k-means++
  18. Inertia for init 9/10: 12794746.085108
  19. Init 10/10 with method: k-means++
  20. Inertia for init 10/10: 12793970.874149
  21. Minibatch iteration 1/1000: mean batch inertia: 213657.404042, ewa inertia: 213657.404042
  22. Minibatch iteration 2/1000: mean batch inertia: 218004.716296, ewa inertia: 218004.716296
  23. Minibatch iteration 3/1000: mean batch inertia: 228879.938393, ewa inertia: 228879.938393
  24. Minibatch iteration 4/1000: mean batch inertia: 233992.486953, ewa inertia: 233992.486953
  25. Minibatch iteration 5/1000: mean batch inertia: 220473.475531, ewa inertia: 220473.475531
  26. Minibatch iteration 6/1000: mean batch inertia: 198509.020382, ewa inertia: 198509.020382
  27. Minibatch iteration 7/1000: mean batch inertia: 207093.985388, ewa inertia: 207093.985388
  28. Minibatch iteration 8/1000: mean batch inertia: 197195.474417, ewa inertia: 197195.474417
  29. Minibatch iteration 9/1000: mean batch inertia: 200806.059252, ewa inertia: 200806.059252
  30. Minibatch iteration 10/1000: mean batch inertia: 222666.521049, ewa inertia: 222666.521049
  31. Minibatch iteration 11/1000: mean batch inertia: 214609.176010, ewa inertia: 214609.176010
  32. Minibatch iteration 12/1000: mean batch inertia: 213660.220273, ewa inertia: 213660.220273
  33. Minibatch iteration 13/1000: mean batch inertia: 208136.454492, ewa inertia: 208136.454492
  34. Minibatch iteration 14/1000: mean batch inertia: 197395.526083, ewa inertia: 197395.526083
  35. Minibatch iteration 15/1000: mean batch inertia: 216699.009770, ewa inertia: 216699.009770
  36. Minibatch iteration 16/1000: mean batch inertia: 228424.947527, ewa inertia: 228424.947527
  37. Minibatch iteration 17/1000: mean batch inertia: 202329.283123, ewa inertia: 202329.283123
  38. Minibatch iteration 18/1000: mean batch inertia: 221468.495273, ewa inertia: 221468.495273
  39. Converged (lack of improvement in inertia) at iteration 18/1000
  40. Computing label assignment and total inertia
  41.  
  42. KMeansSampler(batch_size=100, compute_labels=True, init='k-means++',
  43. init_size=None, max_iter=1000, max_no_improvement=10, n_clusters=10,
  44. n_init=10, random_state=None, reassignment_ratio=0.01, tol=0.0,
  45. verbose=True)
  46.  
  47. 1
  48.  
  49. kmeans.plot_centers(n_rows=2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement