Spaces:
Running
Running
MilesCranmer
commited on
Commit
•
01b43d2
1
Parent(s):
6aa8f20
Move back to old default hyperparams
Browse files
eureqa.py
CHANGED
@@ -6,23 +6,23 @@ import numpy as np
|
|
6 |
import pandas as pd
|
7 |
|
8 |
# Dumped from hyperparam optimization
|
9 |
-
default_alpha =
|
10 |
default_annealing = 1.000000
|
11 |
-
default_fractionReplaced = 0.
|
12 |
-
default_fractionReplacedHof = 0.
|
13 |
-
default_ncyclesperiteration =
|
14 |
-
default_niterations =
|
15 |
-
default_npop =
|
16 |
-
default_parsimony = 0.
|
17 |
-
default_topn =
|
18 |
-
default_weightAddNode = 0.
|
19 |
-
default_weightDeleteNode = 0.
|
20 |
-
default_weightDoNothing = 0.
|
21 |
-
default_weightMutateConstant = 3.
|
22 |
-
default_weightMutateOperator = 0.
|
23 |
-
default_weightRandomize =
|
24 |
-
default_weightSimplify = 0.
|
25 |
-
default_result = 0.
|
26 |
|
27 |
def eureqa(X=None, y=None, threads=4,
|
28 |
niterations=20,
|
|
|
6 |
import pandas as pd
|
7 |
|
8 |
# Dumped from hyperparam optimization
|
9 |
+
default_alpha = 2.288229
|
10 |
default_annealing = 1.000000
|
11 |
+
default_fractionReplaced = 0.121271
|
12 |
+
default_fractionReplacedHof = 0.065129
|
13 |
+
default_ncyclesperiteration = 15831.000000
|
14 |
+
default_niterations = 11.000000
|
15 |
+
default_npop = 105.000000
|
16 |
+
default_parsimony = 0.000465
|
17 |
+
default_topn = 6.000000
|
18 |
+
default_weightAddNode = 0.454050
|
19 |
+
default_weightDeleteNode = 0.603670
|
20 |
+
default_weightDoNothing = 0.141223
|
21 |
+
default_weightMutateConstant = 3.680211
|
22 |
+
default_weightMutateOperator = 0.660488
|
23 |
+
default_weightRandomize = 6.759691
|
24 |
+
default_weightSimplify = 0.010442
|
25 |
+
default_result = 0.687007
|
26 |
|
27 |
def eureqa(X=None, y=None, threads=4,
|
28 |
niterations=20,
|