Ads displayed for guests and not donating members only. Get ad-free by donating. If you have already donated, please read here.
Results 1 to 8 of 8

Thread: WN7 calculation

  1. #1

    Question WN7 calculation

    The first thing that is not clear -How is the variable WINRATE? WINRATE=WIN/GAMESPLAYED*100 ? For a tank or for the account?
    For a tank, for battle
    Code:
    	  (1240-1040/(MIN(TIER,6))^0.164)*FRAGS						                           1394,3851658678	
    	    +DAMAGE*530/(184*e^(0.24*TIER)+130)						                           751,8825265899	
    	    +SPOT*125*MIN(TIER, 3)/3				                                                   125	
    	    +MIN(DEF,2.2)*100				                                                           0	
    	    +((185/(0.17+e^((WINRATE-35)*-0.134)))-500)*0.45				                           34,5874204841	
    	    -[(5 - MIN(TIER,5))*125] / [1 + e^( ( TIER - (GAMESPLAYED/220)^(3/TIER) )*1.5 )]	                   0
    Tank Tier Frags Damage Spot Def Gamesplayed Win WN7
    AT7 7 3 1585 1 0 57 28 2305,86
    For account:
    Code:
    	  (1240-1040/(MIN(TIER,6))^0.164)*FRAGS						                           1394,3851658678	
    	    +DAMAGE*530/(184*e^(0.24*TIER)+130)						                           751,8825265899	
    	    +SPOT*125*MIN(TIER, 3)/3				                                                   125	
    	    +MIN(DEF,2.2)*100				                                                           0	
    	    +((185/(0.17+e^((WINRATE-35)*-0.134)))-500)*0.45				                           92,4906488853	
    	    -[(5 - MIN(TIER,5))*125] / [1 + e^( ( TIER - (GAMESPLAYED/220)^(3/TIER) )*1.5 )]	                   0
    Tank Tier Frags Damage Spot Def Gamesplayed Win WN7
    AT7 7 3 1585 1 0 18379 9702 2363,76

    The next thing is not clear - the results of calculations WN7.
    Please explain the algorithms for individual variables.
    Battlesummary:
    Code:
    Efficiency by vBAddict read more... 	
    2,075
    	100.0%	
    -- Frags 	210 	10.1%
    -- Damage dealt 	633 	30.5%
    -- Damage assisted 	87 	4.2%
    -- Spotted 	200 	9.6%
    -- Defense 	0 	0%
    -- Capture 	945 	45.5%
      	  	 
    WN7 Efficiency 	
    901
    Efficiency by wot-news 	
    2,248
    WN7 Efficiency 901
    But above are calculations give different results - 2300+
    Please explain...


    ps. Sorry my english

  2. #2
    Retired Commander Phalynx.eu's Avatar
    Join Date
    Jan 2013
    Location
    Erlangen, Germany
    Posts
    2,127
    This is my current implementation of the formula for a single tank or battle in PHP:
    Code:
    	$mintier = 5-$getdata['tier'];	$efficiency_wnx = (POW(1240-1040/(MIN($getdata['tier'],6)),0.164))*$getdata['frags'];
    	$efficiency_wnx += $getdata['avg_damage_dealt']*530/(184*POW(2.71828,(0.24*$getdata['tier']))+130);
    	$efficiency_wnx += $getdata['avg_spotted']*125*MIN($getdata['tier'], 3)/3;
    	$efficiency_wnx += MIN($getdata['avg_defence_points'],2.2)*100;
    	$efficiency_wnx += ((185/(0.17+POW(2.71828,((50-35)*-0.134))))-500)*0.45;
    	$efficiency_wnx -= ((MIN($mintier,5))*125) / (1 + POW(2.71828, ( ( $getdata['tier'] - POW(($getdata['battles']/220),(3/$getdata['tier'])) )*1.5 )));
    According to Praetor77 I have to use Winrate of 50% for that kind, as WNx is not made for single battles with 0%/100% Winrate.

  3. #3
    $efficiency_wnx = (POW(1240-1040/(MIN($getdata['tier'],6)),0.164))*$getdata['frags'];
    But
    (1240-1040/(MIN(TIER,6))^0.164)*FRAGS
    => $efficiency_wnx = (1240-1040/POW(MIN($getdata['tier'],6),0.164))*$getdata['frags'];
    or not??

  4. #4
    Retired Commander Phalynx.eu's Avatar
    Join Date
    Jan 2013
    Location
    Erlangen, Germany
    Posts
    2,127
    ^ means XOR in PHP, it's not the power operator like (I think..) meant by praetor77.

    See also:
    http://php.net/manual/de/function.pow.php

  5. #5
    I'm not talking about that (pow).
    Arithmetic/Order of Operations
    Roughly, assign MIN(TIER,6)=6, Đ¾rder to see better, to replace one square brackets.

    (1240-1040/(6)^0.164)*FRAGS = (1240 - 1040/[6^0.164]) *FRAGS (correct)
    $efficiency_wnx = (1240-1040/POW(MIN($getdata['tier'],6),0.164))*$getdata['frags'];

    not like you have done
    (1240-1040/(6)^0.164)*FRAGS = ([1240- 1040/6]^0.164)*FRAGS
    $efficiency_wnx = (POW(1240-1040/(MIN($getdata['tier'],6)),0.164))*$getdata['frags']; (incorrect)

    I am writing in bad English, though you should be clear.

  6. #6

    Question You ignore me?

    Yesterday:
    noobmeter
    ZarWar
    WN7:1 707

    vbaddict
    ZarWar
    WN7 Efficiency 927
    The difference in counting visible to the naked eye.

  7. #7
    Retired Commander Phalynx.eu's Avatar
    Join Date
    Jan 2013
    Location
    Erlangen, Germany
    Posts
    2,127
    Yes, it's wrong, and therefore I removed it.

    See also
    http://www.vbaddict.net/project.php?issueid=295

    And no, I'm not ignoring you, I'm just not sitting here 24h.

  8. #8
    Quote Originally Posted by Phalynx View Post
    Yes, it's wrong, and therefore I removed it.
    See also
    http://www.vbaddict.net/project.php?issueid=295
    Ok.
    Thank you for your care.
    Quote Originally Posted by Phalynx View Post
    And no, I'm not ignoring you, I'm just not sitting here 24h.
    Do not take it personally.
    I believe that your project brings you satisfaction and hope for its long existence.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •