Spaces:
Running
Running
MilesCranmer
commited on
Commit
•
c225f3c
1
Parent(s):
3e14433
Update default params based on 500 more trials
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 = 15.182913
|
10 |
default_annealing = 1.000000
|
11 |
+
default_fractionReplaced = 0.096909
|
12 |
+
default_fractionReplacedHof = 0.116439
|
13 |
+
default_ncyclesperiteration = 15280.000000
|
14 |
+
default_niterations = 10.000000
|
15 |
+
default_npop = 101.000000
|
16 |
+
default_parsimony = 0.000505
|
17 |
+
default_topn = 7.000000
|
18 |
+
default_weightAddNode = 0.495629
|
19 |
+
default_weightDeleteNode = 0.652559
|
20 |
+
default_weightDoNothing = 0.094013
|
21 |
+
default_weightMutateConstant = 3.817843
|
22 |
+
default_weightMutateOperator = 0.686884
|
23 |
+
default_weightRandomize = 0.055272
|
24 |
+
default_weightSimplify = 0.003755
|
25 |
+
default_result = 0.135055
|
26 |
|
27 |
def eureqa(X=None, y=None, threads=4,
|
28 |
niterations=20,
|