Skip to content

Fix L2-SVM invalid label validation#2329

Open
VirenS13117 wants to merge 1 commit intoapache:mainfrom
VirenS13117:fix-l2svm-validation-clean
Open

Fix L2-SVM invalid label validation#2329
VirenS13117 wants to merge 1 commit intoapache:mainfrom
VirenS13117:fix-l2svm-validation-clean

Conversation

@VirenS13117
Copy link

Convert warning to error when Y contains invalid number of binary labels. This prevents the algorithm from continuing with malformed data which could lead to unpredictable training results.

Convert warning to error when Y contains invalid number of binary labels.
This prevents the algorithm from continuing with malformed data which could
lead to unpredictable training results.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@Baunsgaard
Copy link
Contributor

Unfortunately it is not so simple to resolve the TODO, there are other functions that currently are calling L2SVM and sometimes with incorrect arguments. To resolve the support I think we need to introduce error handling in SystemDS to have something like try catch semantics in the runtime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants