AI/ML covers a ton of algorithms, some of them are that boring, some of them aren’t.
Re above. Take all users who viewed all items. Run a MapReduce to segregate them into pairs. Calculate the frequency of pairs and store the result. That clearer? More expensive than complex.