Generalized linear mixed effects models, ubiquitous in social science research, are rarely seen in applied data science work despite their relevance and simplicity. We will discuss this class of statistical models, their usefulness in recommender systems, and present a fast, scalable Python solver for them called Diamond.
rating ~ 1 + (1 | user_id) + (1 | item_id)
rating ~ 1 + ( 1 + item_feature1 + item_feature2 | user_id) + (1 + user_feature1 + user_feature2 | item_id)