A machine learning framework resolves ambiguous matches between Chandra X-ray and Gaia optical sources by using magnitude, color, and distance data. It identifies counterparts for 113,000 of 254,000 Chandra sources, finds plausible multiple counterparts for 7,000, and validates its performance on the COUP survey with 95% accuracy without positional data.