MilesCranmer commited on
Commit
0124505
1 Parent(s): c27a9c8

Make simple test 1 harder

Browse files
Files changed (1) hide show
  1. eureqa.py +1 -1
eureqa.py CHANGED
@@ -71,7 +71,7 @@ def eureqa(X=None, y=None, threads=4, parsimony=1e-3, alpha=10,
71
 
72
  if X is None:
73
  if test == 'simple1':
74
- eval_str = "X[:, 2]**2 + np.cos(X[:, 3]) - 5"
75
  elif test == 'simple2':
76
  eval_str = "np.sign(X[:, 2])*np.abs(X[:, 2])**3.5 + 1/np.abs(X[:, 0])"
77
 
 
71
 
72
  if X is None:
73
  if test == 'simple1':
74
+ eval_str = "X[:, 2]**2 + 5*np.cos(X[:, 3]) - 5"
75
  elif test == 'simple2':
76
  eval_str = "np.sign(X[:, 2])*np.abs(X[:, 2])**3.5 + 1/np.abs(X[:, 0])"
77