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.

add trials to study / build study from trials

See original GitHub issue

I would like to add trials to studies or artificially build a study from trials.

The second method might solve https://github.com/optuna/optuna/issues/685 as well

Motivation

In some workflow, you might want to optimize different metrics that are computed from the same results.

For example, in classification problems, people hesitate to maximize the cross-entropy, the accuracy, the F1 score, etc… Similarly, when doing k-fold cross-validation, people might want to optimize the average or the minimum of the fold scores.

In all these cases, it is very cheap to compute all the scores instead of just one, and this data could be provided to avoid cold start in other runs.

Description

I think that providing an argument trials in create_study would be the most practical solution, as it avoids having to reindex a database. It also solves https://github.com/optuna/optuna/issues/685 without having to actually delete trials because users will be able to recreate a study object with a clean list of trials.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
louisabrahamcommented, Jul 2, 2020

Sure, it looks very much resolved. I’ll play with them later. Thank you for your hard work!

0reactions
hvycommented, Jul 2, 2020

@louisabraham Two new experimental APIs were introduced in #1335, one for adding trials to a study and one for creating arbitrary trials (this is a rather low-level API). They should address this issue. Have you taken a look at it? I’m wondering if we cannot close this issue as resolved.

Read more comments on GitHub >

github_iconTop Results From Across the Web

optuna.study. - trials - Read the Docs
A study corresponds to an optimization task, i.e., a set of trials. This object provides interfaces to run a new Trial , access...
Read more >
How to Register Your Study - ClinicalTrials.gov
A phase of research to describe clinical trials that gather more information about a drug's safety and effectiveness by studying different populations and ......
Read more >
Accelerate Clinical Study Start-Ups | Medidata Study Build
You are looking for ways to accelerate start-up of your clinical trials so you can bring drugs to market sooner. That's where Medidata...
Read more >
Design of Small Clinical Trials - NCBI - NIH
Because the choice of a study design for any particular trial will depend on these ... Before sharing sensitive information, make sure you're...
Read more >
Clinical Study Build - Vial
A Clinical Study Build means "building" out the protocol into a Clinical Trial Management System by adding visits, budget and protocol info.
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