-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TST add unit testing for inf weights (#234)
Co-authored-by: mathurinm <[email protected]>
- Loading branch information
1 parent
64aed96
commit 0ed7282
Showing
3 changed files
with
56 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
# Author: Mathurin Massias <[email protected]> | ||
# License: BSD 3 clause | ||
|
||
import pytest | ||
import numpy as np | ||
from numpy.linalg import norm | ||
|
||
from numpy.testing import assert_allclose, assert_array_less | ||
from numpy.testing import assert_allclose, assert_array_less, assert_array_equal | ||
from sklearn.linear_model._logistic import _logistic_regression_path | ||
from sklearn.utils.estimator_checks import check_estimator | ||
from sklearn.linear_model import LogisticRegression as sklearn_Logreg | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters