Spaces:
Sleeping
Sleeping
VishalJ99
commited on
Commit
•
479ef03
1
Parent(s):
9546e74
Update pysr_demo.ipynb
Browse filesMinor typo correction regarding default value for the complexity_of_operators parameter.
- examples/pysr_demo.ipynb +1 -1
examples/pysr_demo.ipynb
CHANGED
@@ -396,7 +396,7 @@
|
|
396 |
"id": "wbWHyOjl2_kX"
|
397 |
},
|
398 |
"source": [
|
399 |
-
"Since `quart` is arguably more complex than the other operators, you can also give it a different complexity, using, e.g., `complexity_of_operators={\"quart\": 2}` to give it a complexity of 2 (instead of the default
|
400 |
"\n",
|
401 |
"\n",
|
402 |
"One can also add a binary operator, with, e.g., `\"myoperator(x, y) = x^2 * y\"`. All Julia operators that work on scalar 32-bit floating point values are available.\n",
|
|
|
396 |
"id": "wbWHyOjl2_kX"
|
397 |
},
|
398 |
"source": [
|
399 |
+
"Since `quart` is arguably more complex than the other operators, you can also give it a different complexity, using, e.g., `complexity_of_operators={\"quart\": 2}` to give it a complexity of 2 (instead of the default 1). You can also define custom complexities for variables and constants (`complexity_of_variables` and `complexity_of_constants`, respectively - both take a single number).\n",
|
400 |
"\n",
|
401 |
"\n",
|
402 |
"One can also add a binary operator, with, e.g., `\"myoperator(x, y) = x^2 * y\"`. All Julia operators that work on scalar 32-bit floating point values are available.\n",
|