Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

Impala::Core::Training::TrainDataSrcKernelMatrix Class Reference

Wraps a kernel matrix (of type Matrix::Mat*). More...

#include <TrainDataSrcKernelMatrix.h>

Inheritance diagram for Impala::Core::Training::TrainDataSrcKernelMatrix:

Inheritance graph
[legend]
Collaboration diagram for Impala::Core::Training::TrainDataSrcKernelMatrix:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TrainDataSrcKernelMatrix (Matrix::Mat *kernelMatrix)
virtual ~TrainDataSrcKernelMatrix ()
virtual svm_problemMakeSvmProblem ()
 Create an svm-problem of all available data.
virtual svm_problemMakeSvmProblem (int i)
 create an svm_problem of *one* example
virtual int GetVectorLength ()
virtual int Size ()
virtual Quid GetQuid (int i)

Private Member Functions

svm_problemMakeProblem (int start, int end)
 
Note:
this code is suspiciously similar to TrainDataSrcKernelTable::MakeProblem I guess some refeactoring is in order


Private Attributes

Matrix::MatmMatrix

Detailed Description

Wraps a kernel matrix (of type Matrix::Mat*).

Please note that because there are no quids this TrainDataSrc can only be used for apply. The caller of the constructor is supposed to delete the matrix.

Definition at line 23 of file TrainDataSrcKernelMatrix.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 11:25:03 2010 for ImpalaSrc by  doxygen 1.5.1