YasenDzhenkov/spherex-triage-data
Viewer β’ Updated β’ 9.43k β’ 49
How to use YasenDzhenkov/spherex-triage with Scikit-learn:
from huggingface_hub import hf_hub_download
import joblib
model = joblib.load(
hf_hub_download("YasenDzhenkov/spherex-triage", "sklearn_model.joblib")
)
# only load pickle files from sources you trust
# read more about it here https://skops.readthedocs.io/en/stable/persistence.htmlAn open classifier for every object that NASA's SPHEREx telescope detects in a patch of sky. For each object it gives what it most looks like, how sure it is, and how much it fits nothing known, so unusual objects can be checked first. Built by team Aphelion for NASA Space Apps 2026.
features.json).star, ir-only (seen by WISE but not Gaia: galaxies, dusty or cool objects), asteroid, unmatched
(a one-off detection, an artefact, or something new), plus an oddness score from an Isolation Forest.Whole zones held out (GroupKFold by zone (held-out sky)): the model is always scored on sky it never saw.
| value | |
|---|---|
| accuracy on held-out sky | 93.1% |
| balanced accuracy (mean of per-class recall) | 68.2% |
baseline: always guess unmatched |
65.7% |
oddness: share of unmatched among the 5 % oddest |
100.0% (base rate 65.7%) |
| the app's 210 objects around 6 named targets (never trained on) | 92.4% |
| class | precision | recall | objects |
|---|---|---|---|
| star | 0.86 | 0.96 | 2916 |
| ir-only | 0.23 | 0.13 | 316 |
| unmatched | 0.99 | 0.96 | 6195 |
| truth \ predicted | star | ir-only | unmatched |
|---|---|---|---|
| star | 2786 | 95 | 35 |
| ir-only | 236 | 41 | 39 |
| unmatched | 206 | 43 | 5946 |
unmatched objects are mostly single-visit detections, which are easy to separate; the hard, useful split is among objects seen on several visits.ir-only has few examples, and is the weakest class.ir-only or unmatched.python predict.py report.json # a zone report from the app's engine (POST /scan β report)
SPHEREx data: NASA/JPL-Caltech/IPAC (IRSA). Gaia DR3: ESA/Gaia/DPAC. AllWISE and 2MASS: NASA/IPAC. Catalogue access via the VizieR service (CDS, Strasbourg; Harvard mirror). Asteroids: SkyBoT (IMCCE).