Django social network application - which machine learning model should I use and how to store it?

I am writing a Django project for a social network application. I need to create a machine learning model that - using existing data on a user's hobbies, interactions with content, current friends, etc - predicts the top 20 users to be matched. Which is the best model type to use for this situation? I thought about creating a model for each user but would that be optimal? How can I generalize the model to fit as many users as possible? Should I store the model on file or as part of the models.py in my Django project?

Back to Top