Skip to content

Conversation

@Irozuku
Copy link
Collaborator

@Irozuku Irozuku commented Jan 28, 2026

Summary

This pull request updates the Support Vector Classifier (SVC) implementation to always enable probability prediction by default. The configurable probability option has been removed to simplify the API, ensure consistent availability of probability outputs, and support metrics that require model-predicted probabilities for their calculation.


Type of Change

Check all that apply like this [x]:

  • Backend change
  • Frontend change
  • CI / Workflow change
  • Build / Packaging change
  • Bug fix
  • Documentation

Changes (by file)

Briefly list the important modified files and what was done.

  • DashAI/back/models/scikit_learn/svc.py:
    • Removed the probability field from SVCSchema so it can no longer be user-configured.
    • Updated the SVC model initialization to always set probability=True, ensuring probability predictions are available for metric computation.

Testing (optional)

  • Confirm that metrics requiring probability outputs (e.g., ROC AUC, log loss) compute correctly.
  • Ensure that removing the probability field from the schema does not break existing configurations.

@Irozuku Irozuku added the back Backend work label Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

back Backend work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants