Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register

Changeset 5199

Show
Ignore:
Timestamp:
08/08/08 12:57:52 (5 months ago)
Author:
jegg
Message:

in patientmatching module, updated ScaleWeightModifier to multiply score by scaling facter calculated differently from before

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openmrs-modules/patientmatching/src/org/regenstrief/linkage/analysis/ScaleWeightModifier.java

    r4110 r5199  
    203203                                                 
    204204                                                 
    205                                                 double scalar = Math.log(adjustment.getScalingFactor())/Math.log(2); 
    206                                                  
    207                                                 ret.addDemographicScalarModifier(this, cur_demographic, scalar, ModifiedMatchResult.Operator.PLUS); 
     205                                                //double scalar = Math.log(adjustment.getScalingFactor())/Math.log(2); 
     206                                                double scalar = adjustment.getScalingFactor(); 
     207                                                 
     208                                                ret.addDemographicScalarModifier(this, cur_demographic, scalar, ModifiedMatchResult.Operator.MULTIPLY); 
    208209                                        } 
    209210                                }