Classifying X-ray Binaries: A Probabilistic Approach