Ignore:
Timestamp:
Mar 1, 2006, 12:23:53 PM (18 years ago)
Author:
Peter
Message:

Modified Kernel to be built from MatrixLookup? rather than
gslapi::matrix. Also changed interface to create DataLookup1D from
DataLookup2D - is now coherent with gslapi.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/classifier/NCC.cc

    r526 r527  
    119119    prediction=gslapi::matrix(centroids_.columns(), input.columns());   
    120120    for(size_t j=0; j<input.columns();j++) {     
    121       DataLookup1D in(input,j,true);
     121      DataLookup1D in(input,j,false);
    122122      gslapi::vector out;
    123123      predict(in,out);
Note: See TracChangeset for help on using the changeset viewer.