<p>嗨,我是个新手。我正在试着训练计算机,它给出了一个浮点数组来决定这三个类。我把课程分为0、0.5和1。我还尝试了0、1.0和2.0。我仍然得到以下错误:</p>
<pre><code>File "/Library/Python/2.7/site-packages/sklearn/utils/multiclass.py", line 85, in unique_labels
raise ValueError("Mix type of y not allowed, got types %s" % ys_types)
ValueError: Mix type of y not allowed, got types set(['continuous', 'multiclass'])
</code></pre>
<p>我不知道那个错误是什么意思</p>