Skip to content

Commit 107204b

Browse files
committed
doc: Typo fixes
1 parent 669b108 commit 107204b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/reference/hyperparameters.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ cs = ConfigurationSpace()
104104

105105
cs.add(
106106
Integer("a", (0, 10), log=False),
107-
Integer("b", (0, 10), log=False, distribution=Uniform, default=5),
107+
Integer("b", (0, 10), log=False, distribution=Uniform(), default=5),
108108
Integer("c", (0, 1000), log=True, distribution=Normal(mu=200, sigma=200)),
109109
)
110110
print(cs)
@@ -130,7 +130,7 @@ cs = ConfigurationSpace()
130130

131131
cs.add(
132132
Float("a", (0, 10), log=False),
133-
Float("b", (0, 10), log=False, distribution=Uniform, default=5),
133+
Float("b", (0, 10), log=False, distribution=Uniform(), default=5),
134134
Float("c", (0, 1000), log=True, distribution=Normal(mu=200, sigma=200)),
135135
)
136136
print(cs)

0 commit comments

Comments
 (0)