Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _get_lightfm_data(self):
lightfm_data = FastLightFM(
self.item_embeddings,
self.item_embedding_gradients,
self.item_embedding_momentum,
self.item_biases,
self.item_bias_gradients,
self.item_bias_momentum,
self.user_embeddings,
self.user_embedding_gradients,
self.user_embedding_momentum,
self.user_biases,
self.user_bias_gradients,
self.user_bias_momentum,
self.no_components,
int(self.learning_schedule == "adadelta"),
self.learning_rate,
self.rho,