Classifying X-Ray Sources With Machine Learning and Searching for Compact Objects