Code Monkey home page Code Monkey logo

Comments (4)

gcoimbra avatar gcoimbra commented on May 18, 2024 1

@gugarosa . First of all, I'm fine. I hope you are too.
Thank you for this feature. It will be very useful, I hope not just for me, but everyone using opytimizer!

from opytimizer.

gugarosa avatar gugarosa commented on May 18, 2024

Actually, this package is not intended to be deployed in production-ready environments nor servers, as its construction was designed to fulfill experimentation and research-based tasks. Additionally, each iteration already dumps the agents, which is controlled by the store_best_only argument on Opytimizer.start() method. Though the history object is only available at the end of the optimization.

While the logs already provide an outline of the optimization procedure, even if the process is suddenly stopped, I do understand your concern.

We do belive that such an idea would be better implemented as an approach that enables a halting in the optimization process and its restarting at a future time. I guess this would be the apex of both worlds as users would be able to have a current snapshot of their process and re-use it whenever they want.

I have added such an issue to our roadmap and I will take a deeper look into it.

Best regards,
Gustavo.

from opytimizer.

gcoimbra avatar gcoimbra commented on May 18, 2024

Thanks for the comprehensive answer Gustavo.

Yes it would be better if we could resume the optimization process.
Or even if it finished, make it go some iterations more. Which I think would be even better because the user itself can persist the model from time to time if it is needed.

I actually didn't know about that option. But it actually serves me well right now. Thanks!

I think I should keep the issue open but feel free to close as you've added it to the roadmap

from opytimizer.

gugarosa avatar gugarosa commented on May 18, 2024

Hello Gabriel! I hope everything is all right with you.

With the upcoming version (3.0.0), you will be able to checkpoint the optimization and resume it as intended. Please take a look at:

It is still under development, yet it is already working. It will take a few days/weeks to be merged into master and be released into PyPI.

Best regards,
Gustavo.

from opytimizer.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.