They took some well-known methods from statistics, including something called matrix factorization, added bitsofknowledge about movie recommenders (like the fact that movies seen long ago tend to be rated highly) and then threw all of it against the wall to see what stuck.
The reliability and accuracy of all the other bitsof evidence would have to be taken on trust by the courts, as they depend on the knowledge and experience of a particular forensic scientist.