XClass: An Automated Multiwavelength Machine-Learning Pipeline for Classification of Extragalactic X-ray Sources. I. Pipeline Description
arXiv:2610.00459 · doi:10.3847/1538-4357/ae8d15
Abstract
Most X-ray sources detected in nearby galaxies by the Chandra X-ray Observatory lack astrophysical classifications. We present XClass (X-ray Classifier for extragalactic sources), an end-to-end machine-learning pipeline that classifies extragalactic X-ray point sources into seven classes: AGN, LMXBs, HMXBs, CVs, low-mass and high-mass foreground stars, and supernova remnants. The key challenge is photometric heterogeneity: training sources are predominantly Galactic with photometry from wide-field surveys (PanSTARRS and 2MASS), while extragalactic targets require Hubble Space Telescope (HST) imaging in a disjoint filter system. We address this through a spectral energy distribution (SED) translation that fits class-appropriate spectral models to each training source and convolves the best-fit model through HST filter curves, producing synthetic magnitudes in a common feature space. The classifier uses an asymmetric two-stage Random Forest: Stage 1 separates broad categories (AGN, X-ray binaries, SNRs, stars) and Stage 2 resolves X-ray binaries into LMXBs and HMXBs using an augmented feature vector that includes Stage 1 probabilities. The training set is assembled from ten Galactic catalogs and extragalactic SNR catalogs, cross-matched with the Chandra Source Catalog v2.1. Features include X-ray hardness ratios, SED-translated HST colors, and X-ray-to-optical flux ratios. We restrict the training set to sources with at least one optical magnitude, avoiding imputation artifacts; the pipeline achieves 99.6% accuracy and balanced accuracy of 0.90 on the resulting 11,374-source optical baseline, with excellent calibration (ECE = 0.002). XClass is modular, generalizable to any HST filter configuration, and will be applied to M31 and M33 in a companion paper.
17 pages, 7 figures. Published in ApJ
References in corpus (23)
- XGBoost: A Scalable Tree Boosting System
- Array Programming with NumPy
- Astropy: A Community Python Package for Astronomy
- The Astropy Project: Building an inclusive, open-science project and status of the v2.0 core package
- The Astropy Project: Sustaining and Growing a Community-oriented Open-source Project and the Latest Major Release (v5.0) of the Core Package
- The Apache Point Observatory Galactic Evolution Experiment (APOGEE)
- A 3D Dust Map Based on Gaia, Pan-STARRS 1 and 2MASS
- astroquery: An Astronomical Web-Querying Package in Python
- Catalogue of high-mass X-ray binaries in the Galaxy ( edition)
- A catalogue of low-mass X-ray binaries in the Galaxy, LMC, and SMC (Fourth edition)
- Finding counterparts for All-sky X-ray surveys with Nway: a Bayesian algorithm for cross-matching multiple catalogues
- The Einstein Probe Mission
- The Magellan/IMACS Catalog of Optical Supernova Remnant Candidates in M83
- An X-ray Search for Compact Central Sources in Supernova Remnants II: Six Large Diameter SNRs
- Probabilistic classification of X-ray sources applied to Swift-XRT and XMM-Newton catalogs
- Classifying Unidentified X-ray Sources in the Chandra Source Catalog Using a Multiwavelength Machine-learning Approach
- A New, Larger Sample of Supernova Remnants in NGC 6946
- Automatic classification of time-variable X-ray sources
- The Spectral and Temporal Properties of Transient Sources in Early-Type Galaxies
- Comparing Chandra and Hubble in the Northern Disk of M31
- Identifying New X-ray Binary Candidates in M31 using Random Forest Classification
- Population of X-ray Sources in the Intermediate-Age Cluster NGC 3532: a Test Bed for Machine-Learning Classification
- Chandra X-ray Observatory Observations of 13 Fermi LAT Sources