From e56c716b8fed667b752d55f377a26bab34c6add7 Mon Sep 17 00:00:00 2001 From: Markus Quade Date: Thu, 15 Feb 2018 15:50:24 +0100 Subject: [PATCH] fix typo --- sparsereg/model/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sparsereg/model/base.py b/sparsereg/model/base.py index 1344a9b9..47b21608 100644 --- a/sparsereg/model/base.py +++ b/sparsereg/model/base.py @@ -65,7 +65,7 @@ def print_model(self, input_features=None): class STRidge(LinearModel, RegressorMixin): - def __init__(self, threshold=0.01, alpha=0.1, max_iter=100, normalize=True, fit_intercept=True, copy_x=True, unbias=True, _cond=-1): + def __init__(self, threshold=0.01, alpha=0.1, max_iter=100, normalize=True, fit_intercept=True, copy_x=True, unbias=True, _rcond=-1): self.threshold = threshold self.max_iter = max_iter self.fit_intercept = fit_intercept @@ -73,7 +73,7 @@ def __init__(self, threshold=0.01, alpha=0.1, max_iter=100, normalize=True, fit_ self.copy_X = copy_x self.alpha = alpha self.unbias = unbias - self._rcond=_rcond + self._rcond= _rcond self.history_ = []