home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
Improvement Suggestions
[New: Alpha version] A learning personal EPG
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="tomtom21000" data-source="post: 27986" data-attributes="member: 10287"><p>ok; i had a short chat about this today with Bavarian. We haven´t come up with much yet, but afterwards, besides watching Schalke vs. Mailand in the champions league, I have tried to come up with a formula for the algorythm:</p><p></p><p>So, we have three parameters for the calculation:</p><p></p><p>S = Number of times you have <strong>seen</strong> a certain show, genre, etc. on live tv</p><p>R = Number of times you have <strong>recorded</strong> a certain show, genre, etc.</p><p>W = <strong>weight</strong> that you have given to a keyword on your "Wishlist" (Range 1 to 5)</p><p></p><p>Points a show, genre, actor scores:</p><p></p><p>10 Points x ( 1 + W / 10) x ( 2 - (S + 2R) / (S + 2R)² )</p><p></p><p></p><p>What does this formula do?</p><p></p><p>( 1 + W / 10) is the weight on you put on the different keywords which you entered in the list manually. With every entry you can specify the importance of the keyword, let´s say from 1 to 5.</p><p></p><p>So if a show with your keyword, like "Simpsons" is on and you gave this keyword the maximum weight of "5", the show will earn 10 points x (1 + 5/10) = 10 points x 1,5 = 15 points. Plus it is multiplicated with the rest of the formula which represents how often you watched and/or recorded such a show.</p><p></p><p>( 2 - (S + 2R) / (S + 2R)² ) is how often you have seen (S) and/or recorded (R) a show. Why is the formula so complicated? it is a hyperbolic function, that means that with the first couple of times you watch a show, the score increases much, later it still increases but less. And this part of the formula has a maximum of 2, which is important.</p><p>Example: If you have seen a show</p><p>1x the result is (2 - (1 + 2x0)/(1 + 2x0)²) = (2 - 1 / 1) = 1,0</p><p>2x the result is (2 - (2 + 2x0)/(2 + 2x0)²) = (2 - 2 / 4) = 1,5</p><p>4x the result is (2 - (4 + 2x0)/(4 + 2x0)²) = (2 - 4 / 16) = 1,75</p><p>20x the result is (2 - (20 + 2x0)/(20 + 2x0)²) = (2 - 20 / 400) = 1,95</p><p>100x the result is (2 - (100 + 2x0)/(100 + 2x0)²) = (2 - 100 / 10000) = 1,99</p><p></p><p>The example is without recordings, but as you see in the (S+2R)-expression, a recording is valued twice in comparison to a watched show.</p><p></p><p>So, the maximum that can be reached with watching and recording shows is 2. In this way the weight is a bit dependend on the times you have seen it, but it does not overweigh your preferences from the keywords.</p><p></p><p>Another point is, if how often you have seen a show would result in ever rising scores, you would not get a tv program of your liking: Example: If you watch everyday "the night news" from the genre "news", news shows would have an immense high score and the whole personal epg would consist of news shows.</p><p></p><p>And finally keyword weight and watching and recording shows containing the keywords multiply. So the maximum is 10 points x 1,5 (weight 5) x 2 (seen/recorded it very often). So this show would have 30 points.</p><p></p><p>You will have to catch the case that S and R equal Zero, so that the expression doesn´t get invalid.</p><p></p><p>The relations between keyword weight, seen and recorded shows can easily be changed, but I think the basic formula could be a start.</p><p></p><p>Uuuhhh, certainly not a post for everyone, but somehow the logic has to be programmed :shock: </p><p></p><p>tomtom</p></blockquote><p></p>
[QUOTE="tomtom21000, post: 27986, member: 10287"] ok; i had a short chat about this today with Bavarian. We haven´t come up with much yet, but afterwards, besides watching Schalke vs. Mailand in the champions league, I have tried to come up with a formula for the algorythm: So, we have three parameters for the calculation: S = Number of times you have [b]seen[/b] a certain show, genre, etc. on live tv R = Number of times you have [b]recorded[/b] a certain show, genre, etc. W = [b]weight[/b] that you have given to a keyword on your "Wishlist" (Range 1 to 5) Points a show, genre, actor scores: 10 Points x ( 1 + W / 10) x ( 2 - (S + 2R) / (S + 2R)² ) What does this formula do? ( 1 + W / 10) is the weight on you put on the different keywords which you entered in the list manually. With every entry you can specify the importance of the keyword, let´s say from 1 to 5. So if a show with your keyword, like "Simpsons" is on and you gave this keyword the maximum weight of "5", the show will earn 10 points x (1 + 5/10) = 10 points x 1,5 = 15 points. Plus it is multiplicated with the rest of the formula which represents how often you watched and/or recorded such a show. ( 2 - (S + 2R) / (S + 2R)² ) is how often you have seen (S) and/or recorded (R) a show. Why is the formula so complicated? it is a hyperbolic function, that means that with the first couple of times you watch a show, the score increases much, later it still increases but less. And this part of the formula has a maximum of 2, which is important. Example: If you have seen a show 1x the result is (2 - (1 + 2x0)/(1 + 2x0)²) = (2 - 1 / 1) = 1,0 2x the result is (2 - (2 + 2x0)/(2 + 2x0)²) = (2 - 2 / 4) = 1,5 4x the result is (2 - (4 + 2x0)/(4 + 2x0)²) = (2 - 4 / 16) = 1,75 20x the result is (2 - (20 + 2x0)/(20 + 2x0)²) = (2 - 20 / 400) = 1,95 100x the result is (2 - (100 + 2x0)/(100 + 2x0)²) = (2 - 100 / 10000) = 1,99 The example is without recordings, but as you see in the (S+2R)-expression, a recording is valued twice in comparison to a watched show. So, the maximum that can be reached with watching and recording shows is 2. In this way the weight is a bit dependend on the times you have seen it, but it does not overweigh your preferences from the keywords. Another point is, if how often you have seen a show would result in ever rising scores, you would not get a tv program of your liking: Example: If you watch everyday "the night news" from the genre "news", news shows would have an immense high score and the whole personal epg would consist of news shows. And finally keyword weight and watching and recording shows containing the keywords multiply. So the maximum is 10 points x 1,5 (weight 5) x 2 (seen/recorded it very often). So this show would have 30 points. You will have to catch the case that S and R equal Zero, so that the expression doesn´t get invalid. The relations between keyword weight, seen and recorded shows can easily be changed, but I think the basic formula could be a start. Uuuhhh, certainly not a post for everyone, but somehow the logic has to be programmed :shock: tomtom [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Improvement Suggestions
[New: Alpha version] A learning personal EPG
Contact us
RSS
Top
Bottom