Changeset 814


Ignore:
Timestamp:
Mar 16, 2007, 10:21:04 PM (15 years ago)
Author:
Peter
Message:

fixes #66

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/kernel_test.cc

    r792 r814  
    111111  kf = new classifier::PolynomialKernelFunction(2);
    112112  ok = (ok && test_MEV(data,kf,kernel_matlab2,error_bound, error)
    113         & test_SEV(data,kf,kernel_matlab2,error_bound, error));
     113        && test_SEV(data,kf,kernel_matlab2,error_bound, error));
    114114  delete kf;
    115115
    116   // Checking that a GaussianKernelFunction object can be built.
    117   kf = new classifier::GaussianKernelFunction();
     116  // Checking that GaussianKernelFunction.
     117  *error << "Checking GaussianKernelFunction.\n";
     118  is.open("data/nm_kernel_gaussian.txt");
     119  utility::matrix kernel_gaussian(is);
     120  is.close();
     121  kf = new classifier::GaussianKernelFunction(100);
     122  ok = ok && test_MEV(data,kf,kernel_gaussian,error_bound, error);
     123  ok = ok && test_SEV(data,kf,kernel_gaussian,error_bound, error);
    118124  delete kf;
    119125
Note: See TracChangeset for help on using the changeset viewer.