Dynamic feature selection for machine-learning based concurrency regulation in STM