Library for factorization machines