Skip to content

Commit

Permalink
Update elastic_net.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Faezehabibi authored Dec 9, 2024
1 parent 307c263 commit f412e65
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ngclearn/modules/regression/elastic_net.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,8 @@ def fit(self, y, X):
self.coef_ = np.array(self.W.weights.value)

return self.coef_, self.err.mu.value, self.err.L.value





0 comments on commit f412e65

Please sign in to comment.