title: ValueError: Unknown label type: 'continuous' in DecisionTreeClassifier()
body: <p>I am trying to create a model which predicts results column below:</p>
  <pre><code>    Date    Open    High    Close   Result
  1/22/2010   25.95   31.29   30.89   0.176104
  2/19/2010   23.98   24.22   23.60   -0.343760
  3/19/2010   21.46   23.16   22.50   0.124994
  4/23/2010   21.32   21.77   21.06   -0.765601
  5/21/2010   55.41   55.85   49.06   0.302556
  </code></pre>
  <p>The code I am using is:</p>
  <pre class="lang-py prettyprint-override"><code>import pandas
  from sklearn.tree import DecisionTreeClassifier
  dataset = pandas.read_csv('data.csv')
  X = dataset.drop(columns=['Date','Result'])
  y = dataset.drop(columns=['Date', 'Open', 'High', 'Close'])
  model = DecisionTreeClassifier()
  model.fit(X, y)
  </code></pre>
  <p>But I am getting an error:</p>
  <pre class="lang-py prettyprint-override"><code>ValueError: Unknown label type: 'continuous'
  </code></pre>
  <p>Suggestion for using other algorithms are also welcome.</p>