Ignore:
Timestamp:
Mar 17, 2007, 10:54:52 PM (15 years ago)
Author:
Peter
Message:

Changed name again. ROCScore is now called AUC. Also fixed several bugs and added test for these.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/subset_generator_test.cc

    r781 r820  
    3232#include "yat/classifier/SVM.h"
    3333#include "yat/classifier/NCC.h"
    34 #include "yat/statistics/ROCScore.h"
     34#include "yat/statistics/AUC.h"
    3535#include "yat/statistics/PearsonDistance.h"
    3636#include "yat/utility/matrix.h"
     
    7979  classifier::CrossValidationSampler sampler(target, 30, 3);
    8080
    81   statistics::ROCScore score;
     81  statistics::AUC score;
    8282  classifier::FeatureSelectorIR fs(score, 96, 0);
    8383  *error << "building SubsetGenerator" << std::endl;
     
    9797  for (size_t i = 0; i<out.size(); ++i)
    9898    out(i)=ensemble_svm.validate()[0][i].mean();
    99   statistics::ROCScore roc;
     99  statistics::AUC roc;
    100100  *error << roc.score(target,out) << std::endl;
    101101
Note: See TracChangeset for help on using the changeset viewer.