Changeset 159


Ignore:
Timestamp:
Sep 20, 2004, 6:55:34 PM (17 years ago)
Author:
Peter
Message:

modified weighted score to score target==1 vs the rest instead of target==1 vs target==-1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ROC.cc

    r148 r159  
    120120      if (target_(train_set_[i])==1){
    121121        for (size_t j=0; j<value_.size(); j++){
    122           if (target_(train_set_[j])==-1){
     122          if (target_(train_set_[j])!=1){
    123123            if (data_(train_set_[i]) > data_(train_set_[j])){
    124124              area_+=weight_(train_set_[i])*weight_(train_set_[j]);
Note: See TracChangeset for help on using the changeset viewer.