Closed mohammedsabiya closed 6 months ago
Could you post an optuna question on https://github.com/optuna/optuna/discussions since the question is not related to this repo, optuna-example?
Could you post an optuna question on https://github.com/optuna/optuna/discussions since the question is not related to this repo, optuna-example?
Done.
Thanks!
Datasplit:
I have used the code below for Optuna hyperparameter tuning:
Output:
Using the best hyperparameters from Optuna, I re-trianed the
'XGBClassifier'
Code:
Output:
validation f1_score : 0.937947494033413
Now, you can see the best value from Optuna is
F1 Score: 0.9856801909307876
, whereas the validation F1-score that is trained with the same hyperparameters and same XGBclassifier isvalidation f1_score : 0.937947494033413
.my question is why the values are different here though the parameters are the same?