cross-posted from: https://lemmy.world/post/28461880
so I spent last several days making collecting watch time on both videos and livestreams more robust and work across multiple peertube instances, im sure it still has gaps in the structure so that jenk data can get in.
if you want to try it heres the link https://github.com/solidheron/peertube_recomendation_algorythm/ btw its a browser extension
so now I got two parts left that I know of first being creating the user_recomendation_vector and the function that gets recommendation based on that vector. I settle on cosine similarity vector since its easy to implement and can be run in browser with only data collected by the user device, and doesnt requires sharing outside of peertube api. user_recomendation_vector should have two part AOLR: (algorithm of last resort) which will be the words in the title, tags, and description tokenized with an float value and recomended_standard: which will be based on what category either programs or people decide a video belongs to along with an associated float value to make it a vector.
I do have issues with deciding if engagement is important, if short video should have multiplier if they’re completed, how much is a like worth, how important is it to get an end of the video.
I should add that I have made complimentary video_description_vector thats store in browser all vector dimentions are 1.
Awesome glad to see all the work. Its been a very long time since ive done extensions. How do you install the extension? Is it made for firefox/chrome/etc…?
I’ve been developing for brave so it will work for chrome and it should work for firefox. for brave its easy you put the github files into a folder, put brave browser into development mode, and then manage your extensions by adding the folder, you press f12 to get the console and look at the variables in extension storage.
if you get it to load properly you should see 🔄 Starting fetch for template: https://dalek.zone/api/v1/videos?sort=-publishedAt&nsfw=both&count=10
in devTools on brave