Skip to content

Commit

Permalink
fix(space): populate prior (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiebergman authored Feb 13, 2025
1 parent 1c7f9d2 commit 6d639fb
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions t.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

import rich
import neps

space = neps.SearchSpace(
{
"a": neps.Integer(0, 10),
"b": neps.Categorical(["a", "b", "c"]),
"c": neps.Float(1e-5, 1e0, log=True, prior=1e-3),
}
)

rich.print(space)

0 comments on commit 6d639fb

Please sign in to comment.