title: Loading a dataset from file, to use with sklearn/numpy, including labels
body: <p>I saw that with sklearn we can use some predefined datasets, for example <code>mydataset = datasets.load_digits()</code> the we can get an array (a numpy array?) of the dataset <code>mydataset.data</code> and an array of the corresponding labels <code>mydataset.target</code>. However I want to load my own dataset to be able to use it with sklearn. How and in which format should I load my data ? My file have the following format (each line is a data-point):</p>
  
  <pre><code>-0.2080,0.3480,0.3280,0.5040,0.9320,1.0000,label1
  -0.2864,0.1992,0.2822,0.4398,0.7012,0.7800,label3
  ...
  ...
  -0.2348,0.3826,0.6142,0.7492,0.0546,-0.4020,label2
  -0.1856,0.3592,0.7126,0.7366,0.3414,0.1018,label1
  </code></pre>