Skip to content

Submission: knn_baseline (RAIL kNN, tasksets 1 & 2)#35

Merged
eacharles merged 1 commit into
LSSTDESC:mainfrom
marcelo-alvarez:submit/knn_baseline
Jun 22, 2026
Merged

Submission: knn_baseline (RAIL kNN, tasksets 1 & 2)#35
eacharles merged 1 commit into
LSSTDESC:mainfrom
marcelo-alvarez:submit/knn_baseline

Conversation

@marcelo-alvarez

Copy link
Copy Markdown
Contributor

Submission: knn_baseline

Classic photometric-redshift baseline using RAIL KNearNeighEstimator (k-NN in 9-band ugrizy+YJH magnitude space).

Method

  • Per-object p(z) via rail.estimation.algos.k_nearneigh (LSST + Roman bands, catalog tags cardinal_roman_rubin / flagship_roman_rubin).
  • Config: zmax=3.0, nzbins=151, trainfrac=0.2, nneigh 3–5, ngrid_sigma=6, NaN non-detections handled via nondetect_val=nan.
  • Covers tasksets 1 & 2 (the scoring.py default graded set) × sims {cardinal, flagship} × scenarios {1yr, 10yr} = 8 estimate files + 8 trained models.

Validation

  • Each estimate file passes all submit_utils.check_pz_submission_file flags [1–7] locally (valid qp ensemble, zmode + object_id ancil, object_ids match the test file).

Submission tarball (estimates + models) hosted at the release URL referenced in tests/test_knn_baseline.py.

@eacharles eacharles self-requested a review June 22, 2026 22:46

@eacharles eacharles left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

@eacharles eacharles merged commit b6673ee into LSSTDESC:main Jun 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants