Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
louisabraham committed Aug 25, 2024
1 parent 8834b24 commit c431f3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lassonet/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -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[
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit c431f3e

Please sign in to comment.