Giter VIP home page Giter VIP logo

Comments (4)

dweindl avatar dweindl commented on July 27, 2024 1

Okay, potentially multiplied by popsize or maxiter 🙈 .

The best we can do is not showing the message during unpickling. The rest is on scipy.

from pypesto.

dweindl avatar dweindl commented on July 27, 2024

It's expected that this message shows up N times for ScipyDifferentialEvolutionOptimizer(..., workers=N), because the objective is pickled there for each worker. Wouldn't consider that a bug.

from pypesto.

dilpath avatar dilpath commented on July 27, 2024

The messages appear far greater than N times, e.g. using the problem from #881 and the following script.

import pypesto.petab
import pypesto.optimize

petab_yaml = 'icg_sd.yaml'
pypesto_importer = pypesto.petab.PetabImporter.from_yaml(petab_yaml)
pypesto_problem = pypesto_importer.create_problem()

optimizer = pypesto.optimize.ScipyDifferentialEvolutionOptimizer(
    options={
        'strategy': 'best1bin',
        'maxiter': 8000,
        'mutation': (0.2, 1),
        'recombination': 0.7,
        'popsize': 70,
        'init': 'latinhypercube',
        'polish': True,
        'workers': 8,
    }
)

result = pypesto.optimize.minimize(
    pypesto_problem,
    optimizer=optimizer,
    n_starts=4,
    filename=None,
)

from pypesto.

yannikschaelte avatar yannikschaelte commented on July 27, 2024

Moved "using existing" message to debug level in #912, should reduce appearance unless in debug mode.

from pypesto.

Related Issues (20)

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.