Robust Image Classification And Clustering Via Distribution Learning