Is the future already here? Created an algorithm that predicts crimes

Remember when Tom Cruise worked in a department that predicts crimes in “Minority Report”?

The idea of ​​punishment for dangerous acts before they were committed was in the minds of not only science fiction writers and filmmakers, but also among scientists.