Changeset 2548 for branches/0.7-stable/test/roc.cc
- Timestamp:
- Aug 7, 2011, 6:36:44 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.7-stable/test/roc.cc
r2370 r2548 3 3 /* 4 4 Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson 5 Copyright (C) 2011 Peter Johansson 5 6 6 7 This file is part of the yat library, http://dev.thep.lu.se/yat … … 34 35 35 36 using namespace theplu::yat; 37 38 void test_empty(test::Suite&); 36 39 37 40 int main(int argc, char* argv[]) … … 92 95 classifier::DataLookupWeighted1D dlw(target.size(),1.3); 93 96 add(roc, dlw.begin(), dlw.end(), target); 97 test_empty(suite); 94 98 95 99 return suite.return_value(); 96 100 } 101 102 void test_empty(test::Suite& suite) 103 { 104 suite.out() << "test empty\n"; 105 // testing buf #669 106 statistics::ROC roc; 107 roc.p_value(); 108 roc.area(); 109 }
Note: See TracChangeset
for help on using the changeset viewer.