Changeset 820 for trunk/yat/statistics/AUC.cc
 Timestamp:
 Mar 17, 2007, 10:54:52 PM (16 years ago)
 File:

 1 moved
Legend:
 Unmodified
 Added
 Removed

trunk/yat/statistics/AUC.cc
r810 r820 22 22 */ 23 23 24 #include " ROCScore.h"24 #include "AUC.h" 25 25 #include "yat/classifier/DataLookupWeighted1D.h" 26 26 #include "yat/classifier/Target.h" … … 37 37 namespace statistics { 38 38 39 ROCScore::ROCScore(bool absolute)39 AUC::AUC(bool absolute) 40 40 : Score(absolute) 41 41 { 42 42 } 43 43 44 double ROCScore::score(const classifier::Target& target,45 44 double AUC::score(const classifier::Target& target, 45 const utility::vector& value) const 46 46 { 47 47 assert(target.size()==value.size()); … … 57 57 58 58 59 double ROCScore::score(const classifier::Target& target,60 59 double AUC::score(const classifier::Target& target, 60 const classifier::DataLookupWeighted1D& value) const 61 61 { 62 62 assert(target.size()==value.size()); … … 73 73 74 74 75 double ROCScore::score(const classifier::Target& target,76 77 75 double AUC::score(const classifier::Target& target, 76 const utility::vector& value, 77 const utility::vector& weight) const 78 78 { 79 79 assert(target.size()==value.size()); … … 90 90 91 91 92 double 93 ROCScore::score(const MultiMap& m) const 92 double AUC::score(const MultiMap& m) const 94 93 { 95 94 double area=0;
Note: See TracChangeset
for help on using the changeset viewer.