MilesCranmer commited on
Commit
68c5219
1 Parent(s): 9dae2b1

Show inline operator in README example

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -77,7 +77,7 @@ y = 2*np.cos(X[:, 3]) + X[:, 0]**2 - 2
77
  # Learn equations
78
  equations = pysr(X, y, niterations=5,
79
  binary_operators=["plus", "mult"],
80
- unary_operators=["cos", "exp", "sin"])
81
 
82
  ...# (you can use ctl-c to exit early)
83
 
 
77
  # Learn equations
78
  equations = pysr(X, y, niterations=5,
79
  binary_operators=["plus", "mult"],
80
+ unary_operators=["cos", "exp", "sin", "inv(x) = 1/x"])
81
 
82
  ...# (you can use ctl-c to exit early)
83