sorry for posting here, but this link
https://github.com/srome/PyFactorizationMachines
does not have issues option
I try to run your code from post
but it is very slow
original github folder
https://github.com/dstein64/PyFactorizationMachines
changed a lot , for example Adam added
what you think is it possible to use sparse data now for original code
https://github.com/dstein64/PyFactorizationMachines