MilesCranmer commited on
Commit
a626763
1 Parent(s): 00a6f27

Add coveralls badge

Browse files
Files changed (2) hide show
  1. README.md +1 -0
  2. test/test.py +1 -1
README.md CHANGED
@@ -5,6 +5,7 @@
5
  [![Documentation Status](https://readthedocs.org/projects/pysr/badge/?version=latest)](https://pysr.readthedocs.io/en/latest/?badge=latest)
6
  [![PyPI version](https://badge.fury.io/py/pysr.svg)](https://badge.fury.io/py/pysr)
7
  ![.github/workflows/CI.yml](https://github.com/MilesCranmer/PySR/workflows/.github/workflows/CI.yml/badge.svg)
 
8
 
9
  **Parallelized symbolic regression built on Julia, and interfaced by Python.
10
  Uses regularized evolution, simulated annealing, and gradient-free optimization.**
 
5
  [![Documentation Status](https://readthedocs.org/projects/pysr/badge/?version=latest)](https://pysr.readthedocs.io/en/latest/?badge=latest)
6
  [![PyPI version](https://badge.fury.io/py/pysr.svg)](https://badge.fury.io/py/pysr)
7
  ![.github/workflows/CI.yml](https://github.com/MilesCranmer/PySR/workflows/.github/workflows/CI.yml/badge.svg)
8
+ [![Coverage Status](https://coveralls.io/repos/github/MilesCranmer/PySR/badge.svg)](https://coveralls.io/github/MilesCranmer/PySR)
9
 
10
  **Parallelized symbolic regression built on Julia, and interfaced by Python.
11
  Uses regularized evolution, simulated annealing, and gradient-free optimization.**
test/test.py CHANGED
@@ -70,5 +70,5 @@ class TestBest(unittest.TestCase):
70
  def test_best_lambda(self):
71
  X = np.random.randn(10, 2)
72
  y = np.cos(X[:, 0])**2
73
- for f in [best_callable(), best_callable(self.equations))]:
74
  np.testing.assert_almost_equal(f(X), y)
 
70
  def test_best_lambda(self):
71
  X = np.random.randn(10, 2)
72
  y = np.cos(X[:, 0])**2
73
+ for f in [best_callable(), best_callable(self.equations)]:
74
  np.testing.assert_almost_equal(f(X), y)