Relative Content

Tag Archive for pythonrecommendation-enginelightfm

Adding user and item features to LightFM Model

I am training a LightFM model for a recommender system, I create my interactions dataset successfully then try to add user and item features but face a consistent error stating the following (ValueError: Feature False not in feature mapping. Call fit first.). I have read the documentation and made sure the items and users datasets are as required, and I use fit before creating them. Here is my code: