Ignore:
Timestamp:
Feb 4, 2008, 4:44:44 PM (14 years ago)
Author:
Markus Ringnér
Message:

Fixes #272

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/ncc_test.cc

    r1013 r1031  
    3131#include "yat/classifier/Target.h"
    3232#include "yat/utility/matrix.h"
    33 #include "yat/statistics/euclidean_vector_distance.h"
    34 #include "yat/statistics/pearson_vector_distance.h"
     33#include "yat/statistics/euclidean_distance.h"
     34#include "yat/statistics/pearson_distance.h"
    3535#include "yat/utility/utility.h"
    3636
     
    7878  vec[3]="bjds";
    7979  classifier::Target target(vec);
    80   classifier::NCC<statistics::pearson_vector_distance_tag> ncctmp(ml,target);
     80  classifier::NCC<statistics::pearson_distance_tag> ncctmp(ml,target);
    8181  *error << "training...\n";
    8282  ncctmp.train();
     
    100100  classifier::Target target1(vec1);
    101101
    102   classifier::NCC<statistics::euclidean_vector_distance_tag> ncc1(ml1,target1);
     102  classifier::NCC<statistics::euclidean_distance_tag> ncc1(ml1,target1);
    103103  ncc1.train();
    104104  utility::matrix prediction1;
     
    150150     
    151151  classifier::MatrixLookupWeighted dataviewweighted(data,weights);
    152   classifier::NCC<statistics::pearson_vector_distance_tag> ncc(dataviewweighted,targets);
     152  classifier::NCC<statistics::pearson_distance_tag> ncc(dataviewweighted,targets);
    153153  *error << "training...\n";
    154154  ncc.train();
Note: See TracChangeset for help on using the changeset viewer.