this post was submitted on 20 Apr 2025
51 points (96.4% liked)

Fediverse

33041 readers
197 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to [email protected]!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration)

founded 2 years ago
MODERATORS
 

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.

top 5 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 4 points 6 days ago (1 children)

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..?

[โ€“] [email protected] 2 points 6 days ago (1 children)

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

[โ€“] [email protected] 1 points 5 days ago (1 children)

How would you install it in Firefox (or LibreWolf)?

[โ€“] [email protected] 1 points 5 days ago (1 children)

apparently not id have to convert the scripts, and i have a lot of issues with the current script

[โ€“] [email protected] 1 points 5 days ago

Oh, okay, thanks for checking! And thank you so much for your hard work!