Task: Demonstrate and Fix SVM predict proba Inconsistency in Scikit-learn
Task: Demonstrate and Fix SVM predict proba Inconsistency in Scikit-learn: a task in Terminal-Lego-15k (Harbor dataset). Scikit-learn's SVC with probability=True uses Platt scaling (a sigmoid fit on the decision values) to produce probability estimates via predict proba() . For very small…
The task
Scikit-learn's `SVC` with `probability=True` uses Platt scaling (a sigmoid fit on the decision values) to produce probability estimates via `predict_proba()`. For very small datasets, this calibration can produce probabilities that disagree with the `predict()` function's output. The task is to demonstrate this…
Part of PrimeIntellect/Terminal-Lego-15k.