Friday 23 August 2019

Looking to create an algorithm that shows 20 images on a certain event call, with 50% of images being based on a user’s interests, and the other 50% being random

Hey r/node!I’m currently making a simple website that allows users to set their desktop background from a fullscreen image on my site (through the magic of Wallpaper Engine). All images have keyword tags that are related to what the image displays. When a user signs up, they give us 2 interests they have. I’m interested in how I would go about creating an algorithm that, on every page load, they are served 20 images. 50% of which are based on the interests they have, that match an image’s keyword(s), and the other 50% being completely random.Any help is appreciated. Thanks guys!

Submitted August 23, 2019 at 07:29AM by hazeust

No comments:

Post a Comment