Skip to content

Commit b7c6e09

Browse files
committed
Change the default optimizer to l2 dual coordinate descent method
1 parent 1db376a commit b7c6e09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libmultilabel/linear/linear.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def _prepare_options(x: sparse.csr_matrix, options: str) -> tuple[sparse.csr_mat
139139
raise ValueError("Invalid LIBLINEAR solver type. Only classification solvers are allowed.")
140140
else:
141141
# workaround for liblinear warning about unspecified solver
142-
options_split.extend(["-s", "2"])
142+
options_split.extend(["-s", "1"])
143143

144144
bias = -1.0
145145
if "-B" in options_split:

0 commit comments

Comments
 (0)