A Machine learning pipeline for identification of discriminant pathways