Ignore:
Timestamp:
Feb 7, 2008, 7:47:34 PM (14 years ago)
Author:
Peter
Message:

Simplifying distance structure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/ncc_test.cc

    r1031 r1050  
    7878  vec[3]="bjds";
    7979  classifier::Target target(vec);
    80   classifier::NCC<statistics::pearson_distance_tag> ncctmp(ml,target);
     80  classifier::NCC<statistics::EuclideanDistance> ncctmp(ml,target);
    8181  *error << "training...\n";
    8282  ncctmp.train();
     
    100100  classifier::Target target1(vec1);
    101101
    102   classifier::NCC<statistics::euclidean_distance_tag> ncc1(ml1,target1);
     102  classifier::NCC<statistics::EuclideanDistance> ncc1(ml1,target1);
    103103  ncc1.train();
    104104  utility::matrix prediction1;
     
    150150     
    151151  classifier::MatrixLookupWeighted dataviewweighted(data,weights);
    152   classifier::NCC<statistics::pearson_distance_tag> ncc(dataviewweighted,targets);
     152  classifier::NCC<statistics::EuclideanDistance> ncc(dataviewweighted,targets);
    153153  *error << "training...\n";
    154154  ncc.train();
Note: See TracChangeset for help on using the changeset viewer.