1
$\begingroup$

I am trying to build a binary classification model with XGBoost. I made sure to split my data into the training, validation and test sets. I performed feature selection, early stoppage and hyperparameter tuning with Binary Search.

I tested the model on randomly generated random states and it looks like there is less overfitting compared to before (as shown by the learning curves) but the averaged metrics are still suspicious:

Average Accuracy: 0.9965 Average Precision: 0.98039 Average Recall: 1.0 Average F1 Score: 0.98989

Before

After

$\endgroup$
2
  • $\begingroup$ What is suspicious about these metrics? $\endgroup$ Commented Oct 17, 2024 at 9:14
  • $\begingroup$ They are all close to 100% so I'm not sure if my model is really performing that well. These are the training stats: Accuracy: 0.95 Precision: 0.93 Recall: 0.82 F1 Score: 0.87 $\endgroup$ Commented Oct 17, 2024 at 11:44

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.