42 valueerror: unknown label type: 'continuous-multioutput'
How to Fix: ValueError: Unknown label type: ‘continuous’ Mar 30, 2022 · ValueError: Unknown label type: 'continuous' This error usually occurs when you attempt to use sklearn to fit a classification model like logistic regression and the values that you use for the response variable are continuous instead of categorical. The following example shows how to use this syntax in practice. How to Reproduce the Error python - Unknown label type: 'continuous' - Stack Overflow Aug 12, 2017 · If you want to build a classification model, you need to decide how you transform them into a finite set of labels. Note that if you just want to avoid the error, you could do import numpy as np y = np.asarray (df ['Yearly Amount Spent'], dtype="|S6") This will transform the values in y into strings of the required format.
ValueError: Unknown label type: 'continuous-multioutput' when ... Jun 18, 2019 · ValueError: Unknown label type: 'continuous-mult...