Implements Kernel. Definition at line 1122 of file svm.cpp. References cache, Cache::get_data(), Kernel::kernel_function, and y. 01123 { 01124 Qfloat *data; 01125 int start; 01126 if((start = cache->get_data(i,&data,len)) < len) 01127 { 01128 for(int j=start;j<len;j++) 01129 data[j] = (Qfloat)(y[i]*y[j]*(this->*kernel_function)(i,j)); 01130 } 01131 return data; 01132 }
Here is the call graph for this function:
|