Unknown label type: (array([154.22, 155.46, 157.22, ..., 289.57, 303.9 , 306.07]),) code example Example: unknown label type: 'unknown' y=y.astype('int')