maciejkula / spotlight

Deep recommender models using PyTorch.
MIT License
2.99k stars 428 forks source link

Importing data directly from a Sparse Matrix #178

Open Stack-Attack opened 4 years ago

Stack-Attack commented 4 years ago

Hello,

I notice that the Interactions class can export data to Sparse Matrix format, but I'm wondering if there's any way to train a model using an already created Sparse Matrix (coo, or csr)? This would make loading data much quicker when retraining.