Changeset 574


Ignore:
Timestamp:
03/30/09 17:22:51 (3 years ago)
Author:
niko
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Voting/trunk/src/corinis/modules/Voting.java

    r571 r574  
    695695                                                // now add the bayesian and the corrected 
    696696                                                double bayesian = (((totalCountVotes/totalInstances)*(totalSumVotes/totalCountVotes))+(currentCount*(endvalue)) ) / ((totalCountVotes/totalInstances)+currentCount); 
    697                                                 choices.appendChild(DomUtil.CreateNode(core.getDoc(), "BAYSIAN", String.valueOf(bayesian))); 
     697                                                choices.appendChild(DomUtil.CreateNode(core.getDoc(), "BAYESIAN", String.valueOf(bayesian))); 
    698698                                                // now correct the value 
    699699                                                double correct = bayesian + weightAvg - (totalSumVotes/totalCountVotes); 
    700                                                 choices.appendChild(DomUtil.CreateNode(core.getDoc(), "BAYSIANADJUSTED", String.valueOf(correct))); 
     700                                                choices.appendChild(DomUtil.CreateNode(core.getDoc(), "BAYESIANADJUSTED", String.valueOf(correct))); 
    701701                                                 
    702702                                                 
Note: See TracChangeset for help on using the changeset viewer.