Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Commit
•
c5c6896
1
Parent(s):
ffc5f5c
Update julia_helpers.py
Browse files- pysr/julia_helpers.py +1 -5
pysr/julia_helpers.py
CHANGED
@@ -12,11 +12,7 @@ jl.seval("using PythonCall: PythonCall")
|
|
12 |
Serialization = jl.Serialization
|
13 |
PythonCall = jl.PythonCall
|
14 |
|
15 |
-
jl.plus
|
16 |
-
jl.sub = jl.seval("(-)")
|
17 |
-
jl.mult = jl.seval("(*)")
|
18 |
-
jl.pow = jl.seval("(^)")
|
19 |
-
jl.div = jl.seval("(/)")
|
20 |
|
21 |
|
22 |
def install(*args, **kwargs):
|
|
|
12 |
Serialization = jl.Serialization
|
13 |
PythonCall = jl.PythonCall
|
14 |
|
15 |
+
jl.seval("using SymbolicRegression: plus, sub, mult, div, pow")
|
|
|
|
|
|
|
|
|
16 |
|
17 |
|
18 |
def install(*args, **kwargs):
|