// CASE STUDY : APPLIED ML : SPACE : 2026
ExoDetect
A model that flags an exoplanet but will not say why is not evidence an astronomer can act on.
91%
accuracy, 5 classes
98.1%
ROC-AUC
7,904
labelled Kepler signals
0 of 769
non-planets called a planet
The problem
Speed is not the bottleneck. Trust is.
Machine learning can sift Kepler and TESS light curves far faster than manual review, and that part is close to solved. The problem is what happens next: an unexplained classification cannot be defended, published or followed up, so it does not actually reduce anyone's workload.
A transit is a star dimming by a fraction of a percent. Most things that do that are not planets - they are eclipsing binaries, background blends, and instrument artefacts. So every candidate a model flags still lands on a person who has to say why it is real before anyone spends telescope time on it. A score of 0.93 gives that person nothing to check, and they re-derive the whole thing from the light curve. The model has saved nobody anything.
My thinking
We had a model that could score. The question was whether anyone could act on the score.
The solution
A classifier that shows its work for every signal it classifies.
You give it the six numbers a transit search already produces - orbital period, duration, depth in ppm, signal-to-noise, planet radius, KOI score - plus whichever of the four false-positive flags apply. It returns one of five verdicts: transit, candidate, eclipsing binary, blend, or false positive. Not a binary planet/not-planet, because the failure modes are the useful part: knowing a signal is an eclipsing binary tells a reviewer to stop, while knowing it is a candidate tells them to keep going.
Beside the verdict sit three things: the confidence and the full probability spread across all five classes, the six features that moved the prediction most with the direction each one pushed, and a transit curve drawn from the parameters you entered. The same view is readable twice - a plain-language mode that names the outcome, and a scientist mode that exposes the per-class metrics and the geometry.



DECISION 01
The explanation ships in the response, not in a notebook
An explanation you have to go and generate separately is one nobody generates.
The API runs a SHAP TreeExplainer on every single prediction and returns the top six features signed by direction. There is no path through the product that produces a label without them.
DECISION 02
Train a second model on physics alone, and publish the gap
If the flags carry the accuracy, the accuracy is partly borrowed, and a reader deserves to know that before they trust the figure.
Physics-only features score 75.8% against 90.6% with the flags. The four flags stay in the model because a real reviewer has them, but they are exposed as checkboxes the user sets rather than hidden inside the feature vector.
DECISION 03
Draw the transit the numbers imply
Feature importances explain the model. They do not tell you whether the signal was physically plausible in the first place.
The same parameters are pushed through a limb-darkened transit model and plotted as a phase-folded curve, so a depth that cannot produce that shape is visible before anyone reads the classification.
DECISION 04
Ship a live demo, not a slide
Interpretability is hard to believe from a description and easy to believe from a click.
A hosted app anyone could open and drive with their own numbers, with a local fallback so a cold or missing API degrades the answer instead of ending the demo.
Execution
Labels first, model second, explanation third, interface last - and the interface is the only part that was ever going to be judged.
The training corpus is the Kepler DR25 catalogue cut to 7,904 signals across five classes, with an 80/20 stratified split. The classifier is gradient-boosted trees, 300 of them at depth six, which is the boring choice and the right one: tree ensembles are what SHAP explains exactly rather than approximately, so the interpretability requirement chose the model family before accuracy did.
TESS is where it stops being a table lookup. Raw light curves are downloaded, outlier-clipped, normalised and flattened, then run through Transit Least Squares to recover the period, depth and duration that Kepler hands you for free - with the detection significance becoming the score and an odd/even depth mismatch setting the secondary-eclipse flag. The obstacle was the boundary the model cannot see: 142 of its 149 test errors are candidate against transit, and that is the same boundary NASA has not resolved either, since a candidate is by definition a transit nobody has confirmed yet. We stopped trying to push it and reported it instead.
- DATA
- Kepler DR25, 7,904 signals, 5 classes
- SPLIT
- 80/20 stratified, held-out test set
- MODEL
- XGBoost, 300 trees, depth 6, 17 features
- EXPLAINABILITY
- SHAP TreeExplainer, top 6 signed
- TESS PATH
- lightkurve + Transit Least Squares
- GEOMETRY
- Limb-darkened transit model, phase folded
- SERVING
- FastAPI, with local fallback
Impact
91% ACROSS FIVE CLASSES, AND NOT ONE ASTROPHYSICAL FALSE POSITIVE CALLED A PLANET
91%
accuracy, 5 classes
98.1%
ROC-AUC
7,904
labelled Kepler signals
0 of 769
non-planets called a planet
91% accuracy, 98.1% ROC-AUC
Measured on a held-out 20% of 7,904 labelled Kepler signals, stratified across all five classes, by picking a model family SHAP can explain exactly instead of the one that scores highest.
Zero of 769 non-planets classified as a transit
Measured on the same test set: every eclipsing binary, blend and false positive in it - 769 signals - was kept out of the planet class, by training on five outcomes rather than two so the failure modes had somewhere to go.
95% of the errors sit on one known boundary
142 of 149 misclassifications are candidate against transit, a boundary that is unresolved in the source catalogue itself. Reported rather than tuned away, because a 91% that is wrong in one predictable place is more useful than a 93% that is wrong anywhere.
15 points of the accuracy traced to human vetting
Measured by retraining on physics-only features and watching accuracy fall from 90.6% to 75.8%, by building the ablation instead of quoting the headline number and moving on.
What I learned
Accuracy is the number the room asks for. Trust is the number the user needs, and they are not the same number. We could have stopped at 91% - it is a good figure and nobody in the room was going to audit it. The more useful work was asking what somebody would have to see before they were willing to spend telescope time on the answer, and then finding out that a sixth of our headline number was really NASA's.
Interpretability was worth more as a diagnostic than as a feature. The SHAP output was built for the reviewer, and the first thing it did was tell on us - a false-positive flag sitting at the top of the contribution list, above every physical measurement. If the explanation had been bolted on at the end, we would have shipped the number without ever learning that. Next is validating those explanations against someone who actually vets candidates, because a feature ranking that looks reasonable to us is not the same as one an astronomer would accept.