xgboostをhyperoptでチューニングする時にエラーが出ます。
解決法を見つけたいです。
チューニングパラメータが以下の通りの時、
Training with params :
{'colsample_bytree': 0.55, 'eta': 0.2, 'eval_metric': 'mlogloss', 'gamma': 0.75, 'max_depth': 13.0, 'min_child_weight': 6.0, 'n_estimators': 682.0, 'num_class': 2, 'objective': 'multi:softprob', 'silent': 1, 'subsample': 0.75}
以下のような型のエラーが出ます。
TypeError: 'float' object cannot be interpreted as an integer
パラメータはintでないのが正常であり、どのようにこのエラーを消すのか悩んでおります。
何かご存知の方がいらっしゃれば教えていただけると幸いです。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。