Then, we need to predict each class first: >>> import numpy as np ... for class_i in sorted(np.unique(y)): l = LogisticRegression() y_train ...
確定! 回上一頁