Skip to content

Commit

Permalink
Merge pull request #624 from VishalJ99/patch-1
Browse files Browse the repository at this point in the history
Update pysr_demo.ipynb
  • Loading branch information
MilesCranmer committed May 7, 2024
2 parents 9546e74 + 479ef03 commit ebc37c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/pysr_demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@
"id": "wbWHyOjl2_kX"
},
"source": [
"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 2). You can also define custom complexities for variables and constants (`complexity_of_variables` and `complexity_of_constants`, respectively - both take a single number).\n",
"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",
"\n",
"\n",
"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",
Expand Down

0 comments on commit ebc37c5

Please sign in to comment.