Gradient flows and randomised thresholding: sparse inversion and classification*The author thanks the anonymous reviewers for their helpful remarks. (1st December 2022)