Skip to content

Commit

Permalink
debug ci
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasryck committed Sep 26, 2024
1 parent ac1cba5 commit 3751a13
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 == 1.0:
self.lambda_1 = 1 / X.shape[0]
self.lambda_1 = 0

labels = np.squeeze(labels)
initial_weight, yf, nclasses = self._initialize_weight(X, labels)
Expand Down

0 comments on commit 3751a13

Please sign in to comment.