Skip to content

Commit

Permalink
fix: ✏️ fix typo in param
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Bury committed Jul 31, 2023
1 parent 5577525 commit 342e5fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/arfs/feature_selection/lasso.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ def fit(
# see the if kwargs.get("L1_wt", 1) == 0 condition in
# https://www.statsmodels.org/dev/_modules/statsmodels/genmod/generalized_linear_model.html#GLM.fit_regularized
# workaround to get the statistics
if self.aplha == 0.0:
self.aplha = 1e-9
if self.alpha == 0.0:
self.alpha = 1e-9

if not isinstance(X, pd.DataFrame):
X = pd.DataFrame(X)
Expand Down

0 comments on commit 342e5fc

Please sign in to comment.