Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Commit
•
d0ea029
1
Parent(s):
01f9b99
Make order in loss clear
Browse files
README.md
CHANGED
@@ -121,7 +121,7 @@ model = PySRRegressor(
|
|
121 |
],
|
122 |
extra_sympy_mappings={"inv": lambda x: 1 / x},
|
123 |
# ^ Define operator for SymPy as well
|
124 |
-
loss="loss(
|
125 |
# ^ Custom loss function (julia syntax)
|
126 |
)
|
127 |
```
|
|
|
121 |
],
|
122 |
extra_sympy_mappings={"inv": lambda x: 1 / x},
|
123 |
# ^ Define operator for SymPy as well
|
124 |
+
loss="loss(prediction, target) = (prediction - target)^2",
|
125 |
# ^ Custom loss function (julia syntax)
|
126 |
)
|
127 |
```
|