注意这里 DMatrix 和 XGBClassifier 都是 xgboost ( xgb )的子module。 xgb.cv 中,. num_boosting_rounds 表示要迭代次数。 metrics="error" 表示计算 ...
確定! 回上一頁