Skip to content

Commit

Permalink
debug ci
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasryck committed Sep 27, 2024
1 parent 1318a99 commit f6a4379
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:

test_imports:
needs: [build_wheels]
name: Smoke test for c++ depenencies on raw ${{ matrix.os }}
name: Smoke test for c++ dependencies on raw ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down
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 = 0
self.lambda_1 = 1 / (2 * X.shape[0])
elif (self.lambda_1 == np.inf):
self.lambda_1 = 0

Expand Down

0 comments on commit f6a4379

Please sign in to comment.