Skip to content

v0.8.0

Compare
Choose a tag to compare
@github-actions github-actions released this 09 Feb 10:32
· 89 commits to main since this release
d023ea9

CHANGES

Support a new sampler based on Sobol's Quasi-random Sequence

Goptuna now supports Sobol based sampler. See the paper S. Joe and F. Y. Kuo, Remark on Algorithm 659: Implementing Sobol's quasirandom sequence generator, ACM Trans. Math. Softw. 29, 49-57 (2003). for details.

np.random.rand() (seed=0) Sobol (Goptuna)
random-seed0 sobol

Usage is like this:

import (
	"github.com/c-bata/goptuna"
	"github.com/c-bata/goptuna/sobol"
)

func main() {
	study, err := goptuna.CreateStudy(
		"goptuna-example",
		goptuna.StudyOptionRelativeSampler(sobol.NewSampler()),  // Set Sobol based sampler.
	)
	...
}

Add github.com/c-bata/gorm/rdb.v2

Add rdb.v2 package built on gorm v2.
So github.com/c-bata/goptuna/rdb package is now deprecated.

  • Use gorm v2 package (#124).
  • Fix duplicate trial numbers are assigned on parallel execution (#130).
  • Add CASCADE ON DELETE constraints (#170).
  • Drop schema compatibility with Optuna (#166).

Dashboard

  • Add datetime_start column on top page of Dashboard (#169).
  • Put select box to change the reload interval time on AppBar (#176).

Minor compatibility changes

  • Include the upper bound of uniform/loguniform distributions (#205)