The police department in the Californian city of Santa Cruz last summer began an innovative experiment. Using large sets of data and a sophisticated algorithm, the project aimed to forecast when and where future crimes were most likely to take place.