"kmeans-fundamentals.html#kmeans-ann">ANN algorithm</a>).</p>
<h1><a class="anchor" id="kmeans-init"></a>
Initialization methods</h1>
<p>All the \(K\)-means algorithms considered here find locally optimal solutions; as such the way they are initialized is important. <a class="el" href="kmeans_8h.html">kmeans.h</a> supports the following initialization algorithms:</p>
<dl class="section user"><dt>Random data samples</dt><dd></dd></dl>
<p>The simplest initialization method is to sample \(K\) points at random 