RBKAccumulator< T > Class Template Reference

Accumulate log scores using a kernel. More...

Inheritance diagram for RBKAccumulator< T >:
Accumulator< T >

List of all members.

Public Member Functions

 RBKAccumulator (int asize=ACCUMULATOR_SIZE)
 Construct the Kernel-based accumulator.
void assignConstants (float sigma, float theta, float power)
 Assign the kernel function parameters.

Detailed Description

template<typename T>
class RBKAccumulator< T >

Accumulate log scores using a kernel.

This class is used to accumulate document scores using a selected kernel function. The combining of the kernel vector elements is to be done before providing the accumulator with the each element of two vectors combined. For example, the radial basis function vectors are combined by taking the difference between the two, the polynomial kernel vectors are combined by multiplying the elements. Once provided to the accumulator, the vector is aggrated into its kernel value. The spectific kernel is chosen by defining either KERNEL_RBK or KERNEL_POLYNOMIAL in the localdef.h file. The kernel parameters are also set in localdef.h with KERNEL_SIGMA, KERNEL_THETA, and KERNEL_POWER.

Author
lapark
Revision
1.10
Date
2009/10/08 06:41:29
Id
Accumulator.tcc,v 1.10 2009/10/08 06:41:29 lapark Exp

The documentation for this class was generated from the following file:
 All Classes Functions Variables Friends

Generated on Tue Nov 10 14:12:17 2009 for textIR by  doxygen 1.6.1