Note
This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the What you really need to know section for the big picture.
julearn.scoring.register_scorer¶
- julearn.scoring.register_scorer(scorer_name, scorer, overwrite=None)¶
Register a scorer, so that it can be accessed by name.
- Parameters:
- Raises:
ValueError – if overwrite is set to False and the scorer already exists.
- Warns:
- UserWarning
if overwrite is set to None and the scorer already exists.