title: Using Scikit-learn KMeans to cluster multi-dimensional arrays
body: <p>I've searched some tutorials regarding KMeans with Scikit-learn, but I wasn't able to find something specific to my case.</p>
  
  <p>I have an array of multiple objects that has a format of</p>
  
  <pre><code>{
      name: 'Bob',
      vector: [14,12,15,10,16,16,7,15,7,4,16,13,4,16,13,17,13,13,10,8,14,17,10,16,6,14,16,13,15,17,12,7,14,13,15,10]
  }
  </code></pre>
  
  <p>So, I have an array of these objects <code>[ {...}, {...}, ... ]</code></p>
  
  <p>I wanted to use the <code>vector</code> field of these objects to use the KMeans to get clusters of similar items.</p>
  
  <p>The vector values are normalized to range between 1 and 20. </p>
  
  <p>Any help would be great. Thanks.</p>