gugarosa / opytimizer

🐦 Opytimizer is a Python library consisting of meta-heuristic optimization algorithms.
https://opytimizer.readthedocs.io
Apache License 2.0
599 stars 40 forks source link

[REG] #28

Closed tumu1234 closed 2 years ago

tumu1234 commented 2 years ago

Optimization time problem

Hello, author, why it takes 5 hours to optimize SVR's hyperparameters with PSO and AOA? Is there something wrong with me?

gugarosa commented 2 years ago

Hello! I hope everything is going well with you.

Try lowering the number of agents and iterations. Usually, meta-heuristics performs n_agents x n_iterations fitness function evaluations, and it heavily depends on the evaluation’s duration time.

SVR over a complete dataset/full-pass might take a while, and thus the whole optimization problem is bounded by the time of such a fitness function.

Best regards, Gustavo.

tumu1234 commented 2 years ago

Ok, thank you for your explanation and wish us all the best

gugarosa commented 2 years ago

No problems! Just please let me know if anything else comes up!

All the best for us all, always!!