Skip to content

Commit ff12159

Browse files
change the default ensemble method to AlgoEnsembleBestByFold in AutoR… (#5722)
Change the default ensemble method Signed-off-by: Mingxin Zheng <18563433+mingxin-zheng@users.noreply.github.com> Fixes Item 2 in #5564 . ### Description A few sentences describing the changes proposed in this pull request. ### Types of changes <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Non-breaking change (fix or new feature that would not break existing functionality). - [x] Integration tests passed locally by running `./runtests.sh -f -u --net --coverage`. Signed-off-by: Mingxin Zheng <18563433+mingxin-zheng@users.noreply.github.com>
1 parent 2b160b3 commit ff12159

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

monai/apps/auto3dseg/auto_runner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ def __init__(
268268

269269
# intermediate variables
270270
self.num_fold = 5
271-
self.ensemble_method_name = "AlgoEnsembleBestN"
271+
self.ensemble_method_name = "AlgoEnsembleBestByFold"
272272
self.set_training_params()
273273
self.set_prediction_params()
274274
self.set_analyze_params()
@@ -473,7 +473,7 @@ def set_image_save_transform(self, kwargs):
473473
output_dir=output_dir, output_postfix=output_postfix, output_dtype=output_dtype, resample=resample, **kwargs
474474
)
475475

476-
def set_ensemble_method(self, ensemble_method_name: str = "AlgoEnsembleBestN", **kwargs):
476+
def set_ensemble_method(self, ensemble_method_name: str = "AlgoEnsembleBestByFold", **kwargs):
477477
"""
478478
Set the bundle ensemble method
479479

0 commit comments

Comments
 (0)