Trollface

forgejo: https://forgejo.asudox.dev/Asudox
matrix: https://matrix.to/#/@asudox:matrix.org

aspe:keyoxide.org:D63IYCGSU4XXB5JSCBBHXXFEHQ

  • 5 Posts
  • 30 Comments
Joined 1 year ago
cake
Cake day: June 25th, 2023

help-circle







  • Well, a few more anime probably won’t change your genre combination but if it ever did, it would have to be within a day for you to even notice. The 24 hours expiry limit is configured in the anote.toml configuration file for the genre combination caches. So if something like that happens, your animelist will be calculated again in 24 hours

    By the way, what exactly do you mean by “it did not take my completed animes into account”? Do you mean it showed you animes that you’ve already watched?

    And also, I recommend you to read the “You should know” section in the README.md file in the GitHub repository as it should explain some stuff that you just asked.

    (I don’t really know why that SSL handshake error happens, I will look into it.)








  • The thing is anime.plus is more of a statistic tool than a recommendation algorithm. I can’t comment on their recommendation algorithm since it’s written in PHP and I don’t know PHP at all (my algorithm is written in Rust btw). What I noticed is that they mixed in themes to genres. Probably because of MAL’s poor labeling.

    I’ve also been trying to add some rather stalker-like factors into my algorithm just to test, such as your average watch time of 12 episode animes and changing the weights according to that. However, it became complex pretty soon and my algorithm slowed down to 1 millisecond from 500 microseconds, so yeah. It also didn’t have that much of an impact and I figured out that it is rather dumb since liking a certain genre does not mean everyone will binge-watch the anime like I do.








  • It’s a bit more complex than that. In it’s most simplified form: The algorithm takes a user’s animelist as input. A for loop iterates over the animes in the animelist, gets their genres and assigns a weight (more like a score) to these genres. The formula is, at the moment: anime score multiplied by the times the anime is rewatched plus one

    The number that formula outputs is assigned as a score to each genre the anime has. In the end, a structure called “genre combo” gets created. The genre combo is a structure composed of an ID and a hashmap holding the ranked animes which is only used as training data, so you don’t need to worry about that. The ID is what is important and is composed of top 3 genres with the most weights. So something like: 22010040 (22 is Romance, 10 is Fantasy and 4 is Comedy) When the training is done, this ID will be used to find animes that were added to the DB by the same user animelists that will have that ID.

    It’s a bit hard to explain, but I tried my best.

    Now for this, I just want to know if that genre combo ID matches what people say.