From c431f3e4219f9f2fd8aa034f1ee60530dd26175f Mon Sep 17 00:00:00 2001 From: louisabraham Date: Sun, 25 Aug 2024 04:30:29 +0200 Subject: [PATCH] fix --- lassonet/interfaces.py | 4 ++-- setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lassonet/interfaces.py b/lassonet/interfaces.py index e793ccc..4daf449 100755 --- a/lassonet/interfaces.py +++ b/lassonet/interfaces.py @@ -526,8 +526,8 @@ def _stability_selection_path(self, X, y, lambda_seq=None) -> List[HistoryItem]: shuffle = list(range(n)) random.shuffle(shuffle) train_ind = shuffle[n // 2 : n] - return super(BaseLassoNet, self).path( - X[train_ind], y[train_ind], lambda_seq=lambda_seq + return BaseLassoNet.path( + self, X[train_ind], y[train_ind], lambda_seq=lambda_seq ) def stability_selection(self, X, y, n_models=20) -> Tuple[ diff --git a/setup.py b/setup.py index bc17374..fdd4e95 100755 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ def read(fname): setup( name="lassonet", - version="0.0.18", + version="0.0.19", author="Louis Abraham, Ismael Lemhadri", author_email="louis.abraham@yahoo.fr, lemhadri@stanford.edu", license="MIT",