We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6a294c commit ba9ebecCopy full SHA for ba9ebec
libmultilabel/linear/tree.py
@@ -223,7 +223,8 @@ def _train_node(y: sparse.csr_matrix,
223
node.model = linear.train_1vsrest(
224
meta_y, x, options, False
225
)
226
- node.model.weights = sparse.csr_matrix(node.model.weights)
+
227
+ node.model.weights = sparse.csr_matrix(node.model.weights)
228
229
230
def _flatten_model(root: Node) -> tuple[linear.FlatModel, np.ndarray]:
0 commit comments