Skip to content

Display mode for R2 and MAPE metrics#102

Merged
gabrieletijunaityte merged 1 commit into
developfrom
feature/metrics-mode-improvements
May 8, 2026
Merged

Display mode for R2 and MAPE metrics#102
gabrieletijunaityte merged 1 commit into
developfrom
feature/metrics-mode-improvements

Conversation

@robknapen
Copy link
Copy Markdown
Collaborator

What does this PR do?

Includes mode in forward() method result. Adds input validation to ensure the mode parameter passed to MAPE and RSquared forward methods is one of the predefined modes (train, val, test), preventing silent KeyError on invalid mode strings.

Before submitting

  • Did you make sure title is self-explanatory and the description concisely explains the PR?
  • Did you make sure your PR does only one thing, instead of bundling different changes together?
  • Did you list all the breaking changes introduced by this pull request?
  • Did you test your PR locally with pytest command?

@gabrieletijunaityte gabrieletijunaityte merged commit 66094cf into develop May 8, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants