我受不了了 rfecv拿过来做特征筛选 放的是svm linear就可以用 换成rbf就报错
f"when importance_getter=='auto'
, the underlying "
ValueError: when importance_getter=='auto'
, the underlying estimator SVC should have coef_
or feature_importances_
attribute. Either pass a fitted estimator to feature selector or call fit before calling transform.
我的问题第一个是为什么会出现这种情况
第二个问题是importance——getter有几种参数
第三个问题是svc好像没有coef——和feature——importances