A two-phase gradient based feature embedding approach. (September 2021)