Spaces:
Sleeping
Sleeping
Commit
·
395823a
1
Parent(s):
e6db1f3
Fix incorrect default operator
Browse files
README.md
CHANGED
|
@@ -69,7 +69,7 @@ optional arguments:
|
|
| 69 |
--test TEST Which test to run (default: simple1)
|
| 70 |
--binary-operators BINARY_OPERATORS [BINARY_OPERATORS ...]
|
| 71 |
Binary operators. Make sure they are defined in
|
| 72 |
-
operators.jl (default: ['plus', '
|
| 73 |
--unary-operators UNARY_OPERATORS
|
| 74 |
Unary operators. Make sure they are defined in
|
| 75 |
operators.jl (default: ['exp', 'sin', 'cos'])
|
|
|
|
| 69 |
--test TEST Which test to run (default: simple1)
|
| 70 |
--binary-operators BINARY_OPERATORS [BINARY_OPERATORS ...]
|
| 71 |
Binary operators. Make sure they are defined in
|
| 72 |
+
operators.jl (default: ['plus', 'mult'])
|
| 73 |
--unary-operators UNARY_OPERATORS
|
| 74 |
Unary operators. Make sure they are defined in
|
| 75 |
operators.jl (default: ['exp', 'sin', 'cos'])
|
eureqa.py
CHANGED
|
@@ -57,7 +57,7 @@ def eureqa(X=None, y=None, threads=4, parsimony=1e-3, alpha=10,
|
|
| 57 |
--test TEST Which test to run (default: simple1)
|
| 58 |
--binary-operators BINARY_OPERATORS [BINARY_OPERATORS ...]
|
| 59 |
Binary operators. Make sure they are defined in
|
| 60 |
-
operators.jl (default: ['plus', '
|
| 61 |
--unary-operators UNARY_OPERATORS
|
| 62 |
Unary operators. Make sure they are defined in
|
| 63 |
operators.jl (default: ['exp', 'sin', 'cos'])
|
|
@@ -155,7 +155,7 @@ if __name__ == "__main__":
|
|
| 155 |
parser.add_argument("--test", type=str, default='simple1', help="Which test to run")
|
| 156 |
|
| 157 |
parser.add_argument(
|
| 158 |
-
"--binary-operators", type=str, nargs="+", default=["plus", "
|
| 159 |
help="Binary operators. Make sure they are defined in operators.jl")
|
| 160 |
parser.add_argument(
|
| 161 |
"--unary-operators", type=str, nargs="+", default=["exp", "sin", "cos"],
|
|
|
|
| 57 |
--test TEST Which test to run (default: simple1)
|
| 58 |
--binary-operators BINARY_OPERATORS [BINARY_OPERATORS ...]
|
| 59 |
Binary operators. Make sure they are defined in
|
| 60 |
+
operators.jl (default: ['plus', 'mult'])
|
| 61 |
--unary-operators UNARY_OPERATORS
|
| 62 |
Unary operators. Make sure they are defined in
|
| 63 |
operators.jl (default: ['exp', 'sin', 'cos'])
|
|
|
|
| 155 |
parser.add_argument("--test", type=str, default='simple1', help="Which test to run")
|
| 156 |
|
| 157 |
parser.add_argument(
|
| 158 |
+
"--binary-operators", type=str, nargs="+", default=["plus", "mult"],
|
| 159 |
help="Binary operators. Make sure they are defined in operators.jl")
|
| 160 |
parser.add_argument(
|
| 161 |
"--unary-operators", type=str, nargs="+", default=["exp", "sin", "cos"],
|