# predict - Predict class labels for samples in X y_pred = log_reg.predict(X_train).fit
pred_proba = log_reg.predict_proba(X_train)# coef_ - Coefficient of the features in the decision function
log_
培训结束后,我想从经过训练的估计器(例如feature_importances_)中访问属性。有人能告诉我怎么做吗?TransformedTargetRegressor(regressor=pipeline, model.fit(X_train, y_train)# try to access the attri
iris_dataframe=pd.DataFrame(X_train,columns=iris.feature_names)y_predCall 'fit' with appropriate arguments before using this estimator.
错误是什么?请帮帮我!我不知道如何修复这个