Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Commit
•
a39e08e
1
Parent(s):
f325280
Double default populations in test
Browse files- test/test.py +4 -0
test/test.py
CHANGED
@@ -16,9 +16,13 @@ class TestPipeline(unittest.TestCase):
|
|
16 |
default_niterations = (
|
17 |
inspect.signature(PySRRegressor.__init__).parameters["niterations"].default
|
18 |
)
|
|
|
|
|
|
|
19 |
self.default_test_kwargs = dict(
|
20 |
niterations=default_niterations * 2,
|
21 |
model_selection="accuracy",
|
|
|
22 |
)
|
23 |
np.random.seed(0)
|
24 |
self.X = np.random.randn(100, 5)
|
|
|
16 |
default_niterations = (
|
17 |
inspect.signature(PySRRegressor.__init__).parameters["niterations"].default
|
18 |
)
|
19 |
+
default_populations = (
|
20 |
+
inspect.signature(PySRRegressor.__init__).parameters["populations"].default
|
21 |
+
)
|
22 |
self.default_test_kwargs = dict(
|
23 |
niterations=default_niterations * 2,
|
24 |
model_selection="accuracy",
|
25 |
+
populations=default_populations * 2,
|
26 |
)
|
27 |
np.random.seed(0)
|
28 |
self.X = np.random.randn(100, 5)
|