@@ -110,7 +110,7 @@ def maybe_skip(learner):
110
110
111
111
112
112
@learn_with (Learner1D , bounds = (- 1 , 1 ))
113
- def quadratic (x , m : uniform (0 , 10 ), b : uniform (0 , 1 )):
113
+ def quadratic (x , m : uniform (1 , 4 ), b : uniform (0 , 1 )):
114
114
return m * x ** 2 + b
115
115
116
116
@@ -132,7 +132,7 @@ def ring_of_fire(xy, d: uniform(0.2, 1)):
132
132
133
133
@learn_with (LearnerND , bounds = ((- 1 , 1 ), (- 1 , 1 ), (- 1 , 1 )))
134
134
@learn_with (SequenceLearner , sequence = np .random .rand (1000 , 3 ))
135
- def sphere_of_fire (xyz , d : uniform (0.2 , 1 )):
135
+ def sphere_of_fire (xyz , d : uniform (0.2 , 0.5 )):
136
136
a = 0.2
137
137
x , y , z = xyz
138
138
return x + math .exp (- ((x ** 2 + y ** 2 + z ** 2 - d ** 2 ) ** 2 ) / a ** 4 ) + z ** 2
@@ -141,7 +141,7 @@ def sphere_of_fire(xyz, d: uniform(0.2, 1)):
141
141
@learn_with (SequenceLearner , sequence = range (1000 ))
142
142
@learn_with (AverageLearner , rtol = 1 )
143
143
def gaussian (n ):
144
- return random .gauss (0 , 1 )
144
+ return random .gauss (1 , 1 )
145
145
146
146
147
147
# Decorators for tests.
0 commit comments