Skip to content

Commit 76ca43d

Browse files
rename eval function
1 parent db2a8f1 commit 76ca43d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/evaluation/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
- TAC bias
1212
"""
1313

14-
from .eval_dataset import eval_dataset
14+
from .eval_dataset import evaluate_dataset
1515
from .eval_case import evaluate_case
1616
from .metrics import (
1717
compute_whole_body_suv_mae,

src/evaluation/eval_dataset.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
from .metrics import compute_brain_outlier_score
3131

3232

33-
def eval_dataset(dataset_path, pred_dir, subjects=None):
33+
def evaluate_dataset(dataset_path, pred_dir, subjects=None):
3434
"""
3535
Evaluate predictions across multiple subjects.
3636
@@ -129,7 +129,7 @@ def main():
129129
)
130130
args = parser.parse_args()
131131

132-
eval_dataset(args.dataset_path, args.pred_dir, args.subjects)
132+
evaluate_dataset(args.dataset_path, args.pred_dir, args.subjects)
133133

134134

135135
if __name__ == "__main__":

0 commit comments

Comments
 (0)