# 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_reg.coef_
我尝试绘制我的模型,但代码是错误的,模型还没有拟合。但我拟合了模型。有人能帮我解释一下为什么会出现这个错误吗?我的代码如下; model = BalancedRandomForestClassifier(n_estimators = 200, random_state = 0, max_depth=6)
model.fitCall 'fit' with appropriate arguments before using this method.