Variable Selection In Distance Metric Learning And Triplet Constraints For Deep Learning Based Ordinal Classification