ValueError: Unknown label type: 'unknown' in y rendomforestclasifier code example Example: unknown label type: 'unknown' y=y.astype('int')