Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
Update tests/equisolve_tests/numpy/models/test_linear_model.py
Browse files Browse the repository at this point in the history
Co-authored-by: Philip Loche <[email protected]>
  • Loading branch information
agoscinski and PicoCentauri authored Mar 6, 2023
1 parent f93594e commit 2303512
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions tests/equisolve_tests/numpy/models/test_linear_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,10 @@ def equisolve_solver_from_numpy_arrays(self, X_arr, y_arr, alpha_arr, sw_arr=Non
num_targets = np.array([1000, 2187])
means = np.array([-0.5, 0, 0.1])
regularizations = np.geomspace(1e-5, 1e5, 3)
"""
For the tests using the paramaters above the number of properties always
needs to be less than the number of targets.
Otherwise, the property matrix will become singualar,
and the solution of the least squares problem would not be unique.
"""
# For the tests using the paramaters above the number of properties always
# needs to be less than the number of targets.
# Otherwise, the property matrix will become singualar,
# and the solution of the least squares problem would not be unique.

@pytest.mark.parametrize("num_properties", num_properties)
@pytest.mark.parametrize("num_targets", num_targets)
Expand Down

0 comments on commit 2303512

Please sign in to comment.