Question: How to continue to make new trials from previous trials?
See original GitHub issueHello, Since the selection of the optimal parameters can be very time consuming. Often libraries for Bayesian selection of optimal parameters of machine learning models allow us to save the study object. In order to be able to load it in the future and continue the selection of the optimal parameters further from the very same place where we stopped.
for example optuna library
import optuna
from optuna.samplers import TPESampler
study = optuna.create_study(direction="maximize", sampler=TPESampler(n_startup_trials=50))
study.optimize(objective_0, n_trials=100)
joblib.dump(study, 'save_path') # to save hyperparameter object
study = joblib.load(tuna_path) # to restore hyperparameter object
study.optimize(objective_0, n_trials=100) # to continue for a new 100 trials from previous 100 trials (from 100 to 200 trial)
AutoKeras has similar functionality ?
for example
clf = ak.StructuredDataClassifier(
overwrite=True,
max_trials=3) # 3 trials
# Feed the tensorflow Dataset to the classifier.
clf.fit(train_set, epochs=10) # fit
Then save clf object like
clf.save_to_file('....')
Then
clf.load_from_file.
Then
clf.fit_for_next_trials from previous ?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Frequently Asked Questions - ClinicalTrials.gov
How do I submit results information if the trial is terminated (that is, stopped prematurely) and no data were collected for one or...
Read more >What Are Clinical Trials and Studies?
Learn about the phases of clinical trials, why older and diverse participants are needed, and what to ask before participating.
Read more >Volunteering for research studies: 15 questions to ask
Deciding to take part in a clinical trial is a big decision, so don't be shy, ask the study team whatever questions you...
Read more >Step 3: Clinical Research - FDA
Before a clinical trial begins, researchers review prior information about the drug to develop research questions and objectives.
Read more >Questions to Ask about Cancer Treatment Clinical Trials - NCI
What is the purpose of the trial? · Why do the researchers believe that the treatment being studied may be better than the...
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 FreeTop 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
Top GitHub Comments
You don’t need to create a new object. You just run the same .py file again. If you want to create a new object, please make sure all the configs remains the same as the previous one.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.