TeachWithInverseKernelMatrix.h 801 B

12345678910111213141516171819202122232425262728293031
  1. /**
  2. * @file TeachWithInverseKernelMatrix.h
  3. * @brief Abstract interface for classifiers which implement a training
  4. * algorithm which takes an inverse kernel matrix
  5. * @author Erik Rodner
  6. * @date 12/03/2009
  7. */
  8. #ifndef _NICE_OBJREC_TEACHWITHINVERSEKERNELMATRIX
  9. #define _NICE_OBJREC_TEACHWITHINVERSEKERNELMATRIX
  10. #include "core/vector/MatrixT.h"
  11. #include "core/vector/VectorT.h"
  12. namespace OBJREC {
  13. /** Abstract interface for classifiers which implement a training
  14. * algorithm which takes an inverse kernel matrix */
  15. class TeachWithInverseKernelMatrix
  16. {
  17. public:
  18. /** teach a classifier with the inverse kernel matrix and the labels/function values of each feature vector */
  19. virtual void teachInverseKernel ( const NICE::Matrix & inverseKernelMatrix, const NICE::Vector & y ) = 0;
  20. };
  21. }
  22. #endif