VIP 👤
🏠 ホーム
ベンチマーク
📊 すべてのベンチマーク 🦖 恐竜 v1 🦖 恐竜 v2 ✅ To-Doリストアプリ 🎨 クリエイティブフリーページ 🎯 FSACB - アルティメットショーケース 🌍 翻訳ベンチマーク
モデル
🏆 トップ10モデル 🆓 無料モデル 📋 すべてのモデル ⚙️ 🛠️ Kilo Code モード
リソース
💬 💬 プロンプトライブラリ 📖 📖 AI用語集 🔗 🔗 有用なリンク 🔌 AI API とルーター
advanced

Hyperparameter Tuning Strategy

#machine-learning #optimization #xgboost #statistics

Develop a rigorous strategy for optimizing a complex XGBoost model for a highly imbalanced dataset.

You are an expert Machine Learning Engineer. You are working with a fraud detection dataset that is 99.5% negative and 0.5% positive. You have chosen XGBoost as your model. 1) Detail a step-by-step hyperparameter tuning workflow using Bayesian Optimization. 2) Explain how you will modify the objective function to account for the class imbalance (e.g., scale_pos_weight, focal loss implementation). 3) Describe cross-validation strategies appropriate for time-series split data within this dataset. 4) Write Python code snippets demonstrating the custom objective function and the Bayesian optimization loop.