标签: python
from sklearn import linear_model logis = linear_model.LogisticRegression() logis.fit(df.iloc[:,:10], df['target'])