These results were obtained using the k-means algorithm with the provided labor dataset,
containing 58 rows and 16 attributes (not including the row indexes or the last output attribute).
The following method was used to compute distances:
*************** Iteration 1 *************** Computing Centroids: Centroid 0 = 1.000, 5.000, ?, ?, ?, 40.000, ?, ?, 2.000, ?, 11.000, 'average', ?, ?, 'yes', ? Centroid 1 = 2.000, 4.500, 5.800, ?, ?, 35.000, 'ret_allw', ?, ?, 'yes', 11.000, 'below_average', ?, 'full', ?, 'full' Centroid 2 = ?, ?, ?, ?, ?, 38.000, 'empl_contr', ?, 5.000, ?, 11.000, 'generous', 'yes', 'half', 'yes', 'half' Centroid 3 = 3.000, 3.700, 4.000, 5.000, 'tc', ?, ?, ?, ?, 'yes', ?, ?, ?, ?, 'yes', ? Centroid 4 = 3.000, 4.500, 4.500, 5.000, ?, 40.000, ?, ?, ?, ?, 12.000, 'average', ?, 'half', 'yes', 'half' Making Assignments 0=0 1=1 2=2 3=3 4=4 5=3 6=4 7=0 8=3 9=2 10=3 11=3 12=3 13=3 14=1 15=2 16=1 17=3 18=2 19=3 20=2 21=3 22=3 23=3 24=2 25=2 26=1 27=3 28=2 29=3 30=4 31=2 32=2 33=0 34=3 35=2 36=3 37=2 38=2 39=4 40=0 41=2 42=2 43=3 44=3 45=0 46=4 47=2 48=2 49=0 50=2 51=2 52=3 53=4 54=2 55=4 56=1 57=0 SSE: 820.010 *************** Iteration 2 *************** Computing Centroids: Centroid 0 = 2.143, 5.017, 4.575, 1.650, 'none', 40.167, 'none', ?, 2.500, 'no', 11.143, 'below_average', 'no', 'none', 'yes', 'none' Centroid 1 = 1.800, 4.160, 5.433, 4.000, 'none', 35.250, 'ret_allw', ?, 8.667, 'yes', 10.600, 'below_average', 'yes', 'full', 'yes', 'full' Centroid 2 = 2.053, 3.679, 3.380, 2.167, 'none', 38.333, 'empl_contr', 8.500, 4.444, 'no', 10.722, 'average', 'yes', 'half', 'yes', 'full' Centroid 3 = 2.263, 3.221, 3.935, 4.317, 'tcf', 37.167, 'none', 6.600, 5.000, 'yes', 11.529, 'below_average', 'no', 'half', 'yes', 'full' Centroid 4 = 2.714, 4.429, 4.357, 5.000, 'none', 40.000, 'empl_contr', ?, 5.000, 'no', 11.571, 'average', 'yes', 'half', 'yes', 'half' Making Assignments 0=0 1=1 2=2 3=3 4=4 5=3 6=4 7=0 8=1 9=4 10=3 11=4 12=0 13=3 14=1 15=2 16=3 17=0 18=3 19=1 20=3 21=2 22=1 23=2 24=2 25=2 26=1 27=1 28=2 29=3 30=4 31=2 32=2 33=0 34=0 35=2 36=0 37=0 38=2 39=4 40=0 41=2 42=2 43=2 44=0 45=0 46=4 47=2 48=4 49=4 50=0 51=3 52=3 53=4 54=4 55=4 56=1 57=0 SSE: 1180.196 *************** Iteration 3 *************** Computing Centroids: Centroid 0 = 1.923, 3.983, 4.229, 1.800, 'none', 39.909, 'none', 2.500, 2.200, 'no', 10.538, 'below_average', 'no', 'half', 'yes', 'none' Centroid 1 = 2.125, 3.938, 5.043, 4.300, 'tcf', 34.143, 'ret_allw', 12.500, 13.500, 'yes', 11.286, 'generous', 'yes', 'full', 'yes', 'full' Centroid 2 = 2.143, 3.257, 3.008, 2.167, 'none', 38.667, 'empl_contr', 8.000, 4.400, 'no', 10.643, 'below_average', 'yes', 'half', 'yes', 'full' Centroid 3 = 2.400, 2.930, 3.550, 4.800, 'tcf', 36.125, 'none', ?, 3.800, 'yes', 12.000, 'generous', 'yes', 'full', 'yes', 'full' Centroid 4 = 2.417, 4.900, 4.573, 5.000, 'none', 39.455, 'empl_contr', 12.000, 4.857, 'no', 11.667, 'average', 'yes', 'full', 'yes', 'full' Making Assignments 0=0 1=1 2=2 3=3 4=4 5=3 6=4 7=0 8=1 9=4 10=3 11=4 12=0 13=3 14=1 15=4 16=3 17=0 18=2 19=3 20=4 21=2 22=1 23=0 24=2 25=2 26=1 27=1 28=4 29=3 30=4 31=2 32=2 33=0 34=0 35=2 36=0 37=0 38=2 39=4 40=0 41=2 42=2 43=2 44=0 45=0 46=4 47=4 48=4 49=4 50=4 51=3 52=3 53=4 54=4 55=4 56=1 57=0 SSE: 924.555 *************** Iteration 4 *************** Computing Centroids: Centroid 0 = 1.923, 3.775, 4.043, 1.800, 'none', 39.917, 'none', 2.500, 2.364, 'no', 10.462, 'below_average', 'no', 'half', 'yes', 'none' Centroid 1 = 2.143, 3.929, 5.050, 4.300, 'none', 34.000, 'ret_allw', 12.000, 16.333, 'yes', 10.667, 'below_average', 'yes', 'full', 'yes', 'full' Centroid 2 = 2.091, 2.636, 2.500, 2.167, 'none', 38.833, 'none', 8.000, 4.333, 'yes', 10.667, 'average', 'yes', 'none', 'yes', 'full' Centroid 3 = 2.556, 3.000, 3.625, 4.800, 'tcf', 35.429, 'none', 13.000, 4.000, 'yes', 12.571, 'generous', 'yes', 'half', 'yes', 'full' Centroid 4 = 2.294, 4.953, 4.537, 5.000, 'none', 38.933, 'empl_contr', 12.000, 4.778, 'no', 11.562, 'average', 'yes', 'full', 'yes', 'full' Making Assignments 0=0 1=1 2=4 3=3 4=4 5=3 6=4 7=0 8=1 9=4 10=3 11=4 12=0 13=3 14=4 15=4 16=3 17=0 18=2 19=3 20=4 21=2 22=1 23=0 24=2 25=2 26=1 27=3 28=4 29=3 30=4 31=2 32=2 33=0 34=0 35=2 36=0 37=0 38=2 39=4 40=0 41=2 42=2 43=2 44=0 45=0 46=4 47=4 48=4 49=4 50=4 51=3 52=3 53=4 54=4 55=4 56=1 57=0 SSE: 868.243 *************** Iteration 5 *************** Computing Centroids: Centroid 0 = 1.923, 3.775, 4.043, 1.800, 'none', 39.917, 'none', 2.500, 2.364, 'no', 10.462, 'below_average', 'no', 'half', 'yes', 'none' Centroid 1 = 2.400, 4.300, 5.460, 4.300, 'tcf', 33.750, 'ret_allw', 12.000, 19.500, 'yes', 10.250, 'below_average', 'yes', 'full', 'yes', 'full' Centroid 2 = 2.091, 2.636, 2.500, 2.167, 'none', 38.909, 'none', 8.000, 4.000, 'yes', 10.636, 'average', 'yes', 'none', 'yes', 'full' Centroid 3 = 2.500, 3.000, 3.556, 4.800, 'tcf', 35.125, 'none', 13.000, 4.000, 'yes', 12.500, 'generous', 'yes', 'half', 'yes', 'full' Centroid 4 = 2.222, 4.844, 4.537, 5.000, 'none', 38.706, 'empl_contr', 12.000, 5.273, 'no', 11.500, 'average', 'yes', 'full', 'yes', 'full' Making Assignments 0=0 1=1 2=4 3=3 4=4 5=3 6=4 7=0 8=1 9=4 10=3 11=4 12=0 13=3 14=4 15=4 16=3 17=0 18=2 19=3 20=4 21=2 22=1 23=0 24=2 25=2 26=1 27=3 28=4 29=3 30=4 31=2 32=2 33=0 34=0 35=2 36=0 37=0 38=2 39=4 40=0 41=2 42=2 43=2 44=0 45=0 46=4 47=4 48=4 49=4 50=4 51=3 52=3 53=4 54=4 55=4 56=1 57=0 SSE: 838.285 *************** Iteration 6 *************** Computing Centroids: Centroid 0 = 1.923, 3.775, 4.043, 1.800, 'none', 39.917, 'none', 2.500, 2.364, 'no', 10.462, 'below_average', 'no', 'half', 'yes', 'none' Centroid 1 = 2.400, 4.300, 5.460, 4.300, 'tcf', 33.750, 'ret_allw', 12.000, 19.500, 'yes', 10.250, 'below_average', 'yes', 'full', 'yes', 'full' Centroid 2 = 2.091, 2.636, 2.500, 2.167, 'none', 38.909, 'none', 8.000, 4.000, 'yes', 10.636, 'average', 'yes', 'none', 'yes', 'full' Centroid 3 = 2.500, 3.000, 3.556, 4.800, 'tcf', 35.125, 'none', 13.000, 4.000, 'yes', 12.500, 'generous', 'yes', 'half', 'yes', 'full' Centroid 4 = 2.222, 4.844, 4.537, 5.000, 'none', 38.706, 'empl_contr', 12.000, 5.273, 'no', 11.500, 'average', 'yes', 'full', 'yes', 'full' Making Assignments 0=0 1=1 2=4 3=3 4=4 5=3 6=4 7=0 8=1 9=4 10=3 11=4 12=0 13=3 14=4 15=4 16=3 17=0 18=2 19=3 20=4 21=2 22=1 23=0 24=2 25=2 26=1 27=3 28=4 29=3 30=4 31=2 32=2 33=0 34=0 35=2 36=0 37=0 38=2 39=4 40=0 41=2 42=2 43=2 44=0 45=0 46=4 47=4 48=4 49=4 50=4 51=3 52=3 53=4 54=4 55=4 56=1 57=0 SSE: 838.285 SSE has converged
*************** Iteration 1 *************** Computing Centroids: Centroid 0 = 0.000, 0.600, ?, ?, ?, 0.929, ?, ?, 0.080, ?, 0.333, 'average', ?, ?, 'yes', ? Centroid 1 = 0.333, 0.500, 0.760, ?, ?, 0.571, 'ret_allw', ?, ?, 'yes', 0.333, 'below_average', ?, 'full', ?, 'full' Centroid 2 = ?, ?, ?, ?, ?, 0.786, 'empl_contr', ?, 0.200, ?, 0.333, 'generous', 'yes', 'half', 'yes', 'half' Centroid 3 = 0.667, 0.340, 0.400, 0.976, 'tc', ?, ?, ?, ?, 'yes', ?, ?, ?, ?, 'yes', ? Centroid 4 = 0.667, 0.500, 0.500, 0.976, ?, 0.929, ?, ?, ?, ?, 0.500, 'average', ?, 'half', 'yes', 'half' Making Assignments 0=0 1=1 2=2 3=3 4=4 5=4 6=4 7=1 8=1 9=2 10=4 11=1 12=4 13=4 14=0 15=4 16=1 17=1 18=0 19=1 20=1 21=1 22=4 23=4 24=0 25=4 26=1 27=1 28=1 29=4 30=4 31=4 32=4 33=1 34=4 35=4 36=0 37=2 38=4 39=4 40=0 41=1 42=4 43=4 44=1 45=4 46=0 47=4 48=1 49=1 50=1 51=3 52=4 53=1 54=2 55=4 56=1 57=4 SSE: 561.627 *************** Iteration 2 *************** Computing Centroids: Centroid 0 = 0.048, 0.357, 0.400, ?, 'none', 0.833, 'none', 0.333, 0.160, 'yes', 0.286, 'average', 'no', 'none', 'no', 'none' Centroid 1 = 0.350, 0.467, 0.530, 0.524, 'none', 0.770, 'none', 0.688, 0.252, 'yes', 0.383, 'below_average', 'yes', 'full', 'yes', 'full' Centroid 2 = 0.222, 0.500, 0.480, ?, 'none', 0.821, 'empl_contr', 0.333, 0.180, 'no', 0.250, 'generous', 'yes', 'half', 'yes', 'none' Centroid 3 = 0.667, 0.170, 0.300, 0.976, 'tcf', ?, 'empl_contr', ?, ?, 'yes', ?, ?, 'yes', 'half', 'yes', ? Centroid 4 = 0.533, 0.272, 0.297, 0.664, 'none', 0.795, 'none', 0.000, 0.138, 'no', 0.370, 'average', 'yes', 'half', 'yes', 'full' Making Assignments 0=4 1=1 2=2 3=3 4=4 5=0 6=2 7=1 8=1 9=2 10=4 11=1 12=2 13=1 14=2 15=1 16=1 17=2 18=0 19=2 20=1 21=1 22=3 23=2 24=2 25=4 26=1 27=1 28=1 29=4 30=4 31=4 32=4 33=0 34=4 35=4 36=0 37=2 38=4 39=1 40=0 41=1 42=4 43=1 44=0 45=2 46=1 47=2 48=1 49=1 50=1 51=3 52=4 53=4 54=2 55=4 56=1 57=4 SSE: 423.394 *************** Iteration 3 *************** Computing Centroids: Centroid 0 = 0.167, 0.200, 0.367, ?, 'none', 0.829, 'none', 0.167, 0.120, 'yes', 0.306, 'average', 'no', 'none', 'no', 'none' Centroid 1 = 0.367, 0.481, 0.497, 0.683, 'none', 0.766, 'none', 0.917, 0.273, 'yes', 0.408, 'below_average', 'yes', 'full', 'yes', 'full' Centroid 2 = 0.250, 0.428, 0.486, 0.976, 'none', 0.815, 'empl_contr', 0.417, 0.171, 'no', 0.278, 'generous', 'yes', 'half', 'yes', 'half' Centroid 3 = 0.667, 0.213, 0.333, 0.927, 'tcf', 0.000, 'empl_contr', ?, ?, 'yes', ?, ?, 'yes', 'half', 'yes', ? Centroid 4 = 0.583, 0.240, 0.229, 0.578, 'none', 0.844, 'none', 0.000, 0.136, 'no', 0.365, 'average', 'yes', 'half', 'yes', 'full' Making Assignments 0=4 1=1 2=2 3=3 4=2 5=0 6=2 7=1 8=1 9=2 10=4 11=1 12=2 13=1 14=2 15=1 16=1 17=2 18=0 19=2 20=1 21=1 22=3 23=2 24=2 25=4 26=1 27=1 28=1 29=4 30=4 31=4 32=0 33=0 34=4 35=4 36=0 37=2 38=4 39=1 40=0 41=2 42=4 43=1 44=0 45=2 46=1 47=2 48=1 49=1 50=1 51=3 52=1 53=4 54=2 55=2 56=1 57=4 SSE: 417.225 *************** Iteration 4 *************** Computing Centroids: Centroid 0 = 0.190, 0.186, 0.300, ?, 'none', 0.821, 'none', 0.167, 0.120, 'yes', 0.286, 'average', 'no', 'none', 'no', 'none' Centroid 1 = 0.383, 0.496, 0.507, 0.726, 'none', 0.754, 'none', 0.917, 0.273, 'yes', 0.417, 'below_average', 'yes', 'full', 'yes', 'full' Centroid 2 = 0.311, 0.416, 0.470, 0.976, 'none', 0.829, 'empl_contr', 0.417, 0.171, 'no', 0.322, 'generous', 'yes', 'half', 'yes', 'half' Centroid 3 = 0.667, 0.213, 0.333, 0.927, 'tcf', 0.000, 'empl_contr', ?, ?, 'yes', ?, ?, 'yes', 'half', 'yes', ? Centroid 4 = 0.583, 0.191, 0.160, 0.425, 'none', 0.857, 'none', 0.000, 0.136, 'no', 0.333, 'average', 'yes', 'half', 'yes', 'full' Making Assignments 0=4 1=1 2=2 3=3 4=2 5=0 6=2 7=1 8=1 9=2 10=1 11=1 12=2 13=1 14=2 15=1 16=1 17=4 18=0 19=2 20=1 21=1 22=3 23=2 24=2 25=4 26=1 27=1 28=1 29=4 30=4 31=4 32=0 33=0 34=4 35=4 36=0 37=2 38=4 39=2 40=0 41=2 42=4 43=1 44=0 45=2 46=1 47=2 48=1 49=1 50=1 51=3 52=1 53=4 54=2 55=2 56=1 57=4 SSE: 416.576 *************** Iteration 5 *************** Computing Centroids: Centroid 0 = 0.190, 0.186, 0.300, ?, 'none', 0.821, 'none', 0.167, 0.120, 'yes', 0.286, 'average', 'no', 'none', 'no', 'none' Centroid 1 = 0.400, 0.486, 0.507, 0.756, 'none', 0.738, 'none', 0.917, 0.269, 'yes', 0.425, 'below_average', 'yes', 'full', 'yes', 'full' Centroid 2 = 0.333, 0.448, 0.464, 0.976, 'none', 0.829, 'empl_contr', 0.521, 0.175, 'no', 0.356, 'generous', 'yes', 'half', 'yes', 'half' Centroid 3 = 0.667, 0.213, 0.333, 0.927, 'tcf', 0.000, 'empl_contr', ?, ?, 'yes', ?, ?, 'yes', 'half', 'yes', ? Centroid 4 = 0.528, 0.165, 0.133, 0.350, 'none', 0.881, 'none', 0.000, 0.136, 'no', 0.278, 'average', 'yes', 'half', 'yes', 'full' Making Assignments 0=4 1=1 2=2 3=3 4=2 5=0 6=2 7=1 8=1 9=2 10=1 11=1 12=2 13=1 14=2 15=2 16=1 17=4 18=0 19=2 20=1 21=1 22=3 23=2 24=2 25=4 26=1 27=1 28=1 29=4 30=4 31=4 32=4 33=0 34=4 35=4 36=0 37=2 38=4 39=2 40=0 41=2 42=4 43=1 44=0 45=2 46=1 47=2 48=1 49=1 50=1 51=3 52=1 53=4 54=2 55=2 56=1 57=4 SSE: 416.323 *************** Iteration 6 *************** Computing Centroids: Centroid 0 = 0.167, 0.200, 0.367, ?, 'none', 0.829, 'none', 0.167, 0.120, 'yes', 0.306, 'average', 'no', 'none', 'no', 'none' Centroid 1 = 0.404, 0.485, 0.513, 0.756, 'none', 0.739, 'none', 0.917, 0.269, 'yes', 0.430, 'below_average', 'yes', 'full', 'yes', 'full' Centroid 2 = 0.333, 0.451, 0.458, 0.976, 'none', 0.821, 'empl_contr', 0.521, 0.175, 'no', 0.354, 'generous', 'yes', 'half', 'yes', 'half' Centroid 3 = 0.667, 0.213, 0.333, 0.927, 'tcf', 0.000, 'empl_contr', ?, ?, 'yes', ?, ?, 'yes', 'half', 'yes', ? Centroid 4 = 0.513, 0.160, 0.130, 0.350, 'none', 0.874, 'none', 0.000, 0.136, 'no', 0.269, 'average', 'yes', 'half', 'yes', 'full' Making Assignments 0=4 1=1 2=2 3=3 4=2 5=0 6=2 7=1 8=1 9=2 10=1 11=1 12=2 13=1 14=2 15=2 16=1 17=4 18=0 19=2 20=1 21=1 22=3 23=2 24=2 25=4 26=1 27=1 28=1 29=4 30=4 31=4 32=4 33=0 34=4 35=4 36=0 37=2 38=4 39=2 40=0 41=2 42=4 43=1 44=0 45=2 46=1 47=2 48=1 49=1 50=1 51=3 52=1 53=4 54=2 55=2 56=1 57=4 SSE: 416.294 *************** Iteration 7 *************** Computing Centroids: Centroid 0 = 0.167, 0.200, 0.367, ?, 'none', 0.829, 'none', 0.167, 0.120, 'yes', 0.306, 'average', 'no', 'none', 'no', 'none' Centroid 1 = 0.404, 0.485, 0.513, 0.756, 'none', 0.739, 'none', 0.917, 0.269, 'yes', 0.430, 'below_average', 'yes', 'full', 'yes', 'full' Centroid 2 = 0.333, 0.451, 0.458, 0.976, 'none', 0.821, 'empl_contr', 0.521, 0.175, 'no', 0.354, 'generous', 'yes', 'half', 'yes', 'half' Centroid 3 = 0.667, 0.213, 0.333, 0.927, 'tcf', 0.000, 'empl_contr', ?, ?, 'yes', ?, ?, 'yes', 'half', 'yes', ? Centroid 4 = 0.513, 0.160, 0.130, 0.350, 'none', 0.874, 'none', 0.000, 0.136, 'no', 0.269, 'average', 'yes', 'half', 'yes', 'full' Making Assignments 0=4 1=1 2=2 3=3 4=2 5=0 6=2 7=1 8=1 9=2 10=1 11=1 12=2 13=1 14=2 15=2 16=1 17=4 18=0 19=2 20=1 21=1 22=3 23=2 24=2 25=4 26=1 27=1 28=1 29=4 30=4 31=4 32=4 33=0 34=4 35=4 36=0 37=2 38=4 39=2 40=0 41=2 42=4 43=1 44=0 45=2 46=1 47=2 48=1 49=1 50=1 51=3 52=1 53=4 54=2 55=2 56=1 57=4 SSE: 416.294 SSE has converged