how to set the 'target' in multi-objective optimization
See original GitHub issueEnvironment
- 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:
- Created a year ago
- Comments:5 (2 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@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. 👍
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.