Python RFE:如何更改评分标准?

Python RFE:如何更改评分标准?,python,logistic-regression,feature-selection,Python,Logistic Regression,Feature Selection,我试图应用RFE来选择分类问题中最好的几个特征。代码如下。我猜评分标准是“准确性”(我对吗?)。我想知道这是否可以改为“AUC”。即使经过多次搜索,我也无法找到任何杠杆来实现这一点。请帮忙 from sklearn.feature_selection import RFE lor = LogisticRegression() rfe = RFE(estimator = lor, n_features_to_select = 15) rfe = rfe.fit(X_train_full,

我试图应用RFE来选择分类问题中最好的几个特征。代码如下。我猜评分标准是“准确性”(我对吗?)。我想知道这是否可以改为“AUC”。即使经过多次搜索,我也无法找到任何杠杆来实现这一点。请帮忙

from sklearn.feature_selection import RFE    
lor = LogisticRegression()
rfe = RFE(estimator = lor, n_features_to_select = 15)
rfe = rfe.fit(X_train_full, y_train_full)
feat_index = pd.Series(data = rfe.ranking_, index = X_train_full.columns)