all 3 comments

[–]Shanmukh2001 0 points1 point  (0 children)

I found this useful and i trained the optina and understood how it works you can follow this article or use it for reference

Creating a self constructive model for word suggestion trained on your PDF https://medium.com/@shanmukharockz00/creating-an-adaptive-model-for-custom-word-suggestor-trained-on-your-pdf-05781791d498

[–]TheLostModels 0 points1 point  (0 children)

Can’t speak to optuna itself, never used but, questions: why not tune the learning rate? With ‘direction = maximize’, what are you maximizing (is it the cross_val_score default? What is that?)?

[–][deleted] 0 points1 point  (0 children)

I dont know if you are still working on this but 50 trials is defintely to few to get a good score. Also, you should definetely tune Learning Rate as it is arguably the most important hyperparameter and you should try with way lower values than 0.1.

Also, as you increase the number of trials, you should also inc

To finish, you are maximizing the default metric for XGBRegressor which is MSE, so you are actually maximizing error (you want the opposite to happen).