Giter VIP home page Giter VIP logo

udao's People

Contributors

angryrou avatar julhien avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

udao's Issues

Optimization algorithms require independent functions for each objective or constraint

Optimization algorithms require independent functions for each objective or constraint, impacting optimization speed, which may not match the speed achieved in our referenced papers.

E.g., if the cost function is CPU * hour, we need to compute latency twice to get a 2-d objective tuple (latency, cost). But before, we calculated cost based on the latency results and reduced one latency model call in each iteration.

Another example is that when a user trains a multi-task model and can provide multiple objectives in one path. The current optimizer requires to call the model twice for 2 objectives bc it always considers objective functions to be independent.

To improve this, we will consider

  1. Construct a class, say MooModel to wrap functions from all optimization elements (objectives and constraints). So the user has the flexibility to reuse the result from latency to construct the cost to avoid duplicated computation.
  2. Refactor SOProblem/MOProblem and SOO solvers to adapt the MooModel on how to derive objective values.

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.