title: How to create ARFF file for 2D data points?
body: <p>I want to create an ARFF dataset for WEKA and use <code>Nearest Neighbors</code> classifier on it. My data are 2D points with <code>X</code> and <code>Y</code> coordinates and I'll use Euclidean distance to find the neighbors.</p>
  
  <p>Is this the correct format?</p>
  
  <pre><code>@RELATION name
  
  @ATTRIBUTE X       NUMERIC
  @ATTRIBUTE Y       NUMERIC
  @ATTRIBUTE class   {classy,classless}
  
  @DATA
  0,4,classy
  0,6,classy
  1,3,classless
  </code></pre>
  
  <p>Thanks</p>