Skip to content

Commit

Permalink
minimal script to reproduce warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mathurinm committed Apr 6, 2022
1 parent 74c4d56 commit 634870b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions celer/tests/conv_warning/reproduce_warning.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import numpy as np
from celer import LogisticRegression

from celer.tests.conv_warning.logs.dumped_data import DICT_DATA

data = DICT_DATA['check_fit_idempotent']
X = data["X"]
y = data["y"]
C = data["C"]

clf = LogisticRegression(C=C)
clf.fit(X, y)

0 comments on commit 634870b

Please sign in to comment.