The 'unknown label type 'continuous'' error occurs when you try to fit a logistic regression model to a dataset where the target variable is continuous (i.e. takes on a range of numeric values) instead of binary (i.e. takes on only two values).