Model workshop · SVMTry the image workshop

Probe the model.
See what it sees.

Switch kernels on the right, then drag the sliders below. The decision boundary, your prediction, and the surrounding region update live. Pick any two features as visualisation axes — the remaining eight are held at the slider values.

Features

10 inputs
Radius (mean)X axis
14.8 mm
6.0RFE rank 1 · importance 92%30.0
Texture (mean)
19.8
9.0RFE rank 6 · importance 41%40.0
Perimeter (mean)
96.8 px
40.0RFE rank 2 · importance 90%200.0
Area (mean)
721 px²
140RFE rank 3 · importance 88%2500
Smoothness (mean)
0.098
0.050RFE rank 9 · importance 23%0.170
Compactness (mean)
0.113
0.020RFE rank 7 · importance 38%0.360
Concavity (mean)
0.103
0.000RFE rank 4 · importance 81%0.430
Concave points (mean)Y axis
0.057
0.000RFE rank 5 · importance 78%0.210
Symmetry (mean)
0.183
0.100RFE rank 8 · importance 27%0.310
Fractal dim. (mean)
0.0628
0.0450RFE rank 10 · importance 9%0.1000

Decision boundary

Live feature space for the selected kernel. Hover any point for details.

Prediction
Benign

Based on RBF kernel, the model classifies this profile as benign with 68.4% confidence.

benignP(malignant) = 31.6%malignant
Signed decision
-0.2274
Distance to boundary
0.2274
Latency (live)
Top features pulling this prediction
Concave pts.
0.057 · benign
Concavity
0.103 · benign
Perimeter
96.8 · benign

Model-specific stats

SVM — RBF kernel · 78 support vectors
97.9%
Accuracy
held-out test split
99.7%
ROC-AUC
area under ROC curve
97.4%
F1 Score
harmonic precision / recall
1.2 ms
Prediction latency
single-sample inference
97.8%
Precision
TP / (TP+FP)
97.1%
Recall
TP / (TP+FN)
78
Support vectors
trained in 23 ms
0.227
Distance to boundary
malignant prob. 31.6%

Learning curve

accuracy vs. epoch
traintest

Bias / variance diagnostic

error vs. complexity (C)
bias (train err.)variance (cv err.)

Hyperparameters

K(xᵢ, xⱼ) = exp(−γ ||xᵢ − xⱼ||²)
C
10
γ (gamma)
0.06
kernel
rbf

Explainability

RAG retrieval over reference clinical documents

Why this prediction?

RAG · mock
  • Using the svm — rbf kernel, your input falls in the benign region of feature space with 68.4% confidence (signed decision -0.227).
  • This input lies near the boundary — small movements in concavity or radius can flip the prediction. We recommend reviewing the bias-variance panel below.
  • Your input sits at the neutral midpoint of every feature. Try adjusting radius, perimeter, area, or concave points to see how the prediction responds.
Predictions are advisory and require clinical validation before acting on them.

Retrieved reference passages

rfe-ucsd-2024
DS3 internal — Recursive feature elimination report (Spring 2026)
After RFE only six 'mean' features survive the 0.05 significance cut; smoothness and fractal dimension consistently drop out as redundant.
smoothness_meanfractal_dimension_mean
rbf-vs-linear
Kernel-comparison study, UCI-WDBC benchmark
The RBF kernel narrows the boundary in the high-concavity region where the linear kernel tends to over-classify benign borderline cases.
concavity_meanconcave_points_mean
case-A
Case A-123 — historical positive prediction (chart match 91%)
Inputs in this neighborhood (radius ≈ 17, concavity ≈ 0.15) historically resolved malignant in 41 of 44 retrospective cases.
radius_meanconcavity_mean

Input snapshot

JSON · live request to /api/predict
{
  "model": "rbf",
  "kernel": "rbf",
  "features": {
    "radius_mean": 14.85,
    "texture_mean": 19.75,
    "perimeter_mean": 96.75,
    "area_mean": 720.6,
    "smoothness_mean": 0.09770000000000001,
    "compactness_mean": 0.11265,
    "concavity_mean": 0.10305,
    "concave_points_mean": 0.056850000000000005,
    "symmetry_mean": 0.1835,
    "fractal_dimension_mean": 0.0628
  },
  "prediction": {
    "label": "benign",
    "probability_malignant": 0.3158,
    "confidence": 0.6842,
    "decision": -0.2274
  }
}