ValueError "Unknown label type: %r" % y_type code example Example: unknown label type: 'unknown' y=y.astype('int')