File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ def train_1vsrest(
79
79
options : str = "" ,
80
80
verbose : bool = True ,
81
81
) -> FlatModel :
82
- """Trains a linear model for multiabel data using a one-vs-rest strategy.
82
+ """Trains a linear model for multi-label data using a one-vs-rest strategy.
83
83
84
84
Args:
85
85
y (sparse.csr_matrix): A 0/1 matrix with dimensions number of instances * number of classes.
@@ -396,7 +396,7 @@ def train_cost_sensitive(
396
396
options : str = "" ,
397
397
verbose : bool = True ,
398
398
) -> FlatModel :
399
- """Trains a linear model for multilabel data using a one-vs-rest strategy
399
+ """Trains a linear model for multi-label data using a one-vs-rest strategy
400
400
and cross-validation to pick an optimal asymmetric misclassification cost
401
401
for Macro-F1.
402
402
Outperforms train_1vsrest in most aspects at the cost of higher
@@ -500,7 +500,7 @@ def train_cost_sensitive_micro(
500
500
options : str = "" ,
501
501
verbose : bool = True ,
502
502
) -> FlatModel :
503
- """Trains a linear model for multilabel data using a one-vs-rest strategy
503
+ """Trains a linear model for multi-label data using a one-vs-rest strategy
504
504
and cross-validation to pick an optimal asymmetric misclassification cost
505
505
for Micro-F1.
506
506
Outperforms train_1vsrest in most aspects at the cost of higher
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ def train_tree(
117
117
dmax = 10 ,
118
118
verbose : bool = True ,
119
119
) -> TreeModel :
120
- """Trains a linear model for multiabel data using a divide-and-conquer strategy.
120
+ """Trains a linear model for multi-label data using a divide-and-conquer strategy.
121
121
The algorithm used is based on https://github.com/xmc-aalto/bonsai.
122
122
123
123
Args:
You can’t perform that action at this time.
0 commit comments