There was a movie about this and it didn't work out too well ...
www.theguardian.com

UK creating ‘murder prediction’ tool to identify people most likely to kill
Exclusive: Algorithms allegedly being used to study data of thousands of people, in project critics say is ‘chilling and dystopian’