question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

how to set the 'target' in multi-objective optimization

See original GitHub issue

Environment

  • Optuna version:
  • Python version:
  • OS:
  • (Optional) Other libraries and their versions:

Description

when I run the code ‘optuna.visualization.matplotlib.plot_parallel_coordinate(study)’ , meet the error: If the study is being used for multi-objective optimization, please specify the target.

So, I want to consult you how to set the target, Can give me a example? Thank you very much!

Error messages, stack traces, or logs

If the `study` is being used for multi-objective optimization, please specify the `target`.

Steps to reproduce

1.import optuna 2.algo = optuna.samplers.TPESampler(n_startup_trials = 10, n_ei_candidates = 24)

3.study = optuna.create_study(sampler = algo, directions=[“minimize”, “maximize”]) 4.study.optimize(objective, n_trials=300, timeout=300)

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
himktcommented, Mar 31, 2022

@pistachio-xin Sorry for confusing you, the problem I mentioned happens only on the master branch of Optuna and it doesn’t happen on our published versions of Optuna. You don’t need to take care of it. 👍

1reaction
pistachio-xincommented, Mar 31, 2022

Hi@himkt @nzw0301, Thanks for your help, I run right for this issue and got the right figure. For the issue from @himkt, In my test code, I can saw the function of optimization direction in the multi-objective optimization problems, but maybe I didn’t understand your means.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Lecture 9: Multi-Objective Optimization - Purdue Engineering
are to be minimized or maximized. ▫ Answer is set of solutions that define the best tradeoff between competing objectives. Multi-Objective Optimization.
Read more >
Multi-objective Optimization with Optuna - Read the Docs
This tutorial showcases Optuna's multi-objective optimization feature by optimizing the validation accuracy of Fashion MNIST dataset and the FLOPS of the ...
Read more >
A tutorial on multiobjective optimization: fundamentals and ...
The main idea of continuation methods is to find a single solution of the equation system and then to expand the solution set...
Read more >
Multi-objective optimization - Wikipedia
Multi-objective optimization is an area of multiple criteria decision making that is ... The goal may be to find a representative set of...
Read more >
Multi-Objective Optimization: Easy explanation what it is and ...
Multi-Objective Optimization : Easy explanation what it is and why you should use it!Optimization takes place in a lot of areas and has...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found