October 6 2025 6:02:55.822 PM cluster_energy(): Fortran90 version Compute the cluster energy of a set of points. Enter spatial dimension DIM_NUM The region is assumed to be an interval [A,B], or a rectangle [A(1),B(1)] x [A(2),B(2)], or a generalized box, described by lower and upper bounds. Enter all the lower bounds for the region, then the upper bounds: The program will place data points in the region. Enter the number of data points POINT_NUM The data points can be randomly or regularly placed. Enter 1 for uniform random data, 2 for uniform grid For a given number of clusters, the program seeks the minimal energy. Usually, we do this calculation for a range of clusters, and tabulate their energy. Enter the lower and upper number of clusters To seek the minimal energy, the program carries out an iteration. Usually, we specify lower and upper limits for the number of iterations. Enter the lower and upper number of energy iterations INPUT_CHECK - The input data passed all checks. INPUT_PRINT: Number of spatial dimensions = 2 Lower and upper region bounds: 0.000000 1.000000 0.000000 1.000000 Number of data points = 25 Lowest number of clusters = 1 Highest number of clusters = 10 Least number of energy iterations = 10 Most number of energy iterations = 20 Data points will be uniform random values. Number of clusters = 1 Initial energy = 4.92442 1 25 0.6190 0.7424 Energy with old centers, new clusters = 4.92442 Energy with new centers, new clusters = 3.85373 1 25 0.6190 0.7424 0.4938 0.5776 Energy with old centers, new clusters = 3.85373 Energy with new centers, new clusters = 3.85373 1 25 0.4938 0.5776 0.4938 0.5776 Energy with old centers, new clusters = 3.85373 Energy with new centers, new clusters = 3.85373 1 25 0.4938 0.5776 0.4938 0.5776 Energy with old centers, new clusters = 3.85373 Energy with new centers, new clusters = 3.85373 1 25 0.4938 0.5776 0.4938 0.5776 Energy with old centers, new clusters = 3.85373 Energy with new centers, new clusters = 3.85373 1 25 0.4938 0.5776 0.4938 0.5776 Energy with old centers, new clusters = 3.85373 Energy with new centers, new clusters = 3.85373 1 25 0.4938 0.5776 0.4938 0.5776 Energy with old centers, new clusters = 3.85373 Energy with new centers, new clusters = 3.85373 1 25 0.4938 0.5776 0.4938 0.5776 Energy with old centers, new clusters = 3.85373 Energy with new centers, new clusters = 3.85373 1 25 0.4938 0.5776 0.4938 0.5776 Energy with old centers, new clusters = 3.85373 Energy with new centers, new clusters = 3.85373 1 25 0.4938 0.5776 0.4938 0.5776 Energy with old centers, new clusters = 3.85373 Energy with new centers, new clusters = 3.85373 1 25 0.4938 0.5776 0.4938 0.5776 Energy with old centers, new clusters = 3.85373 Energy with new centers, new clusters = 3.85373 1 25 0.4938 0.5776 0.4938 0.5776 Energy with old centers, new clusters = 3.85373 Energy with new centers, new clusters = 3.85373 1 25 0.4938 0.5776 0.4938 0.5776 Energy with old centers, new clusters = 3.85373 Energy with new centers, new clusters = 3.85373 1 25 0.4938 0.5776 0.4938 0.5776 Energy with old centers, new clusters = 3.85373 Energy with new centers, new clusters = 3.85373 1 25 0.4938 0.5776 0.4938 0.5776 Energy with old centers, new clusters = 3.85373 Energy with new centers, new clusters = 3.85373 1 25 0.4938 0.5776 0.4938 0.5776 Energy with old centers, new clusters = 3.85373 Energy with new centers, new clusters = 3.85373 1 25 0.4938 0.5776 0.4938 0.5776 Energy with old centers, new clusters = 3.85373 Energy with new centers, new clusters = 3.85373 1 25 0.4938 0.5776 0.4938 0.5776 Energy with old centers, new clusters = 3.85373 Energy with new centers, new clusters = 3.85373 1 25 0.4938 0.5776 0.4938 0.5776 Energy with old centers, new clusters = 3.85373 Energy with new centers, new clusters = 3.85373 1 25 0.4938 0.5776 0.4938 0.5776 Energy with old centers, new clusters = 3.85373 Energy with new centers, new clusters = 3.85373 1 25 0.4938 0.5776 0.4938 0.5776 Number of clusters = 2 Initial energy = 5.85008 1 14 0.5010 0.8199 2 11 0.2081 0.4468 Energy with old centers, new clusters = 2.80904 Energy with new centers, new clusters = 2.17004 1 12 0.5010 0.8199 0.6931 0.7599 2 13 0.2081 0.4468 0.3099 0.4093 Energy with old centers, new clusters = 2.11243 Energy with new centers, new clusters = 2.09465 1 11 0.6931 0.7599 0.7258 0.7666 2 14 0.3099 0.4093 0.3115 0.4291 Energy with old centers, new clusters = 2.09465 Energy with new centers, new clusters = 2.09465 1 11 0.7258 0.7666 0.7258 0.7666 2 14 0.3115 0.4291 0.3115 0.4291 Energy with old centers, new clusters = 2.09465 Energy with new centers, new clusters = 2.09465 1 11 0.7258 0.7666 0.7258 0.7666 2 14 0.3115 0.4291 0.3115 0.4291 Energy with old centers, new clusters = 2.09465 Energy with new centers, new clusters = 2.09465 1 11 0.7258 0.7666 0.7258 0.7666 2 14 0.3115 0.4291 0.3115 0.4291 Energy with old centers, new clusters = 2.09465 Energy with new centers, new clusters = 2.09465 1 11 0.7258 0.7666 0.7258 0.7666 2 14 0.3115 0.4291 0.3115 0.4291 Energy with old centers, new clusters = 2.09465 Energy with new centers, new clusters = 2.09465 1 11 0.7258 0.7666 0.7258 0.7666 2 14 0.3115 0.4291 0.3115 0.4291 Energy with old centers, new clusters = 2.09465 Energy with new centers, new clusters = 2.09465 1 11 0.7258 0.7666 0.7258 0.7666 2 14 0.3115 0.4291 0.3115 0.4291 Energy with old centers, new clusters = 2.09465 Energy with new centers, new clusters = 2.09465 1 11 0.7258 0.7666 0.7258 0.7666 2 14 0.3115 0.4291 0.3115 0.4291 Energy with old centers, new clusters = 2.09465 Energy with new centers, new clusters = 2.09465 1 11 0.7258 0.7666 0.7258 0.7666 2 14 0.3115 0.4291 0.3115 0.4291 Energy with old centers, new clusters = 2.09465 Energy with new centers, new clusters = 2.09465 1 11 0.7258 0.7666 0.7258 0.7666 2 14 0.3115 0.4291 0.3115 0.4291 Energy with old centers, new clusters = 2.09465 Energy with new centers, new clusters = 2.09465 1 11 0.7258 0.7666 0.7258 0.7666 2 14 0.3115 0.4291 0.3115 0.4291 Energy with old centers, new clusters = 2.09465 Energy with new centers, new clusters = 2.09465 1 11 0.7258 0.7666 0.7258 0.7666 2 14 0.3115 0.4291 0.3115 0.4291 Energy with old centers, new clusters = 2.09465 Energy with new centers, new clusters = 2.09465 1 11 0.7258 0.7666 0.7258 0.7666 2 14 0.3115 0.4291 0.3115 0.4291 Energy with old centers, new clusters = 2.09465 Energy with new centers, new clusters = 2.09465 1 11 0.7258 0.7666 0.7258 0.7666 2 14 0.3115 0.4291 0.3115 0.4291 Energy with old centers, new clusters = 2.09465 Energy with new centers, new clusters = 2.09465 1 11 0.7258 0.7666 0.7258 0.7666 2 14 0.3115 0.4291 0.3115 0.4291 Energy with old centers, new clusters = 2.09465 Energy with new centers, new clusters = 2.09465 1 11 0.7258 0.7666 0.7258 0.7666 2 14 0.3115 0.4291 0.3115 0.4291 Energy with old centers, new clusters = 2.09465 Energy with new centers, new clusters = 2.09465 1 11 0.7258 0.7666 0.7258 0.7666 2 14 0.3115 0.4291 0.3115 0.4291 Energy with old centers, new clusters = 2.09465 Energy with new centers, new clusters = 2.09465 1 11 0.7258 0.7666 0.7258 0.7666 2 14 0.3115 0.4291 0.3115 0.4291 Energy with old centers, new clusters = 2.09465 Energy with new centers, new clusters = 2.09465 1 11 0.7258 0.7666 0.7258 0.7666 2 14 0.3115 0.4291 0.3115 0.4291 Number of clusters = 3 Initial energy = 11.1992 1 11 0.1223 0.0949 2 6 0.9020 0.1202 3 8 0.3634 0.9080 Energy with old centers, new clusters = 2.89150 Energy with new centers, new clusters = 1.74497 1 6 0.1223 0.0949 0.2464 0.2916 2 3 0.9020 0.1202 0.8729 0.2386 3 16 0.3634 0.9080 0.5155 0.7484 Energy with old centers, new clusters = 1.66140 Energy with new centers, new clusters = 1.58042 1 8 0.2464 0.2916 0.2336 0.3646 2 3 0.8729 0.2386 0.8729 0.2386 3 14 0.5155 0.7484 0.5613 0.7720 Energy with old centers, new clusters = 1.46316 Energy with new centers, new clusters = 1.30527 1 10 0.2336 0.3646 0.1997 0.4446 2 3 0.8729 0.2386 0.8729 0.2386 3 12 0.5613 0.7720 0.6441 0.7733 Energy with old centers, new clusters = 1.23359 Energy with new centers, new clusters = 1.17225 1 12 0.1997 0.4446 0.2257 0.4778 2 3 0.8729 0.2386 0.8729 0.2386 3 10 0.6441 0.7733 0.7018 0.7991 Energy with old centers, new clusters = 1.17225 Energy with new centers, new clusters = 1.17225 1 12 0.2257 0.4778 0.2257 0.4778 2 3 0.8729 0.2386 0.8729 0.2386 3 10 0.7018 0.7991 0.7018 0.7991 Energy with old centers, new clusters = 1.17225 Energy with new centers, new clusters = 1.17225 1 12 0.2257 0.4778 0.2257 0.4778 2 3 0.8729 0.2386 0.8729 0.2386 3 10 0.7018 0.7991 0.7018 0.7991 Energy with old centers, new clusters = 1.17225 Energy with new centers, new clusters = 1.17225 1 12 0.2257 0.4778 0.2257 0.4778 2 3 0.8729 0.2386 0.8729 0.2386 3 10 0.7018 0.7991 0.7018 0.7991 Energy with old centers, new clusters = 1.17225 Energy with new centers, new clusters = 1.17225 1 12 0.2257 0.4778 0.2257 0.4778 2 3 0.8729 0.2386 0.8729 0.2386 3 10 0.7018 0.7991 0.7018 0.7991 Energy with old centers, new clusters = 1.17225 Energy with new centers, new clusters = 1.17225 1 12 0.2257 0.4778 0.2257 0.4778 2 3 0.8729 0.2386 0.8729 0.2386 3 10 0.7018 0.7991 0.7018 0.7991 Energy with old centers, new clusters = 1.17225 Energy with new centers, new clusters = 1.17225 1 12 0.2257 0.4778 0.2257 0.4778 2 3 0.8729 0.2386 0.8729 0.2386 3 10 0.7018 0.7991 0.7018 0.7991 Energy with old centers, new clusters = 1.17225 Energy with new centers, new clusters = 1.17225 1 12 0.2257 0.4778 0.2257 0.4778 2 3 0.8729 0.2386 0.8729 0.2386 3 10 0.7018 0.7991 0.7018 0.7991 Energy with old centers, new clusters = 1.17225 Energy with new centers, new clusters = 1.17225 1 12 0.2257 0.4778 0.2257 0.4778 2 3 0.8729 0.2386 0.8729 0.2386 3 10 0.7018 0.7991 0.7018 0.7991 Energy with old centers, new clusters = 1.17225 Energy with new centers, new clusters = 1.17225 1 12 0.2257 0.4778 0.2257 0.4778 2 3 0.8729 0.2386 0.8729 0.2386 3 10 0.7018 0.7991 0.7018 0.7991 Energy with old centers, new clusters = 1.17225 Energy with new centers, new clusters = 1.17225 1 12 0.2257 0.4778 0.2257 0.4778 2 3 0.8729 0.2386 0.8729 0.2386 3 10 0.7018 0.7991 0.7018 0.7991 Energy with old centers, new clusters = 1.17225 Energy with new centers, new clusters = 1.17225 1 12 0.2257 0.4778 0.2257 0.4778 2 3 0.8729 0.2386 0.8729 0.2386 3 10 0.7018 0.7991 0.7018 0.7991 Energy with old centers, new clusters = 1.17225 Energy with new centers, new clusters = 1.17225 1 12 0.2257 0.4778 0.2257 0.4778 2 3 0.8729 0.2386 0.8729 0.2386 3 10 0.7018 0.7991 0.7018 0.7991 Energy with old centers, new clusters = 1.17225 Energy with new centers, new clusters = 1.17225 1 12 0.2257 0.4778 0.2257 0.4778 2 3 0.8729 0.2386 0.8729 0.2386 3 10 0.7018 0.7991 0.7018 0.7991 Energy with old centers, new clusters = 1.17225 Energy with new centers, new clusters = 1.17225 1 12 0.2257 0.4778 0.2257 0.4778 2 3 0.8729 0.2386 0.8729 0.2386 3 10 0.7018 0.7991 0.7018 0.7991 Energy with old centers, new clusters = 1.17225 Energy with new centers, new clusters = 1.17225 1 12 0.2257 0.4778 0.2257 0.4778 2 3 0.8729 0.2386 0.8729 0.2386 3 10 0.7018 0.7991 0.7018 0.7991 Energy with old centers, new clusters = 1.17225 Energy with new centers, new clusters = 1.17225 1 12 0.2257 0.4778 0.2257 0.4778 2 3 0.8729 0.2386 0.8729 0.2386 3 10 0.7018 0.7991 0.7018 0.7991 Number of clusters = 4 Initial energy = 6.73489 1 7 0.6090 0.3304 2 7 0.5395 0.1542 3 5 0.7998 0.7000 4 6 0.8796 0.9180 Energy with old centers, new clusters = 3.20322 Energy with new centers, new clusters = 1.59839 1 11 0.6090 0.3304 0.3504 0.5275 2 4 0.5395 0.1542 0.2793 0.1921 3 6 0.7998 0.7000 0.7740 0.6801 4 4 0.8796 0.9180 0.6823 0.9473 Energy with old centers, new clusters = 1.45295 Energy with new centers, new clusters = 1.26146 1 8 0.3504 0.5275 0.2436 0.5963 2 5 0.2793 0.1921 0.3112 0.2182 3 8 0.7740 0.6801 0.7639 0.5987 4 4 0.6823 0.9473 0.6823 0.9473 Energy with old centers, new clusters = 1.16241 Energy with new centers, new clusters = 1.05105 1 7 0.2436 0.5963 0.1793 0.6263 2 5 0.3112 0.2182 0.2906 0.2699 3 8 0.7639 0.5987 0.7701 0.5162 4 5 0.6823 0.9473 0.6953 0.9154 Energy with old centers, new clusters = 1.01519 Energy with new centers, new clusters = 0.959958 1 7 0.1793 0.6263 0.1793 0.6263 2 5 0.2906 0.2699 0.2906 0.2699 3 6 0.7701 0.5162 0.7685 0.4396 4 7 0.6953 0.9154 0.7180 0.8670 Energy with old centers, new clusters = 0.904891 Energy with new centers, new clusters = 0.825403 1 7 0.1793 0.6263 0.1793 0.6263 2 5 0.2906 0.2699 0.2906 0.2699 3 4 0.7685 0.4396 0.8073 0.3197 4 9 0.7180 0.8670 0.7120 0.8253 Energy with old centers, new clusters = 0.806360 Energy with new centers, new clusters = 0.765798 1 7 0.1793 0.6263 0.1793 0.6263 2 5 0.2906 0.2699 0.2906 0.2699 3 3 0.8073 0.3197 0.8729 0.2386 4 10 0.7120 0.8253 0.7018 0.7991 Energy with old centers, new clusters = 0.765798 Energy with new centers, new clusters = 0.765798 1 7 0.1793 0.6263 0.1793 0.6263 2 5 0.2906 0.2699 0.2906 0.2699 3 3 0.8729 0.2386 0.8729 0.2386 4 10 0.7018 0.7991 0.7018 0.7991 Energy with old centers, new clusters = 0.765798 Energy with new centers, new clusters = 0.765798 1 7 0.1793 0.6263 0.1793 0.6263 2 5 0.2906 0.2699 0.2906 0.2699 3 3 0.8729 0.2386 0.8729 0.2386 4 10 0.7018 0.7991 0.7018 0.7991 Energy with old centers, new clusters = 0.765798 Energy with new centers, new clusters = 0.765798 1 7 0.1793 0.6263 0.1793 0.6263 2 5 0.2906 0.2699 0.2906 0.2699 3 3 0.8729 0.2386 0.8729 0.2386 4 10 0.7018 0.7991 0.7018 0.7991 Energy with old centers, new clusters = 0.765798 Energy with new centers, new clusters = 0.765798 1 7 0.1793 0.6263 0.1793 0.6263 2 5 0.2906 0.2699 0.2906 0.2699 3 3 0.8729 0.2386 0.8729 0.2386 4 10 0.7018 0.7991 0.7018 0.7991 Energy with old centers, new clusters = 0.765798 Energy with new centers, new clusters = 0.765798 1 7 0.1793 0.6263 0.1793 0.6263 2 5 0.2906 0.2699 0.2906 0.2699 3 3 0.8729 0.2386 0.8729 0.2386 4 10 0.7018 0.7991 0.7018 0.7991 Energy with old centers, new clusters = 0.765798 Energy with new centers, new clusters = 0.765798 1 7 0.1793 0.6263 0.1793 0.6263 2 5 0.2906 0.2699 0.2906 0.2699 3 3 0.8729 0.2386 0.8729 0.2386 4 10 0.7018 0.7991 0.7018 0.7991 Energy with old centers, new clusters = 0.765798 Energy with new centers, new clusters = 0.765798 1 7 0.1793 0.6263 0.1793 0.6263 2 5 0.2906 0.2699 0.2906 0.2699 3 3 0.8729 0.2386 0.8729 0.2386 4 10 0.7018 0.7991 0.7018 0.7991 Energy with old centers, new clusters = 0.765798 Energy with new centers, new clusters = 0.765798 1 7 0.1793 0.6263 0.1793 0.6263 2 5 0.2906 0.2699 0.2906 0.2699 3 3 0.8729 0.2386 0.8729 0.2386 4 10 0.7018 0.7991 0.7018 0.7991 Energy with old centers, new clusters = 0.765798 Energy with new centers, new clusters = 0.765798 1 7 0.1793 0.6263 0.1793 0.6263 2 5 0.2906 0.2699 0.2906 0.2699 3 3 0.8729 0.2386 0.8729 0.2386 4 10 0.7018 0.7991 0.7018 0.7991 Energy with old centers, new clusters = 0.765798 Energy with new centers, new clusters = 0.765798 1 7 0.1793 0.6263 0.1793 0.6263 2 5 0.2906 0.2699 0.2906 0.2699 3 3 0.8729 0.2386 0.8729 0.2386 4 10 0.7018 0.7991 0.7018 0.7991 Energy with old centers, new clusters = 0.765798 Energy with new centers, new clusters = 0.765798 1 7 0.1793 0.6263 0.1793 0.6263 2 5 0.2906 0.2699 0.2906 0.2699 3 3 0.8729 0.2386 0.8729 0.2386 4 10 0.7018 0.7991 0.7018 0.7991 Energy with old centers, new clusters = 0.765798 Energy with new centers, new clusters = 0.765798 1 7 0.1793 0.6263 0.1793 0.6263 2 5 0.2906 0.2699 0.2906 0.2699 3 3 0.8729 0.2386 0.8729 0.2386 4 10 0.7018 0.7991 0.7018 0.7991 Energy with old centers, new clusters = 0.765798 Energy with new centers, new clusters = 0.765798 1 7 0.1793 0.6263 0.1793 0.6263 2 5 0.2906 0.2699 0.2906 0.2699 3 3 0.8729 0.2386 0.8729 0.2386 4 10 0.7018 0.7991 0.7018 0.7991 Energy with old centers, new clusters = 0.765798 Energy with new centers, new clusters = 0.765798 1 7 0.1793 0.6263 0.1793 0.6263 2 5 0.2906 0.2699 0.2906 0.2699 3 3 0.8729 0.2386 0.8729 0.2386 4 10 0.7018 0.7991 0.7018 0.7991 Number of clusters = 5 Initial energy = 6.96118 1 4 0.8267 0.5551 2 10 0.7434 0.4140 3 4 0.5669 0.8732 4 4 0.5978 0.2336 5 3 0.2394 0.4599 Energy with old centers, new clusters = 1.25874 Energy with new centers, new clusters = 1.00288 1 3 0.8267 0.5551 0.9024 0.6440 2 1 0.7434 0.4140 0.6106 0.5633 3 7 0.5669 0.8732 0.6666 0.8482 4 4 0.5978 0.2336 0.5807 0.1547 5 10 0.2394 0.4599 0.2039 0.5389 Energy with old centers, new clusters = 0.957643 Energy with new centers, new clusters = 0.945286 1 3 0.9024 0.6440 0.9024 0.6440 2 2 0.6106 0.5633 0.5916 0.6013 3 6 0.6666 0.8482 0.6823 0.8830 4 4 0.5807 0.1547 0.5807 0.1547 5 10 0.2039 0.5389 0.2039 0.5389 Energy with old centers, new clusters = 0.929976 Energy with new centers, new clusters = 0.918875 1 3 0.9024 0.6440 0.9024 0.6440 2 3 0.5916 0.6013 0.6001 0.6413 3 5 0.6823 0.8830 0.6953 0.9154 4 4 0.5807 0.1547 0.5807 0.1547 5 10 0.2039 0.5389 0.2039 0.5389 Energy with old centers, new clusters = 0.918875 Energy with new centers, new clusters = 0.918875 1 3 0.9024 0.6440 0.9024 0.6440 2 3 0.6001 0.6413 0.6001 0.6413 3 5 0.6953 0.9154 0.6953 0.9154 4 4 0.5807 0.1547 0.5807 0.1547 5 10 0.2039 0.5389 0.2039 0.5389 Energy with old centers, new clusters = 0.918875 Energy with new centers, new clusters = 0.918875 1 3 0.9024 0.6440 0.9024 0.6440 2 3 0.6001 0.6413 0.6001 0.6413 3 5 0.6953 0.9154 0.6953 0.9154 4 4 0.5807 0.1547 0.5807 0.1547 5 10 0.2039 0.5389 0.2039 0.5389 Energy with old centers, new clusters = 0.918875 Energy with new centers, new clusters = 0.918875 1 3 0.9024 0.6440 0.9024 0.6440 2 3 0.6001 0.6413 0.6001 0.6413 3 5 0.6953 0.9154 0.6953 0.9154 4 4 0.5807 0.1547 0.5807 0.1547 5 10 0.2039 0.5389 0.2039 0.5389 Energy with old centers, new clusters = 0.918875 Energy with new centers, new clusters = 0.918875 1 3 0.9024 0.6440 0.9024 0.6440 2 3 0.6001 0.6413 0.6001 0.6413 3 5 0.6953 0.9154 0.6953 0.9154 4 4 0.5807 0.1547 0.5807 0.1547 5 10 0.2039 0.5389 0.2039 0.5389 Energy with old centers, new clusters = 0.918875 Energy with new centers, new clusters = 0.918875 1 3 0.9024 0.6440 0.9024 0.6440 2 3 0.6001 0.6413 0.6001 0.6413 3 5 0.6953 0.9154 0.6953 0.9154 4 4 0.5807 0.1547 0.5807 0.1547 5 10 0.2039 0.5389 0.2039 0.5389 Energy with old centers, new clusters = 0.918875 Energy with new centers, new clusters = 0.918875 1 3 0.9024 0.6440 0.9024 0.6440 2 3 0.6001 0.6413 0.6001 0.6413 3 5 0.6953 0.9154 0.6953 0.9154 4 4 0.5807 0.1547 0.5807 0.1547 5 10 0.2039 0.5389 0.2039 0.5389 Energy with old centers, new clusters = 0.918875 Energy with new centers, new clusters = 0.918875 1 3 0.9024 0.6440 0.9024 0.6440 2 3 0.6001 0.6413 0.6001 0.6413 3 5 0.6953 0.9154 0.6953 0.9154 4 4 0.5807 0.1547 0.5807 0.1547 5 10 0.2039 0.5389 0.2039 0.5389 Energy with old centers, new clusters = 0.918875 Energy with new centers, new clusters = 0.918875 1 3 0.9024 0.6440 0.9024 0.6440 2 3 0.6001 0.6413 0.6001 0.6413 3 5 0.6953 0.9154 0.6953 0.9154 4 4 0.5807 0.1547 0.5807 0.1547 5 10 0.2039 0.5389 0.2039 0.5389 Energy with old centers, new clusters = 0.918875 Energy with new centers, new clusters = 0.918875 1 3 0.9024 0.6440 0.9024 0.6440 2 3 0.6001 0.6413 0.6001 0.6413 3 5 0.6953 0.9154 0.6953 0.9154 4 4 0.5807 0.1547 0.5807 0.1547 5 10 0.2039 0.5389 0.2039 0.5389 Energy with old centers, new clusters = 0.918875 Energy with new centers, new clusters = 0.918875 1 3 0.9024 0.6440 0.9024 0.6440 2 3 0.6001 0.6413 0.6001 0.6413 3 5 0.6953 0.9154 0.6953 0.9154 4 4 0.5807 0.1547 0.5807 0.1547 5 10 0.2039 0.5389 0.2039 0.5389 Energy with old centers, new clusters = 0.918875 Energy with new centers, new clusters = 0.918875 1 3 0.9024 0.6440 0.9024 0.6440 2 3 0.6001 0.6413 0.6001 0.6413 3 5 0.6953 0.9154 0.6953 0.9154 4 4 0.5807 0.1547 0.5807 0.1547 5 10 0.2039 0.5389 0.2039 0.5389 Energy with old centers, new clusters = 0.918875 Energy with new centers, new clusters = 0.918875 1 3 0.9024 0.6440 0.9024 0.6440 2 3 0.6001 0.6413 0.6001 0.6413 3 5 0.6953 0.9154 0.6953 0.9154 4 4 0.5807 0.1547 0.5807 0.1547 5 10 0.2039 0.5389 0.2039 0.5389 Energy with old centers, new clusters = 0.918875 Energy with new centers, new clusters = 0.918875 1 3 0.9024 0.6440 0.9024 0.6440 2 3 0.6001 0.6413 0.6001 0.6413 3 5 0.6953 0.9154 0.6953 0.9154 4 4 0.5807 0.1547 0.5807 0.1547 5 10 0.2039 0.5389 0.2039 0.5389 Energy with old centers, new clusters = 0.918875 Energy with new centers, new clusters = 0.918875 1 3 0.9024 0.6440 0.9024 0.6440 2 3 0.6001 0.6413 0.6001 0.6413 3 5 0.6953 0.9154 0.6953 0.9154 4 4 0.5807 0.1547 0.5807 0.1547 5 10 0.2039 0.5389 0.2039 0.5389 Energy with old centers, new clusters = 0.918875 Energy with new centers, new clusters = 0.918875 1 3 0.9024 0.6440 0.9024 0.6440 2 3 0.6001 0.6413 0.6001 0.6413 3 5 0.6953 0.9154 0.6953 0.9154 4 4 0.5807 0.1547 0.5807 0.1547 5 10 0.2039 0.5389 0.2039 0.5389 Energy with old centers, new clusters = 0.918875 Energy with new centers, new clusters = 0.918875 1 3 0.9024 0.6440 0.9024 0.6440 2 3 0.6001 0.6413 0.6001 0.6413 3 5 0.6953 0.9154 0.6953 0.9154 4 4 0.5807 0.1547 0.5807 0.1547 5 10 0.2039 0.5389 0.2039 0.5389 Energy with old centers, new clusters = 0.918875 Energy with new centers, new clusters = 0.918875 1 3 0.9024 0.6440 0.9024 0.6440 2 3 0.6001 0.6413 0.6001 0.6413 3 5 0.6953 0.9154 0.6953 0.9154 4 4 0.5807 0.1547 0.5807 0.1547 5 10 0.2039 0.5389 0.2039 0.5389 Number of clusters = 6 Initial energy = 9.56679 1 4 0.9938 0.8573 2 5 0.4861 0.2921 3 3 0.4255 0.5785 4 4 0.7779 0.0483 5 3 0.1431 0.0742 6 6 0.9458 0.9879 Energy with old centers, new clusters = 1.41073 Energy with new centers, new clusters = 0.676332 1 4 0.9938 0.8573 0.8636 0.6799 2 3 0.4861 0.2921 0.3858 0.3696 3 9 0.4255 0.5785 0.3367 0.6565 4 2 0.7779 0.0483 0.8265 0.1369 5 3 0.1431 0.0742 0.1069 0.2135 6 4 0.9458 0.9879 0.6823 0.9473 Energy with old centers, new clusters = 0.642850 Energy with new centers, new clusters = 0.572288 1 5 0.8636 0.6799 0.8130 0.6566 2 3 0.3858 0.3696 0.3858 0.3696 3 7 0.3367 0.6565 0.2576 0.6605 4 2 0.8265 0.1369 0.8265 0.1369 5 3 0.1069 0.2135 0.1069 0.2135 6 5 0.6823 0.9473 0.6692 0.9021 Energy with old centers, new clusters = 0.528428 Energy with new centers, new clusters = 0.498102 1 5 0.8130 0.6566 0.7781 0.6269 2 3 0.3858 0.3696 0.3858 0.3696 3 6 0.2576 0.6605 0.2050 0.6640 4 2 0.8265 0.1369 0.8265 0.1369 5 3 0.1069 0.2135 0.1069 0.2135 6 6 0.6692 0.9021 0.6823 0.8830 Energy with old centers, new clusters = 0.498102 Energy with new centers, new clusters = 0.498102 1 5 0.7781 0.6269 0.7781 0.6269 2 3 0.3858 0.3696 0.3858 0.3696 3 6 0.2050 0.6640 0.2050 0.6640 4 2 0.8265 0.1369 0.8265 0.1369 5 3 0.1069 0.2135 0.1069 0.2135 6 6 0.6823 0.8830 0.6823 0.8830 Energy with old centers, new clusters = 0.498102 Energy with new centers, new clusters = 0.498102 1 5 0.7781 0.6269 0.7781 0.6269 2 3 0.3858 0.3696 0.3858 0.3696 3 6 0.2050 0.6640 0.2050 0.6640 4 2 0.8265 0.1369 0.8265 0.1369 5 3 0.1069 0.2135 0.1069 0.2135 6 6 0.6823 0.8830 0.6823 0.8830 Energy with old centers, new clusters = 0.498102 Energy with new centers, new clusters = 0.498102 1 5 0.7781 0.6269 0.7781 0.6269 2 3 0.3858 0.3696 0.3858 0.3696 3 6 0.2050 0.6640 0.2050 0.6640 4 2 0.8265 0.1369 0.8265 0.1369 5 3 0.1069 0.2135 0.1069 0.2135 6 6 0.6823 0.8830 0.6823 0.8830 Energy with old centers, new clusters = 0.498102 Energy with new centers, new clusters = 0.498102 1 5 0.7781 0.6269 0.7781 0.6269 2 3 0.3858 0.3696 0.3858 0.3696 3 6 0.2050 0.6640 0.2050 0.6640 4 2 0.8265 0.1369 0.8265 0.1369 5 3 0.1069 0.2135 0.1069 0.2135 6 6 0.6823 0.8830 0.6823 0.8830 Energy with old centers, new clusters = 0.498102 Energy with new centers, new clusters = 0.498102 1 5 0.7781 0.6269 0.7781 0.6269 2 3 0.3858 0.3696 0.3858 0.3696 3 6 0.2050 0.6640 0.2050 0.6640 4 2 0.8265 0.1369 0.8265 0.1369 5 3 0.1069 0.2135 0.1069 0.2135 6 6 0.6823 0.8830 0.6823 0.8830 Energy with old centers, new clusters = 0.498102 Energy with new centers, new clusters = 0.498102 1 5 0.7781 0.6269 0.7781 0.6269 2 3 0.3858 0.3696 0.3858 0.3696 3 6 0.2050 0.6640 0.2050 0.6640 4 2 0.8265 0.1369 0.8265 0.1369 5 3 0.1069 0.2135 0.1069 0.2135 6 6 0.6823 0.8830 0.6823 0.8830 Energy with old centers, new clusters = 0.498102 Energy with new centers, new clusters = 0.498102 1 5 0.7781 0.6269 0.7781 0.6269 2 3 0.3858 0.3696 0.3858 0.3696 3 6 0.2050 0.6640 0.2050 0.6640 4 2 0.8265 0.1369 0.8265 0.1369 5 3 0.1069 0.2135 0.1069 0.2135 6 6 0.6823 0.8830 0.6823 0.8830 Energy with old centers, new clusters = 0.498102 Energy with new centers, new clusters = 0.498102 1 5 0.7781 0.6269 0.7781 0.6269 2 3 0.3858 0.3696 0.3858 0.3696 3 6 0.2050 0.6640 0.2050 0.6640 4 2 0.8265 0.1369 0.8265 0.1369 5 3 0.1069 0.2135 0.1069 0.2135 6 6 0.6823 0.8830 0.6823 0.8830 Energy with old centers, new clusters = 0.498102 Energy with new centers, new clusters = 0.498102 1 5 0.7781 0.6269 0.7781 0.6269 2 3 0.3858 0.3696 0.3858 0.3696 3 6 0.2050 0.6640 0.2050 0.6640 4 2 0.8265 0.1369 0.8265 0.1369 5 3 0.1069 0.2135 0.1069 0.2135 6 6 0.6823 0.8830 0.6823 0.8830 Energy with old centers, new clusters = 0.498102 Energy with new centers, new clusters = 0.498102 1 5 0.7781 0.6269 0.7781 0.6269 2 3 0.3858 0.3696 0.3858 0.3696 3 6 0.2050 0.6640 0.2050 0.6640 4 2 0.8265 0.1369 0.8265 0.1369 5 3 0.1069 0.2135 0.1069 0.2135 6 6 0.6823 0.8830 0.6823 0.8830 Energy with old centers, new clusters = 0.498102 Energy with new centers, new clusters = 0.498102 1 5 0.7781 0.6269 0.7781 0.6269 2 3 0.3858 0.3696 0.3858 0.3696 3 6 0.2050 0.6640 0.2050 0.6640 4 2 0.8265 0.1369 0.8265 0.1369 5 3 0.1069 0.2135 0.1069 0.2135 6 6 0.6823 0.8830 0.6823 0.8830 Energy with old centers, new clusters = 0.498102 Energy with new centers, new clusters = 0.498102 1 5 0.7781 0.6269 0.7781 0.6269 2 3 0.3858 0.3696 0.3858 0.3696 3 6 0.2050 0.6640 0.2050 0.6640 4 2 0.8265 0.1369 0.8265 0.1369 5 3 0.1069 0.2135 0.1069 0.2135 6 6 0.6823 0.8830 0.6823 0.8830 Energy with old centers, new clusters = 0.498102 Energy with new centers, new clusters = 0.498102 1 5 0.7781 0.6269 0.7781 0.6269 2 3 0.3858 0.3696 0.3858 0.3696 3 6 0.2050 0.6640 0.2050 0.6640 4 2 0.8265 0.1369 0.8265 0.1369 5 3 0.1069 0.2135 0.1069 0.2135 6 6 0.6823 0.8830 0.6823 0.8830 Energy with old centers, new clusters = 0.498102 Energy with new centers, new clusters = 0.498102 1 5 0.7781 0.6269 0.7781 0.6269 2 3 0.3858 0.3696 0.3858 0.3696 3 6 0.2050 0.6640 0.2050 0.6640 4 2 0.8265 0.1369 0.8265 0.1369 5 3 0.1069 0.2135 0.1069 0.2135 6 6 0.6823 0.8830 0.6823 0.8830 Energy with old centers, new clusters = 0.498102 Energy with new centers, new clusters = 0.498102 1 5 0.7781 0.6269 0.7781 0.6269 2 3 0.3858 0.3696 0.3858 0.3696 3 6 0.2050 0.6640 0.2050 0.6640 4 2 0.8265 0.1369 0.8265 0.1369 5 3 0.1069 0.2135 0.1069 0.2135 6 6 0.6823 0.8830 0.6823 0.8830 Energy with old centers, new clusters = 0.498102 Energy with new centers, new clusters = 0.498102 1 5 0.7781 0.6269 0.7781 0.6269 2 3 0.3858 0.3696 0.3858 0.3696 3 6 0.2050 0.6640 0.2050 0.6640 4 2 0.8265 0.1369 0.8265 0.1369 5 3 0.1069 0.2135 0.1069 0.2135 6 6 0.6823 0.8830 0.6823 0.8830 Energy with old centers, new clusters = 0.498102 Energy with new centers, new clusters = 0.498102 1 5 0.7781 0.6269 0.7781 0.6269 2 3 0.3858 0.3696 0.3858 0.3696 3 6 0.2050 0.6640 0.2050 0.6640 4 2 0.8265 0.1369 0.8265 0.1369 5 3 0.1069 0.2135 0.1069 0.2135 6 6 0.6823 0.8830 0.6823 0.8830 Number of clusters = 7 Initial energy = 6.77070 1 0 0.5136 0.1216 2 4 0.2881 0.5334 3 7 0.4911 0.5081 4 3 0.1725 0.5176 5 6 0.9369 0.0618 6 3 0.4607 0.7736 7 2 0.9422 0.7715 Energy with old centers, new clusters = 1.07622 Energy with new centers, new clusters = 0.747060 1 1 0.5136 0.1216 0.2306 0.0220 2 3 0.2881 0.5334 0.3156 0.5222 3 4 0.4911 0.5081 0.5003 0.4840 4 5 0.1725 0.5176 0.0760 0.5450 5 2 0.9369 0.0618 0.8265 0.1369 6 4 0.4607 0.7736 0.5614 0.8228 7 6 0.9422 0.7715 0.8147 0.7709 Energy with old centers, new clusters = 0.636767 Energy with new centers, new clusters = 0.472132 1 2 0.2306 0.0220 0.1479 0.1205 2 5 0.3156 0.5222 0.3318 0.5327 3 3 0.5003 0.4840 0.5407 0.5085 4 4 0.0760 0.5450 0.0787 0.6266 5 3 0.8265 0.1369 0.8729 0.2386 6 4 0.5614 0.8228 0.6557 0.8879 7 4 0.8147 0.7709 0.8031 0.8092 Energy with old centers, new clusters = 0.452943 Energy with new centers, new clusters = 0.441416 1 2 0.1479 0.1205 0.1479 0.1205 2 5 0.3318 0.5327 0.3318 0.5327 3 3 0.5407 0.5085 0.5407 0.5085 4 4 0.0787 0.6266 0.0787 0.6266 5 3 0.8729 0.2386 0.8729 0.2386 6 5 0.6557 0.8879 0.6692 0.9021 7 3 0.8031 0.8092 0.8297 0.7592 Energy with old centers, new clusters = 0.441416 Energy with new centers, new clusters = 0.441416 1 2 0.1479 0.1205 0.1479 0.1205 2 5 0.3318 0.5327 0.3318 0.5327 3 3 0.5407 0.5085 0.5407 0.5085 4 4 0.0787 0.6266 0.0787 0.6266 5 3 0.8729 0.2386 0.8729 0.2386 6 5 0.6692 0.9021 0.6692 0.9021 7 3 0.8297 0.7592 0.8297 0.7592 Energy with old centers, new clusters = 0.441416 Energy with new centers, new clusters = 0.441416 1 2 0.1479 0.1205 0.1479 0.1205 2 5 0.3318 0.5327 0.3318 0.5327 3 3 0.5407 0.5085 0.5407 0.5085 4 4 0.0787 0.6266 0.0787 0.6266 5 3 0.8729 0.2386 0.8729 0.2386 6 5 0.6692 0.9021 0.6692 0.9021 7 3 0.8297 0.7592 0.8297 0.7592 Energy with old centers, new clusters = 0.441416 Energy with new centers, new clusters = 0.441416 1 2 0.1479 0.1205 0.1479 0.1205 2 5 0.3318 0.5327 0.3318 0.5327 3 3 0.5407 0.5085 0.5407 0.5085 4 4 0.0787 0.6266 0.0787 0.6266 5 3 0.8729 0.2386 0.8729 0.2386 6 5 0.6692 0.9021 0.6692 0.9021 7 3 0.8297 0.7592 0.8297 0.7592 Energy with old centers, new clusters = 0.441416 Energy with new centers, new clusters = 0.441416 1 2 0.1479 0.1205 0.1479 0.1205 2 5 0.3318 0.5327 0.3318 0.5327 3 3 0.5407 0.5085 0.5407 0.5085 4 4 0.0787 0.6266 0.0787 0.6266 5 3 0.8729 0.2386 0.8729 0.2386 6 5 0.6692 0.9021 0.6692 0.9021 7 3 0.8297 0.7592 0.8297 0.7592 Energy with old centers, new clusters = 0.441416 Energy with new centers, new clusters = 0.441416 1 2 0.1479 0.1205 0.1479 0.1205 2 5 0.3318 0.5327 0.3318 0.5327 3 3 0.5407 0.5085 0.5407 0.5085 4 4 0.0787 0.6266 0.0787 0.6266 5 3 0.8729 0.2386 0.8729 0.2386 6 5 0.6692 0.9021 0.6692 0.9021 7 3 0.8297 0.7592 0.8297 0.7592 Energy with old centers, new clusters = 0.441416 Energy with new centers, new clusters = 0.441416 1 2 0.1479 0.1205 0.1479 0.1205 2 5 0.3318 0.5327 0.3318 0.5327 3 3 0.5407 0.5085 0.5407 0.5085 4 4 0.0787 0.6266 0.0787 0.6266 5 3 0.8729 0.2386 0.8729 0.2386 6 5 0.6692 0.9021 0.6692 0.9021 7 3 0.8297 0.7592 0.8297 0.7592 Energy with old centers, new clusters = 0.441416 Energy with new centers, new clusters = 0.441416 1 2 0.1479 0.1205 0.1479 0.1205 2 5 0.3318 0.5327 0.3318 0.5327 3 3 0.5407 0.5085 0.5407 0.5085 4 4 0.0787 0.6266 0.0787 0.6266 5 3 0.8729 0.2386 0.8729 0.2386 6 5 0.6692 0.9021 0.6692 0.9021 7 3 0.8297 0.7592 0.8297 0.7592 Energy with old centers, new clusters = 0.441416 Energy with new centers, new clusters = 0.441416 1 2 0.1479 0.1205 0.1479 0.1205 2 5 0.3318 0.5327 0.3318 0.5327 3 3 0.5407 0.5085 0.5407 0.5085 4 4 0.0787 0.6266 0.0787 0.6266 5 3 0.8729 0.2386 0.8729 0.2386 6 5 0.6692 0.9021 0.6692 0.9021 7 3 0.8297 0.7592 0.8297 0.7592 Energy with old centers, new clusters = 0.441416 Energy with new centers, new clusters = 0.441416 1 2 0.1479 0.1205 0.1479 0.1205 2 5 0.3318 0.5327 0.3318 0.5327 3 3 0.5407 0.5085 0.5407 0.5085 4 4 0.0787 0.6266 0.0787 0.6266 5 3 0.8729 0.2386 0.8729 0.2386 6 5 0.6692 0.9021 0.6692 0.9021 7 3 0.8297 0.7592 0.8297 0.7592 Energy with old centers, new clusters = 0.441416 Energy with new centers, new clusters = 0.441416 1 2 0.1479 0.1205 0.1479 0.1205 2 5 0.3318 0.5327 0.3318 0.5327 3 3 0.5407 0.5085 0.5407 0.5085 4 4 0.0787 0.6266 0.0787 0.6266 5 3 0.8729 0.2386 0.8729 0.2386 6 5 0.6692 0.9021 0.6692 0.9021 7 3 0.8297 0.7592 0.8297 0.7592 Energy with old centers, new clusters = 0.441416 Energy with new centers, new clusters = 0.441416 1 2 0.1479 0.1205 0.1479 0.1205 2 5 0.3318 0.5327 0.3318 0.5327 3 3 0.5407 0.5085 0.5407 0.5085 4 4 0.0787 0.6266 0.0787 0.6266 5 3 0.8729 0.2386 0.8729 0.2386 6 5 0.6692 0.9021 0.6692 0.9021 7 3 0.8297 0.7592 0.8297 0.7592 Energy with old centers, new clusters = 0.441416 Energy with new centers, new clusters = 0.441416 1 2 0.1479 0.1205 0.1479 0.1205 2 5 0.3318 0.5327 0.3318 0.5327 3 3 0.5407 0.5085 0.5407 0.5085 4 4 0.0787 0.6266 0.0787 0.6266 5 3 0.8729 0.2386 0.8729 0.2386 6 5 0.6692 0.9021 0.6692 0.9021 7 3 0.8297 0.7592 0.8297 0.7592 Energy with old centers, new clusters = 0.441416 Energy with new centers, new clusters = 0.441416 1 2 0.1479 0.1205 0.1479 0.1205 2 5 0.3318 0.5327 0.3318 0.5327 3 3 0.5407 0.5085 0.5407 0.5085 4 4 0.0787 0.6266 0.0787 0.6266 5 3 0.8729 0.2386 0.8729 0.2386 6 5 0.6692 0.9021 0.6692 0.9021 7 3 0.8297 0.7592 0.8297 0.7592 Energy with old centers, new clusters = 0.441416 Energy with new centers, new clusters = 0.441416 1 2 0.1479 0.1205 0.1479 0.1205 2 5 0.3318 0.5327 0.3318 0.5327 3 3 0.5407 0.5085 0.5407 0.5085 4 4 0.0787 0.6266 0.0787 0.6266 5 3 0.8729 0.2386 0.8729 0.2386 6 5 0.6692 0.9021 0.6692 0.9021 7 3 0.8297 0.7592 0.8297 0.7592 Energy with old centers, new clusters = 0.441416 Energy with new centers, new clusters = 0.441416 1 2 0.1479 0.1205 0.1479 0.1205 2 5 0.3318 0.5327 0.3318 0.5327 3 3 0.5407 0.5085 0.5407 0.5085 4 4 0.0787 0.6266 0.0787 0.6266 5 3 0.8729 0.2386 0.8729 0.2386 6 5 0.6692 0.9021 0.6692 0.9021 7 3 0.8297 0.7592 0.8297 0.7592 Energy with old centers, new clusters = 0.441416 Energy with new centers, new clusters = 0.441416 1 2 0.1479 0.1205 0.1479 0.1205 2 5 0.3318 0.5327 0.3318 0.5327 3 3 0.5407 0.5085 0.5407 0.5085 4 4 0.0787 0.6266 0.0787 0.6266 5 3 0.8729 0.2386 0.8729 0.2386 6 5 0.6692 0.9021 0.6692 0.9021 7 3 0.8297 0.7592 0.8297 0.7592 Energy with old centers, new clusters = 0.441416 Energy with new centers, new clusters = 0.441416 1 2 0.1479 0.1205 0.1479 0.1205 2 5 0.3318 0.5327 0.3318 0.5327 3 3 0.5407 0.5085 0.5407 0.5085 4 4 0.0787 0.6266 0.0787 0.6266 5 3 0.8729 0.2386 0.8729 0.2386 6 5 0.6692 0.9021 0.6692 0.9021 7 3 0.8297 0.7592 0.8297 0.7592 Number of clusters = 8 Initial energy = 11.7373 1 3 0.0950 0.9290 2 0 0.1831 0.5716 3 2 0.9334 0.1127 4 9 0.1199 0.3673 5 2 0.9728 0.0587 6 6 0.8908 0.0623 7 3 0.6120 0.8329 8 0 0.5762 0.6592 Energy with old centers, new clusters = 0.918107 Number of empty clusters was 1 Energy with new centers, new clusters = 0.544858 1 1 0.0950 0.9290 0.0520 0.7984 2 6 0.1831 0.5716 0.2595 0.5994 3 2 0.9334 0.1127 0.9111 0.2940 4 5 0.1199 0.3673 0.2198 0.2678 5 0 0.9728 0.0587 0.2709 0.0914 6 1 0.8908 0.0623 0.7964 0.1277 7 7 0.6120 0.8329 0.7455 0.8667 8 3 0.5762 0.6592 0.6001 0.6413 Energy with old centers, new clusters = 0.419917 Energy with new centers, new clusters = 0.347621 1 2 0.0520 0.7984 0.0641 0.7645 2 4 0.2595 0.5994 0.2755 0.6138 3 1 0.9111 0.2940 0.9655 0.4419 4 5 0.2198 0.2678 0.2495 0.3455 5 1 0.2709 0.0914 0.2306 0.0220 6 2 0.7964 0.1277 0.8265 0.1369 7 7 0.7455 0.8667 0.7455 0.8667 8 3 0.6001 0.6413 0.6001 0.6413 Energy with old centers, new clusters = 0.347621 Energy with new centers, new clusters = 0.347621 1 2 0.0641 0.7645 0.0641 0.7645 2 4 0.2755 0.6138 0.2755 0.6138 3 1 0.9655 0.4419 0.9655 0.4419 4 5 0.2495 0.3455 0.2495 0.3455 5 1 0.2306 0.0220 0.2306 0.0220 6 2 0.8265 0.1369 0.8265 0.1369 7 7 0.7455 0.8667 0.7455 0.8667 8 3 0.6001 0.6413 0.6001 0.6413 Energy with old centers, new clusters = 0.347621 Energy with new centers, new clusters = 0.347621 1 2 0.0641 0.7645 0.0641 0.7645 2 4 0.2755 0.6138 0.2755 0.6138 3 1 0.9655 0.4419 0.9655 0.4419 4 5 0.2495 0.3455 0.2495 0.3455 5 1 0.2306 0.0220 0.2306 0.0220 6 2 0.8265 0.1369 0.8265 0.1369 7 7 0.7455 0.8667 0.7455 0.8667 8 3 0.6001 0.6413 0.6001 0.6413 Energy with old centers, new clusters = 0.347621 Energy with new centers, new clusters = 0.347621 1 2 0.0641 0.7645 0.0641 0.7645 2 4 0.2755 0.6138 0.2755 0.6138 3 1 0.9655 0.4419 0.9655 0.4419 4 5 0.2495 0.3455 0.2495 0.3455 5 1 0.2306 0.0220 0.2306 0.0220 6 2 0.8265 0.1369 0.8265 0.1369 7 7 0.7455 0.8667 0.7455 0.8667 8 3 0.6001 0.6413 0.6001 0.6413 Energy with old centers, new clusters = 0.347621 Energy with new centers, new clusters = 0.347621 1 2 0.0641 0.7645 0.0641 0.7645 2 4 0.2755 0.6138 0.2755 0.6138 3 1 0.9655 0.4419 0.9655 0.4419 4 5 0.2495 0.3455 0.2495 0.3455 5 1 0.2306 0.0220 0.2306 0.0220 6 2 0.8265 0.1369 0.8265 0.1369 7 7 0.7455 0.8667 0.7455 0.8667 8 3 0.6001 0.6413 0.6001 0.6413 Energy with old centers, new clusters = 0.347621 Energy with new centers, new clusters = 0.347621 1 2 0.0641 0.7645 0.0641 0.7645 2 4 0.2755 0.6138 0.2755 0.6138 3 1 0.9655 0.4419 0.9655 0.4419 4 5 0.2495 0.3455 0.2495 0.3455 5 1 0.2306 0.0220 0.2306 0.0220 6 2 0.8265 0.1369 0.8265 0.1369 7 7 0.7455 0.8667 0.7455 0.8667 8 3 0.6001 0.6413 0.6001 0.6413 Energy with old centers, new clusters = 0.347621 Energy with new centers, new clusters = 0.347621 1 2 0.0641 0.7645 0.0641 0.7645 2 4 0.2755 0.6138 0.2755 0.6138 3 1 0.9655 0.4419 0.9655 0.4419 4 5 0.2495 0.3455 0.2495 0.3455 5 1 0.2306 0.0220 0.2306 0.0220 6 2 0.8265 0.1369 0.8265 0.1369 7 7 0.7455 0.8667 0.7455 0.8667 8 3 0.6001 0.6413 0.6001 0.6413 Energy with old centers, new clusters = 0.347621 Energy with new centers, new clusters = 0.347621 1 2 0.0641 0.7645 0.0641 0.7645 2 4 0.2755 0.6138 0.2755 0.6138 3 1 0.9655 0.4419 0.9655 0.4419 4 5 0.2495 0.3455 0.2495 0.3455 5 1 0.2306 0.0220 0.2306 0.0220 6 2 0.8265 0.1369 0.8265 0.1369 7 7 0.7455 0.8667 0.7455 0.8667 8 3 0.6001 0.6413 0.6001 0.6413 Energy with old centers, new clusters = 0.347621 Energy with new centers, new clusters = 0.347621 1 2 0.0641 0.7645 0.0641 0.7645 2 4 0.2755 0.6138 0.2755 0.6138 3 1 0.9655 0.4419 0.9655 0.4419 4 5 0.2495 0.3455 0.2495 0.3455 5 1 0.2306 0.0220 0.2306 0.0220 6 2 0.8265 0.1369 0.8265 0.1369 7 7 0.7455 0.8667 0.7455 0.8667 8 3 0.6001 0.6413 0.6001 0.6413 Energy with old centers, new clusters = 0.347621 Energy with new centers, new clusters = 0.347621 1 2 0.0641 0.7645 0.0641 0.7645 2 4 0.2755 0.6138 0.2755 0.6138 3 1 0.9655 0.4419 0.9655 0.4419 4 5 0.2495 0.3455 0.2495 0.3455 5 1 0.2306 0.0220 0.2306 0.0220 6 2 0.8265 0.1369 0.8265 0.1369 7 7 0.7455 0.8667 0.7455 0.8667 8 3 0.6001 0.6413 0.6001 0.6413 Energy with old centers, new clusters = 0.347621 Energy with new centers, new clusters = 0.347621 1 2 0.0641 0.7645 0.0641 0.7645 2 4 0.2755 0.6138 0.2755 0.6138 3 1 0.9655 0.4419 0.9655 0.4419 4 5 0.2495 0.3455 0.2495 0.3455 5 1 0.2306 0.0220 0.2306 0.0220 6 2 0.8265 0.1369 0.8265 0.1369 7 7 0.7455 0.8667 0.7455 0.8667 8 3 0.6001 0.6413 0.6001 0.6413 Energy with old centers, new clusters = 0.347621 Energy with new centers, new clusters = 0.347621 1 2 0.0641 0.7645 0.0641 0.7645 2 4 0.2755 0.6138 0.2755 0.6138 3 1 0.9655 0.4419 0.9655 0.4419 4 5 0.2495 0.3455 0.2495 0.3455 5 1 0.2306 0.0220 0.2306 0.0220 6 2 0.8265 0.1369 0.8265 0.1369 7 7 0.7455 0.8667 0.7455 0.8667 8 3 0.6001 0.6413 0.6001 0.6413 Energy with old centers, new clusters = 0.347621 Energy with new centers, new clusters = 0.347621 1 2 0.0641 0.7645 0.0641 0.7645 2 4 0.2755 0.6138 0.2755 0.6138 3 1 0.9655 0.4419 0.9655 0.4419 4 5 0.2495 0.3455 0.2495 0.3455 5 1 0.2306 0.0220 0.2306 0.0220 6 2 0.8265 0.1369 0.8265 0.1369 7 7 0.7455 0.8667 0.7455 0.8667 8 3 0.6001 0.6413 0.6001 0.6413 Energy with old centers, new clusters = 0.347621 Energy with new centers, new clusters = 0.347621 1 2 0.0641 0.7645 0.0641 0.7645 2 4 0.2755 0.6138 0.2755 0.6138 3 1 0.9655 0.4419 0.9655 0.4419 4 5 0.2495 0.3455 0.2495 0.3455 5 1 0.2306 0.0220 0.2306 0.0220 6 2 0.8265 0.1369 0.8265 0.1369 7 7 0.7455 0.8667 0.7455 0.8667 8 3 0.6001 0.6413 0.6001 0.6413 Energy with old centers, new clusters = 0.347621 Energy with new centers, new clusters = 0.347621 1 2 0.0641 0.7645 0.0641 0.7645 2 4 0.2755 0.6138 0.2755 0.6138 3 1 0.9655 0.4419 0.9655 0.4419 4 5 0.2495 0.3455 0.2495 0.3455 5 1 0.2306 0.0220 0.2306 0.0220 6 2 0.8265 0.1369 0.8265 0.1369 7 7 0.7455 0.8667 0.7455 0.8667 8 3 0.6001 0.6413 0.6001 0.6413 Energy with old centers, new clusters = 0.347621 Energy with new centers, new clusters = 0.347621 1 2 0.0641 0.7645 0.0641 0.7645 2 4 0.2755 0.6138 0.2755 0.6138 3 1 0.9655 0.4419 0.9655 0.4419 4 5 0.2495 0.3455 0.2495 0.3455 5 1 0.2306 0.0220 0.2306 0.0220 6 2 0.8265 0.1369 0.8265 0.1369 7 7 0.7455 0.8667 0.7455 0.8667 8 3 0.6001 0.6413 0.6001 0.6413 Energy with old centers, new clusters = 0.347621 Energy with new centers, new clusters = 0.347621 1 2 0.0641 0.7645 0.0641 0.7645 2 4 0.2755 0.6138 0.2755 0.6138 3 1 0.9655 0.4419 0.9655 0.4419 4 5 0.2495 0.3455 0.2495 0.3455 5 1 0.2306 0.0220 0.2306 0.0220 6 2 0.8265 0.1369 0.8265 0.1369 7 7 0.7455 0.8667 0.7455 0.8667 8 3 0.6001 0.6413 0.6001 0.6413 Energy with old centers, new clusters = 0.347621 Energy with new centers, new clusters = 0.347621 1 2 0.0641 0.7645 0.0641 0.7645 2 4 0.2755 0.6138 0.2755 0.6138 3 1 0.9655 0.4419 0.9655 0.4419 4 5 0.2495 0.3455 0.2495 0.3455 5 1 0.2306 0.0220 0.2306 0.0220 6 2 0.8265 0.1369 0.8265 0.1369 7 7 0.7455 0.8667 0.7455 0.8667 8 3 0.6001 0.6413 0.6001 0.6413 Energy with old centers, new clusters = 0.347621 Energy with new centers, new clusters = 0.347621 1 2 0.0641 0.7645 0.0641 0.7645 2 4 0.2755 0.6138 0.2755 0.6138 3 1 0.9655 0.4419 0.9655 0.4419 4 5 0.2495 0.3455 0.2495 0.3455 5 1 0.2306 0.0220 0.2306 0.0220 6 2 0.8265 0.1369 0.8265 0.1369 7 7 0.7455 0.8667 0.7455 0.8667 8 3 0.6001 0.6413 0.6001 0.6413 Number of clusters = 9 Initial energy = 6.51942 1 3 0.8049 0.9874 2 4 0.7044 0.9406 3 1 0.5303 0.5107 4 3 0.8698 0.1768 5 1 0.4936 0.7731 6 3 0.0055 0.8257 7 3 0.7481 0.1098 8 2 0.6893 0.4969 9 5 0.4394 0.4100 Energy with old centers, new clusters = 1.09307 Energy with new centers, new clusters = 0.512404 1 1 0.8049 0.9874 0.9328 0.7709 2 6 0.7044 0.9406 0.7143 0.8827 3 3 0.5303 0.5107 0.5204 0.6014 4 1 0.8698 0.1768 0.8567 0.1460 5 2 0.4936 0.7731 0.4751 0.7039 6 3 0.0055 0.8257 0.0966 0.7022 7 1 0.7481 0.1098 0.7964 0.1277 8 1 0.6893 0.4969 0.9655 0.4419 9 7 0.4394 0.4100 0.2439 0.3341 Energy with old centers, new clusters = 0.459144 Energy with new centers, new clusters = 0.407784 1 2 0.9328 0.7709 0.8708 0.7451 2 5 0.7143 0.8827 0.6953 0.9154 3 2 0.5204 0.6014 0.5916 0.6013 4 1 0.8567 0.1460 0.8567 0.1460 5 3 0.4751 0.7039 0.4427 0.6698 6 4 0.0966 0.7022 0.1297 0.6740 7 1 0.7964 0.1277 0.7964 0.1277 8 1 0.9655 0.4419 0.9655 0.4419 9 6 0.2439 0.3341 0.2464 0.2916 Energy with old centers, new clusters = 0.387841 Energy with new centers, new clusters = 0.355866 1 3 0.8708 0.7451 0.8297 0.7592 2 4 0.6953 0.9154 0.6823 0.9473 3 3 0.5916 0.6013 0.6001 0.6413 4 1 0.8567 0.1460 0.8567 0.1460 5 2 0.4427 0.6698 0.3556 0.6440 6 4 0.1297 0.6740 0.1297 0.6740 7 1 0.7964 0.1277 0.7964 0.1277 8 1 0.9655 0.4419 0.9655 0.4419 9 6 0.2464 0.2916 0.2464 0.2916 Energy with old centers, new clusters = 0.355866 Energy with new centers, new clusters = 0.355866 1 3 0.8297 0.7592 0.8297 0.7592 2 4 0.6823 0.9473 0.6823 0.9473 3 3 0.6001 0.6413 0.6001 0.6413 4 1 0.8567 0.1460 0.8567 0.1460 5 2 0.3556 0.6440 0.3556 0.6440 6 4 0.1297 0.6740 0.1297 0.6740 7 1 0.7964 0.1277 0.7964 0.1277 8 1 0.9655 0.4419 0.9655 0.4419 9 6 0.2464 0.2916 0.2464 0.2916 Energy with old centers, new clusters = 0.355866 Energy with new centers, new clusters = 0.355866 1 3 0.8297 0.7592 0.8297 0.7592 2 4 0.6823 0.9473 0.6823 0.9473 3 3 0.6001 0.6413 0.6001 0.6413 4 1 0.8567 0.1460 0.8567 0.1460 5 2 0.3556 0.6440 0.3556 0.6440 6 4 0.1297 0.6740 0.1297 0.6740 7 1 0.7964 0.1277 0.7964 0.1277 8 1 0.9655 0.4419 0.9655 0.4419 9 6 0.2464 0.2916 0.2464 0.2916 Energy with old centers, new clusters = 0.355866 Energy with new centers, new clusters = 0.355866 1 3 0.8297 0.7592 0.8297 0.7592 2 4 0.6823 0.9473 0.6823 0.9473 3 3 0.6001 0.6413 0.6001 0.6413 4 1 0.8567 0.1460 0.8567 0.1460 5 2 0.3556 0.6440 0.3556 0.6440 6 4 0.1297 0.6740 0.1297 0.6740 7 1 0.7964 0.1277 0.7964 0.1277 8 1 0.9655 0.4419 0.9655 0.4419 9 6 0.2464 0.2916 0.2464 0.2916 Energy with old centers, new clusters = 0.355866 Energy with new centers, new clusters = 0.355866 1 3 0.8297 0.7592 0.8297 0.7592 2 4 0.6823 0.9473 0.6823 0.9473 3 3 0.6001 0.6413 0.6001 0.6413 4 1 0.8567 0.1460 0.8567 0.1460 5 2 0.3556 0.6440 0.3556 0.6440 6 4 0.1297 0.6740 0.1297 0.6740 7 1 0.7964 0.1277 0.7964 0.1277 8 1 0.9655 0.4419 0.9655 0.4419 9 6 0.2464 0.2916 0.2464 0.2916 Energy with old centers, new clusters = 0.355866 Energy with new centers, new clusters = 0.355866 1 3 0.8297 0.7592 0.8297 0.7592 2 4 0.6823 0.9473 0.6823 0.9473 3 3 0.6001 0.6413 0.6001 0.6413 4 1 0.8567 0.1460 0.8567 0.1460 5 2 0.3556 0.6440 0.3556 0.6440 6 4 0.1297 0.6740 0.1297 0.6740 7 1 0.7964 0.1277 0.7964 0.1277 8 1 0.9655 0.4419 0.9655 0.4419 9 6 0.2464 0.2916 0.2464 0.2916 Energy with old centers, new clusters = 0.355866 Energy with new centers, new clusters = 0.355866 1 3 0.8297 0.7592 0.8297 0.7592 2 4 0.6823 0.9473 0.6823 0.9473 3 3 0.6001 0.6413 0.6001 0.6413 4 1 0.8567 0.1460 0.8567 0.1460 5 2 0.3556 0.6440 0.3556 0.6440 6 4 0.1297 0.6740 0.1297 0.6740 7 1 0.7964 0.1277 0.7964 0.1277 8 1 0.9655 0.4419 0.9655 0.4419 9 6 0.2464 0.2916 0.2464 0.2916 Energy with old centers, new clusters = 0.355866 Energy with new centers, new clusters = 0.355866 1 3 0.8297 0.7592 0.8297 0.7592 2 4 0.6823 0.9473 0.6823 0.9473 3 3 0.6001 0.6413 0.6001 0.6413 4 1 0.8567 0.1460 0.8567 0.1460 5 2 0.3556 0.6440 0.3556 0.6440 6 4 0.1297 0.6740 0.1297 0.6740 7 1 0.7964 0.1277 0.7964 0.1277 8 1 0.9655 0.4419 0.9655 0.4419 9 6 0.2464 0.2916 0.2464 0.2916 Energy with old centers, new clusters = 0.355866 Energy with new centers, new clusters = 0.355866 1 3 0.8297 0.7592 0.8297 0.7592 2 4 0.6823 0.9473 0.6823 0.9473 3 3 0.6001 0.6413 0.6001 0.6413 4 1 0.8567 0.1460 0.8567 0.1460 5 2 0.3556 0.6440 0.3556 0.6440 6 4 0.1297 0.6740 0.1297 0.6740 7 1 0.7964 0.1277 0.7964 0.1277 8 1 0.9655 0.4419 0.9655 0.4419 9 6 0.2464 0.2916 0.2464 0.2916 Energy with old centers, new clusters = 0.355866 Energy with new centers, new clusters = 0.355866 1 3 0.8297 0.7592 0.8297 0.7592 2 4 0.6823 0.9473 0.6823 0.9473 3 3 0.6001 0.6413 0.6001 0.6413 4 1 0.8567 0.1460 0.8567 0.1460 5 2 0.3556 0.6440 0.3556 0.6440 6 4 0.1297 0.6740 0.1297 0.6740 7 1 0.7964 0.1277 0.7964 0.1277 8 1 0.9655 0.4419 0.9655 0.4419 9 6 0.2464 0.2916 0.2464 0.2916 Energy with old centers, new clusters = 0.355866 Energy with new centers, new clusters = 0.355866 1 3 0.8297 0.7592 0.8297 0.7592 2 4 0.6823 0.9473 0.6823 0.9473 3 3 0.6001 0.6413 0.6001 0.6413 4 1 0.8567 0.1460 0.8567 0.1460 5 2 0.3556 0.6440 0.3556 0.6440 6 4 0.1297 0.6740 0.1297 0.6740 7 1 0.7964 0.1277 0.7964 0.1277 8 1 0.9655 0.4419 0.9655 0.4419 9 6 0.2464 0.2916 0.2464 0.2916 Energy with old centers, new clusters = 0.355866 Energy with new centers, new clusters = 0.355866 1 3 0.8297 0.7592 0.8297 0.7592 2 4 0.6823 0.9473 0.6823 0.9473 3 3 0.6001 0.6413 0.6001 0.6413 4 1 0.8567 0.1460 0.8567 0.1460 5 2 0.3556 0.6440 0.3556 0.6440 6 4 0.1297 0.6740 0.1297 0.6740 7 1 0.7964 0.1277 0.7964 0.1277 8 1 0.9655 0.4419 0.9655 0.4419 9 6 0.2464 0.2916 0.2464 0.2916 Energy with old centers, new clusters = 0.355866 Energy with new centers, new clusters = 0.355866 1 3 0.8297 0.7592 0.8297 0.7592 2 4 0.6823 0.9473 0.6823 0.9473 3 3 0.6001 0.6413 0.6001 0.6413 4 1 0.8567 0.1460 0.8567 0.1460 5 2 0.3556 0.6440 0.3556 0.6440 6 4 0.1297 0.6740 0.1297 0.6740 7 1 0.7964 0.1277 0.7964 0.1277 8 1 0.9655 0.4419 0.9655 0.4419 9 6 0.2464 0.2916 0.2464 0.2916 Energy with old centers, new clusters = 0.355866 Energy with new centers, new clusters = 0.355866 1 3 0.8297 0.7592 0.8297 0.7592 2 4 0.6823 0.9473 0.6823 0.9473 3 3 0.6001 0.6413 0.6001 0.6413 4 1 0.8567 0.1460 0.8567 0.1460 5 2 0.3556 0.6440 0.3556 0.6440 6 4 0.1297 0.6740 0.1297 0.6740 7 1 0.7964 0.1277 0.7964 0.1277 8 1 0.9655 0.4419 0.9655 0.4419 9 6 0.2464 0.2916 0.2464 0.2916 Energy with old centers, new clusters = 0.355866 Energy with new centers, new clusters = 0.355866 1 3 0.8297 0.7592 0.8297 0.7592 2 4 0.6823 0.9473 0.6823 0.9473 3 3 0.6001 0.6413 0.6001 0.6413 4 1 0.8567 0.1460 0.8567 0.1460 5 2 0.3556 0.6440 0.3556 0.6440 6 4 0.1297 0.6740 0.1297 0.6740 7 1 0.7964 0.1277 0.7964 0.1277 8 1 0.9655 0.4419 0.9655 0.4419 9 6 0.2464 0.2916 0.2464 0.2916 Energy with old centers, new clusters = 0.355866 Energy with new centers, new clusters = 0.355866 1 3 0.8297 0.7592 0.8297 0.7592 2 4 0.6823 0.9473 0.6823 0.9473 3 3 0.6001 0.6413 0.6001 0.6413 4 1 0.8567 0.1460 0.8567 0.1460 5 2 0.3556 0.6440 0.3556 0.6440 6 4 0.1297 0.6740 0.1297 0.6740 7 1 0.7964 0.1277 0.7964 0.1277 8 1 0.9655 0.4419 0.9655 0.4419 9 6 0.2464 0.2916 0.2464 0.2916 Energy with old centers, new clusters = 0.355866 Energy with new centers, new clusters = 0.355866 1 3 0.8297 0.7592 0.8297 0.7592 2 4 0.6823 0.9473 0.6823 0.9473 3 3 0.6001 0.6413 0.6001 0.6413 4 1 0.8567 0.1460 0.8567 0.1460 5 2 0.3556 0.6440 0.3556 0.6440 6 4 0.1297 0.6740 0.1297 0.6740 7 1 0.7964 0.1277 0.7964 0.1277 8 1 0.9655 0.4419 0.9655 0.4419 9 6 0.2464 0.2916 0.2464 0.2916 Energy with old centers, new clusters = 0.355866 Energy with new centers, new clusters = 0.355866 1 3 0.8297 0.7592 0.8297 0.7592 2 4 0.6823 0.9473 0.6823 0.9473 3 3 0.6001 0.6413 0.6001 0.6413 4 1 0.8567 0.1460 0.8567 0.1460 5 2 0.3556 0.6440 0.3556 0.6440 6 4 0.1297 0.6740 0.1297 0.6740 7 1 0.7964 0.1277 0.7964 0.1277 8 1 0.9655 0.4419 0.9655 0.4419 9 6 0.2464 0.2916 0.2464 0.2916 Number of clusters = 10 Initial energy = 7.47102 1 4 0.2737 0.9764 2 1 0.5783 0.0457 3 2 0.2364 0.8178 4 4 0.6020 0.9851 5 2 0.9553 0.8013 6 2 0.2798 0.5156 7 4 0.1294 0.4834 8 3 0.6043 0.7915 9 0 0.8266 0.7236 10 3 0.1181 0.6357 Energy with old centers, new clusters = 0.789264 Number of empty clusters was 1 Energy with new centers, new clusters = 0.497479 1 0 0.2737 0.9764 0.2344 0.5957 2 3 0.5783 0.0457 0.6279 0.0986 3 1 0.2364 0.8178 0.3332 0.6864 4 4 0.6020 0.9851 0.6823 0.9473 5 1 0.9553 0.8013 0.9328 0.7709 6 5 0.2798 0.5156 0.3529 0.4600 7 2 0.1294 0.4834 0.0451 0.3093 8 3 0.6043 0.7915 0.6001 0.6413 9 3 0.8266 0.7236 0.8406 0.6496 10 3 0.1181 0.6357 0.0966 0.7022 Energy with old centers, new clusters = 0.393016 Energy with new centers, new clusters = 0.226624 1 2 0.2344 0.5957 0.1954 0.5836 2 2 0.6279 0.0986 0.8265 0.1369 3 2 0.3332 0.6864 0.3556 0.6440 4 4 0.6823 0.9473 0.6823 0.9473 5 1 0.9328 0.7709 0.9328 0.7709 6 3 0.3529 0.4600 0.3858 0.3696 7 3 0.0451 0.3093 0.1069 0.2135 8 3 0.6001 0.6413 0.6001 0.6413 9 3 0.8406 0.6496 0.8406 0.6496 10 2 0.0966 0.7022 0.0641 0.7645 Energy with old centers, new clusters = 0.226624 Energy with new centers, new clusters = 0.226624 1 2 0.1954 0.5836 0.1954 0.5836 2 2 0.8265 0.1369 0.8265 0.1369 3 2 0.3556 0.6440 0.3556 0.6440 4 4 0.6823 0.9473 0.6823 0.9473 5 1 0.9328 0.7709 0.9328 0.7709 6 3 0.3858 0.3696 0.3858 0.3696 7 3 0.1069 0.2135 0.1069 0.2135 8 3 0.6001 0.6413 0.6001 0.6413 9 3 0.8406 0.6496 0.8406 0.6496 10 2 0.0641 0.7645 0.0641 0.7645 Energy with old centers, new clusters = 0.226624 Energy with new centers, new clusters = 0.226624 1 2 0.1954 0.5836 0.1954 0.5836 2 2 0.8265 0.1369 0.8265 0.1369 3 2 0.3556 0.6440 0.3556 0.6440 4 4 0.6823 0.9473 0.6823 0.9473 5 1 0.9328 0.7709 0.9328 0.7709 6 3 0.3858 0.3696 0.3858 0.3696 7 3 0.1069 0.2135 0.1069 0.2135 8 3 0.6001 0.6413 0.6001 0.6413 9 3 0.8406 0.6496 0.8406 0.6496 10 2 0.0641 0.7645 0.0641 0.7645 Energy with old centers, new clusters = 0.226624 Energy with new centers, new clusters = 0.226624 1 2 0.1954 0.5836 0.1954 0.5836 2 2 0.8265 0.1369 0.8265 0.1369 3 2 0.3556 0.6440 0.3556 0.6440 4 4 0.6823 0.9473 0.6823 0.9473 5 1 0.9328 0.7709 0.9328 0.7709 6 3 0.3858 0.3696 0.3858 0.3696 7 3 0.1069 0.2135 0.1069 0.2135 8 3 0.6001 0.6413 0.6001 0.6413 9 3 0.8406 0.6496 0.8406 0.6496 10 2 0.0641 0.7645 0.0641 0.7645 Energy with old centers, new clusters = 0.226624 Energy with new centers, new clusters = 0.226624 1 2 0.1954 0.5836 0.1954 0.5836 2 2 0.8265 0.1369 0.8265 0.1369 3 2 0.3556 0.6440 0.3556 0.6440 4 4 0.6823 0.9473 0.6823 0.9473 5 1 0.9328 0.7709 0.9328 0.7709 6 3 0.3858 0.3696 0.3858 0.3696 7 3 0.1069 0.2135 0.1069 0.2135 8 3 0.6001 0.6413 0.6001 0.6413 9 3 0.8406 0.6496 0.8406 0.6496 10 2 0.0641 0.7645 0.0641 0.7645 Energy with old centers, new clusters = 0.226624 Energy with new centers, new clusters = 0.226624 1 2 0.1954 0.5836 0.1954 0.5836 2 2 0.8265 0.1369 0.8265 0.1369 3 2 0.3556 0.6440 0.3556 0.6440 4 4 0.6823 0.9473 0.6823 0.9473 5 1 0.9328 0.7709 0.9328 0.7709 6 3 0.3858 0.3696 0.3858 0.3696 7 3 0.1069 0.2135 0.1069 0.2135 8 3 0.6001 0.6413 0.6001 0.6413 9 3 0.8406 0.6496 0.8406 0.6496 10 2 0.0641 0.7645 0.0641 0.7645 Energy with old centers, new clusters = 0.226624 Energy with new centers, new clusters = 0.226624 1 2 0.1954 0.5836 0.1954 0.5836 2 2 0.8265 0.1369 0.8265 0.1369 3 2 0.3556 0.6440 0.3556 0.6440 4 4 0.6823 0.9473 0.6823 0.9473 5 1 0.9328 0.7709 0.9328 0.7709 6 3 0.3858 0.3696 0.3858 0.3696 7 3 0.1069 0.2135 0.1069 0.2135 8 3 0.6001 0.6413 0.6001 0.6413 9 3 0.8406 0.6496 0.8406 0.6496 10 2 0.0641 0.7645 0.0641 0.7645 Energy with old centers, new clusters = 0.226624 Energy with new centers, new clusters = 0.226624 1 2 0.1954 0.5836 0.1954 0.5836 2 2 0.8265 0.1369 0.8265 0.1369 3 2 0.3556 0.6440 0.3556 0.6440 4 4 0.6823 0.9473 0.6823 0.9473 5 1 0.9328 0.7709 0.9328 0.7709 6 3 0.3858 0.3696 0.3858 0.3696 7 3 0.1069 0.2135 0.1069 0.2135 8 3 0.6001 0.6413 0.6001 0.6413 9 3 0.8406 0.6496 0.8406 0.6496 10 2 0.0641 0.7645 0.0641 0.7645 Energy with old centers, new clusters = 0.226624 Energy with new centers, new clusters = 0.226624 1 2 0.1954 0.5836 0.1954 0.5836 2 2 0.8265 0.1369 0.8265 0.1369 3 2 0.3556 0.6440 0.3556 0.6440 4 4 0.6823 0.9473 0.6823 0.9473 5 1 0.9328 0.7709 0.9328 0.7709 6 3 0.3858 0.3696 0.3858 0.3696 7 3 0.1069 0.2135 0.1069 0.2135 8 3 0.6001 0.6413 0.6001 0.6413 9 3 0.8406 0.6496 0.8406 0.6496 10 2 0.0641 0.7645 0.0641 0.7645 Energy with old centers, new clusters = 0.226624 Energy with new centers, new clusters = 0.226624 1 2 0.1954 0.5836 0.1954 0.5836 2 2 0.8265 0.1369 0.8265 0.1369 3 2 0.3556 0.6440 0.3556 0.6440 4 4 0.6823 0.9473 0.6823 0.9473 5 1 0.9328 0.7709 0.9328 0.7709 6 3 0.3858 0.3696 0.3858 0.3696 7 3 0.1069 0.2135 0.1069 0.2135 8 3 0.6001 0.6413 0.6001 0.6413 9 3 0.8406 0.6496 0.8406 0.6496 10 2 0.0641 0.7645 0.0641 0.7645 Energy with old centers, new clusters = 0.226624 Energy with new centers, new clusters = 0.226624 1 2 0.1954 0.5836 0.1954 0.5836 2 2 0.8265 0.1369 0.8265 0.1369 3 2 0.3556 0.6440 0.3556 0.6440 4 4 0.6823 0.9473 0.6823 0.9473 5 1 0.9328 0.7709 0.9328 0.7709 6 3 0.3858 0.3696 0.3858 0.3696 7 3 0.1069 0.2135 0.1069 0.2135 8 3 0.6001 0.6413 0.6001 0.6413 9 3 0.8406 0.6496 0.8406 0.6496 10 2 0.0641 0.7645 0.0641 0.7645 Energy with old centers, new clusters = 0.226624 Energy with new centers, new clusters = 0.226624 1 2 0.1954 0.5836 0.1954 0.5836 2 2 0.8265 0.1369 0.8265 0.1369 3 2 0.3556 0.6440 0.3556 0.6440 4 4 0.6823 0.9473 0.6823 0.9473 5 1 0.9328 0.7709 0.9328 0.7709 6 3 0.3858 0.3696 0.3858 0.3696 7 3 0.1069 0.2135 0.1069 0.2135 8 3 0.6001 0.6413 0.6001 0.6413 9 3 0.8406 0.6496 0.8406 0.6496 10 2 0.0641 0.7645 0.0641 0.7645 Energy with old centers, new clusters = 0.226624 Energy with new centers, new clusters = 0.226624 1 2 0.1954 0.5836 0.1954 0.5836 2 2 0.8265 0.1369 0.8265 0.1369 3 2 0.3556 0.6440 0.3556 0.6440 4 4 0.6823 0.9473 0.6823 0.9473 5 1 0.9328 0.7709 0.9328 0.7709 6 3 0.3858 0.3696 0.3858 0.3696 7 3 0.1069 0.2135 0.1069 0.2135 8 3 0.6001 0.6413 0.6001 0.6413 9 3 0.8406 0.6496 0.8406 0.6496 10 2 0.0641 0.7645 0.0641 0.7645 Energy with old centers, new clusters = 0.226624 Energy with new centers, new clusters = 0.226624 1 2 0.1954 0.5836 0.1954 0.5836 2 2 0.8265 0.1369 0.8265 0.1369 3 2 0.3556 0.6440 0.3556 0.6440 4 4 0.6823 0.9473 0.6823 0.9473 5 1 0.9328 0.7709 0.9328 0.7709 6 3 0.3858 0.3696 0.3858 0.3696 7 3 0.1069 0.2135 0.1069 0.2135 8 3 0.6001 0.6413 0.6001 0.6413 9 3 0.8406 0.6496 0.8406 0.6496 10 2 0.0641 0.7645 0.0641 0.7645 Energy with old centers, new clusters = 0.226624 Energy with new centers, new clusters = 0.226624 1 2 0.1954 0.5836 0.1954 0.5836 2 2 0.8265 0.1369 0.8265 0.1369 3 2 0.3556 0.6440 0.3556 0.6440 4 4 0.6823 0.9473 0.6823 0.9473 5 1 0.9328 0.7709 0.9328 0.7709 6 3 0.3858 0.3696 0.3858 0.3696 7 3 0.1069 0.2135 0.1069 0.2135 8 3 0.6001 0.6413 0.6001 0.6413 9 3 0.8406 0.6496 0.8406 0.6496 10 2 0.0641 0.7645 0.0641 0.7645 Energy with old centers, new clusters = 0.226624 Energy with new centers, new clusters = 0.226624 1 2 0.1954 0.5836 0.1954 0.5836 2 2 0.8265 0.1369 0.8265 0.1369 3 2 0.3556 0.6440 0.3556 0.6440 4 4 0.6823 0.9473 0.6823 0.9473 5 1 0.9328 0.7709 0.9328 0.7709 6 3 0.3858 0.3696 0.3858 0.3696 7 3 0.1069 0.2135 0.1069 0.2135 8 3 0.6001 0.6413 0.6001 0.6413 9 3 0.8406 0.6496 0.8406 0.6496 10 2 0.0641 0.7645 0.0641 0.7645 Energy with old centers, new clusters = 0.226624 Energy with new centers, new clusters = 0.226624 1 2 0.1954 0.5836 0.1954 0.5836 2 2 0.8265 0.1369 0.8265 0.1369 3 2 0.3556 0.6440 0.3556 0.6440 4 4 0.6823 0.9473 0.6823 0.9473 5 1 0.9328 0.7709 0.9328 0.7709 6 3 0.3858 0.3696 0.3858 0.3696 7 3 0.1069 0.2135 0.1069 0.2135 8 3 0.6001 0.6413 0.6001 0.6413 9 3 0.8406 0.6496 0.8406 0.6496 10 2 0.0641 0.7645 0.0641 0.7645 Energy with old centers, new clusters = 0.226624 Energy with new centers, new clusters = 0.226624 1 2 0.1954 0.5836 0.1954 0.5836 2 2 0.8265 0.1369 0.8265 0.1369 3 2 0.3556 0.6440 0.3556 0.6440 4 4 0.6823 0.9473 0.6823 0.9473 5 1 0.9328 0.7709 0.9328 0.7709 6 3 0.3858 0.3696 0.3858 0.3696 7 3 0.1069 0.2135 0.1069 0.2135 8 3 0.6001 0.6413 0.6001 0.6413 9 3 0.8406 0.6496 0.8406 0.6496 10 2 0.0641 0.7645 0.0641 0.7645 Energy with old centers, new clusters = 0.226624 Energy with new centers, new clusters = 0.226624 1 2 0.1954 0.5836 0.1954 0.5836 2 2 0.8265 0.1369 0.8265 0.1369 3 2 0.3556 0.6440 0.3556 0.6440 4 4 0.6823 0.9473 0.6823 0.9473 5 1 0.9328 0.7709 0.9328 0.7709 6 3 0.3858 0.3696 0.3858 0.3696 7 3 0.1069 0.2135 0.1069 0.2135 8 3 0.6001 0.6413 0.6001 0.6413 9 3 0.8406 0.6496 0.8406 0.6496 10 2 0.0641 0.7645 0.0641 0.7645 Energy table: Number Total Energy Square of Energy per Root Clusters point 1 3.85373 0.154149 0.392618 2 2.09465 0.837859E-01 0.289458 3 1.17225 0.468898E-01 0.216541 4 0.765798 0.306319E-01 0.175020 5 0.918875 0.367550E-01 0.191716 6 0.498102 0.199241E-01 0.141153 7 0.441416 0.176566E-01 0.132878 8 0.347621 0.139048E-01 0.117919 9 0.355866 0.142347E-01 0.119309 10 0.226624 0.906497E-02 0.952102E-01 cluster_energy(): Normal end of execution. October 6 2025 6:02:55.824 PM