double SSE = clusterer.getSquaredError(); if (SSE < minSSE) { minSSE = SSE;
sk.setDontReplaceMissingValues(true); sk.buildClusterer(inst); if (sk.getSquaredError() < bestSqE) { bestSqE = sk.getSquaredError(); bestK = sk;
sk.setDontReplaceMissingValues(true); sk.buildClusterer(inst); if (sk.getSquaredError() < bestSqE) { bestSqE = sk.getSquaredError(); bestK = sk;