efaults">[L2]</span></dt><dd><p>
Use either L1 or L2 distance.
</p></dd><dt>
Initialization
</dt><dd><p>
Use either random data points (RANDSEL) or k-means++ (PLUSPLUS)
to initialize the centers.
</p></dd><dt>
Algorithm
<span class="defaults">[LLOYD]</span></dt><dd><p>
One of LLOYD, ELKAN, or ANN. LLOYD is the standard Lloyd
algorithm (similar to expectation maximisation). ELKAN is a
faster version of LLOYD using triangular inequalities to cut
down significantly the number of sample-to-center
comparisons. A