PySR / test /test.py
MilesCranmer's picture
Shorten tests
54c4dd3
raw
history blame
137 Bytes
import numpy as np
from pysr import pysr
X = np.random.randn(100, 5)
y = X[:, 0]
equations = pysr(X, y, niterations=2)
print(equations)