TDA randomized