goptuna

A hyperparameter optimization framework, inspired by Optuna.

MIT License

Stars
256
Committers
4

Bot releases are hidden (Show)

goptuna - ʕ◔ϖ◔ʔ v0.6.0

Published by c-bata about 4 years ago

New feature

API changes

Pruning (Early-stopping) APIs are changed without backward compatibility.

While I added an example which uses successive halving pruner at #120, I found a lot of issues. I'm sure that nobody uses pruning functionalities (I also confirmed that Kubeflow/Katib and sile/kurobako-go does not use pruning functionalities). So I fixes those issues. And I merge it without backward compatibility.

  • Fix typo of OptionSetReductionFactor
  • Alter the argument of trial.ShouldPrune() and remove trial.Report().

Some APIs are renamed without breaking changes.

These changes are added with backward compatibilities. Older functions are deprecated.

  • Rename RandomSearchSampler to RandomSampler (#137).
  • Rename StudyOptionSetDirection to StudyOptionDirection (#138).
  • Rename StudyOptionSetTrialNotifyChannel to StudyOptionTrialNotifyChannel (#138).

Minor bug fixes

  • Fix IntUniformDistribution.ToExternalRepr() (#102)
  • Fix IntUniformDistributions.Contains() (#103)
  • Fix a bug when set attrs multiple times (#121)
  • CMA-ES: fix numerical overflow errors (#126)
  • Fix a bug of successive halving pruner (#120)

Example

  • Add an example of Gorgonia hyperparameter optimization with early stopping (ASHA) (#118, #119 and #120)
goptuna - ʕ◔ϖ◔ʔ v0.5.1

Published by c-bata over 4 years ago

In this release, some internal methods made public for Kubeflow/Katib.

New feature

  • Add study option to define search space (#99)

For Developers

  • Public API to call relative sampler for Kubeflow/Katib (#100)

Others

  • Generate stringer code for trial state (#101)
goptuna - ʕ◔ϖ◔ʔ v0.5.0

Published by c-bata over 4 years ago

From this release, new suggest API SuggestStepInt for step-interval integer parameter is available.
SuggestUniform, SuggestLogUniform and SuggestDiscreteUniform are deprecated. These APIs are renamed to Suggest...Float API.

New feature

  • Suggest int parameter with step (#98)

API changes

  • Rename SuggestUniform to SuggestFloat (#96)
goptuna - ʕ◔ϖ◔ʔ v0.4.0

Published by c-bata over 4 years ago

This release supports CMA-ES sampler and compatible with the RDB schema of Optuna v1.3.0.

New feature

  • CMA-ES sampler (#93)

Internal chages

  • Make StudyAttrs/UserAttrs more readable (#89)
  • Add number field in trials table (#88)

Bug fixes

  • Fix concurrency problems of EnqueuTrial (#92)

Compatibility with Optuna RDB storage

This release has compatibility with Optuna v1.3.0.

goptuna - ʕ◔ϖ◔ʔ v0.3.0

Published by c-bata over 4 years ago

This release supports enqueue_trial and has compatibility with the RDB schema of Optuna v1.2.0.

New feature

  • Experimental support of EnqueueTrial (#86)

Bug fixes

  • Fix trial number on RDB storage (#87)

Compatibility with Optuna RDB storage

This release has compatibility with Optuna v1.2.0.

goptuna - ʕ◔ϖ◔ʔ v0.2.0

Published by c-bata over 4 years ago

This release contains ASHA support, experimental GP-BO support and a serious bug fix of the TPE optimization on DiscreteUniformDistribution.

New feature

  • Published an integration sampler using go-bayesopt ( https://github.com/c-bata/goptuna-bayesopt ).
  • Support an Asynchronous Successive Halving Algorithm (#52, #62)
  • Add RelativeSampler interface for Gaussian Process and CMA-ES (#75, #76)
  • Add a subcommand to delete study (#56)
  • Add a function to delete study (#57)
  • Add study option for loading if exists (#61)

API changes

  • Remove ID suffix from storage.CreateNew{Study,Trial}ID methods (#53).
  • Avoid to update value when set intermediate values (#84)

Bug fixes

  • Set a seed number to the inner random sampler of TPE sampler (#66)
  • Fix an optimization of DiscreteUniform on TPE sampler (#79)

For Developers

  • Use Go v1.13 on GitHub Actions (#59)
  • Parse SQLAlchemy engine format using regexp (#67, #68, #69)
  • Add kurobako-go benchmark for TPE sampler (#71)

Compatibility with Optuna RDB storage

This release has the compatibility with Optuna v1.1.0 or lower.

goptuna - ʕ◔ϖ◔ʔ v0.1.0

Published by c-bata about 5 years ago

New feature

  • Add logger interface (#46)
  • Add validation for trial.SuggestXXX methods (#41)

Bug fixes

  • Fix inconsistent state of trials (#50)
  • Add transaction for creating trial (#36)
  • Fix 'Too many SQL variables' error by separate queries to get all trials (#33)
  • Encode attr values to the format which is loadable from Python's json module. (#35)

API changes

  • New pruner interface (#47)
  • Remove FrozenTrial.ParamsInIR field (#20)
goptuna - ʕ◔ϖ◔ʔ v0.0.4

Published by c-bata about 5 years ago

New feature

  • Support Optuna compatible RDB storage backend (#18)
  • Add missing SuggestLogUniform and SuggestDiscreteUniform methods in Trial (#23)
  • Provide SetUserAttr, GetUserAttrs, SetSystemAttr and GetSystemAttrs methods in Trial and Study (#24)
  • Provide GetContext method in Trial for handling signals (#29)

Others

  • Print more detail error logs (#28).
goptuna - ʕ◔ϖ◔ʔ v0.0.3

Published by c-bata about 5 years ago

New feature

  • Add MedianPruner and PercentilePruner which implements median stopping rule of Vizier (Google) (#11)
  • Support DiscreteUniformDistribution (#14)
  • Support LogUniformDistribution (#16)

Internal change

  • Make TPE 30% faster (#9)
goptuna - ʕ◔ϖ◔ʔ v0.0.2

Published by c-bata about 5 years ago

New feature

  • Accept a go's context via study.WithContext (#4)
  • Support CategoricalDistribution (#8)

Internal change

  • Redesign the distribution interface. (#6)
  • Add about 20 methods in storage interface and InMemoryStorage. (#7)

For developers

  • Improve test coverages.
  • Fix all golint errors.
goptuna - Initial release: v0.0.1

Published by c-bata about 5 years ago

ʕ◔ϖ◔ʔ Initial release 🎉

Package Rankings
Top 2.75% on Proxy.golang.org
Badges
Extracted from project README
GoDoc Go Report Card