Skip to content

fix: correct PearsonCorrCoef num_outputs input validation (and -> or) - #3445

Open
xiaoyaoqilan wants to merge 1 commit into
Lightning-AI:masterfrom
xiaoyaoqilan:fix/pearsoncorrcoef-validation
Open

fix: correct PearsonCorrCoef num_outputs input validation (and -> or)#3445
xiaoyaoqilan wants to merge 1 commit into
Lightning-AI:masterfrom
xiaoyaoqilan:fix/pearsoncorrcoef-validation

Conversation

@xiaoyaoqilan

Copy link
Copy Markdown

Problem

Same and -> or bug as #3364 (PSNRB) and LogCoshError. Non-integer num_outputs values silently pass validation.

Fix

Change and to or for correct input validation.

Co-Authored-By: Claude noreply@anthropic.com

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.

1 participant