About Equation 9 in paper "Buy It Again: Modeling Repeat Purchase Recommendations", it says: k is the number of purchases of product Ai by customer Cj.
In the file "utils_bia.py", function get_lambda(row): may change "k = row['cnt']" to "k = row['cnt']+1"?
About Equation 9 in paper "Buy It Again: Modeling Repeat Purchase Recommendations", it says: k is the number of purchases of product Ai by customer Cj. In the file "utils_bia.py", function get_lambda(row): may change "k = row['cnt']" to "k = row['cnt']+1"?