VIP 👤
🏠 الرئيسية
المقاييس
📊 جميع المقاييس 🦖 ديناصور v1 🦖 ديناصور v2 ✅ تطبيقات قائمة المهام 🎨 صفحات حرة إبداعية 🎯 FSACB - العرض النهائي 🌍 مقياس الترجمة
النماذج
🏆 أفضل 10 نماذج 🆓 نماذج مجانية 📋 جميع النماذج ⚙️ كيلو كود
الموارد
💬 مكتبة الأوامر 📖 قاموس الذكاء الاصطناعي 🔗 روابط مفيدة 🔌 واجهات 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.