多分类的logisticRegression和SFS

logi = LogisticRegression(C=0.5,penalty='l2',multi_class='multinomial',class_weight='balanced',solver='lbfgs')

sfs1 =  SFS(logi,

k_features=80,

forward=True,

floating=False,

verbose=2,

cv=5,

n_jobs =2)

sfs1 = sfs1.fit(data2,label2)

你可能感兴趣的:(多分类的logisticRegression和SFS)