Code Monkey home page Code Monkey logo

desdeo-problem's People

Contributors

gialmisi avatar giomara-larraga avatar jpajasmaa avatar light-weaver avatar maaviixu avatar ppouyaa avatar risshi1999 avatar sepuliini avatar teakfi avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

desdeo-problem's Issues

desdeo_problem.problem,objective line 667

we need to add "return_std= True" to model.predict(decision_vector) to have the uncertainty information as well. otherwise, we get an error when we want to use this function.
issue1

Many test problems missing from the testproblems' module __init__.py file

Recently added test problems should be added to the __init__.py file located in the testproblems module. Each function generating a test problem should be imported as done here and the function name should be added to the list stored in the __all__ variable here.

By adding this enhancement, we can import test problems from the testproblems module easily as such: from desdeo_problem.testproblems import ProblemName.

Two tests not passing

The tests test_evaluate_gaa and test_evaluate_multiple_clutch_brakes are not passing. The tolerance of the comparison to the expected value should be fine tuned. We arrived to the conclusion with @maaviixu earlier, that the code is correct and the discrepancies in the current comparisons stem from floating point precision errors and updated code (i.e., the true value was originally computed with an older version of the referenced test problem).

The non-passing tests are located here and here.

Logging generates unexpected outputs in ipython console

I added the following lines to all the files to prevent the output. I do not know enough about logging to know if this is a good solution or not.

# To prevent unexpected outputs in ipython console
logging.getLogger("parso.python.diff").disabled = True
logging.getLogger("parso.cache").disabled = True
logging.getLogger("parso.cache.pickle").disabled = True

More info: ipython/ipython#10946

This assumes minimization.

self.nadir = np.max(self.objective_vectors, axis=0)

I think the user should have the option to specify whether they want to maximize or minimize. This can be done in two ways. Either problem.evaluate should return (objectives, constraints, fitness, uncertainity), where fitness = objective value multiplied by +/- one depending on whether to minimize or maximize, OR, the fitness calculation should be done in the optimization methods.

This should also enable us to make visualizations better.

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.