Skip to content

Commit

Permalink
debug ci
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasryck committed Sep 30, 2024
1 parent 30cf3c0 commit 2e4a1fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cyanure/estimators.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def fit(self, X, labels, le_parameter=None):
loss = self.loss

if (loss == "multiclass-logistic" or loss == "logistic") and self.lambda_1 == np.inf:
self.lambda_1 = 1 / (2 * X.shape[0])
self.lambda_1 = 0
elif (self.lambda_1 == np.inf):
self.lambda_1 = 0

Expand Down

0 comments on commit 2e4a1fe

Please sign in to comment.