Skip to content

Commit 9b29411

Browse files
Charlotte TumescheitCharlotte Tumescheit
authored andcommitted
lightning cli issue
1 parent b6f0d23 commit 9b29411

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

chebai/cli.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,10 @@ def call_data_methods(data: Type[XYBaseDataModule]):
6060
)
6161

6262
for kind in ("train", "val", "test"):
63-
# todo: fix this
63+
for average in ("micro-f1", "macro-f1", "balanced-accuracy", "roc-auc", "f1", "mse", "rmse", "r2"):
64+
# When using lightning > 2.5.1 then need to uncomment all metrics that are not used
6465
# for average in ("mse", "rmse","r2"): # for regression
65-
for average in ("f1", "roc-auc"): # for binary classification
66+
# for average in ("f1", "roc-auc"): # for binary classification
6667
# for average in ("micro-f1", "macro-f1", "roc-auc"): # for multilabel classification
6768
# for average in ("micro-f1", "macro-f1", "balanced-accuracy", "roc-auc"): # for multilabel classification using balanced-accuracy
6869
parser.link_arguments(

0 commit comments

Comments
 (0)