Genial!
Completion tasa mejorada a 4.55Sección 3. Capítulo 6
single
Challenge: Solving Task Using XGBoost
Desliza para mostrar el menú
Tarea
Swipe to start coding
The "Credit Scoring" dataset is commonly used for credit risk analysis and binary classification tasks. It contains information about customers and their credit applications, with the goal of predicting whether a customer's credit application will result in a good or bad credit outcome.
Your task is to solve classification task on "Credit Scoring" dataset:
- Create
Dmatrixobjects using training and test data. Specifyenable_categoricalargument to use categorical features. - Train the XGBoost model using the training
DMatrixobject. - Set the split threshold to
0.5for correct class detection.
Note
'objective': 'binary:logistic'parameter means that we will use logistic loss (also known as binary cross-entropy loss) as an objective function when training the XGBoost model.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 3. Capítulo 6
single
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla