the class LocalTangentSpaceAlignment used to preprocess data using kernel extension of the Local Tangent Space Alignment (LTSA) algorithm.
The stated eigenproblem is solved in the same way as CLocallyLinearEmbedding (LAPACK or ARPACK if available).
The local tangent space alignment step is parallel. Neighborhood determination is parallel as in CLocallyLinearEmbedding.
Please do not use multithreading whether your LAPACK is not thread-safe.
Definition at line 37 of file KernelLocalTangentSpaceAlignment.h.
Public Member Functions | |
CKernelLocalTangentSpaceAlignment () | |
CKernelLocalTangentSpaceAlignment (CKernel *kernel) | |
virtual | ~CKernelLocalTangentSpaceAlignment () |
virtual const char * | get_name () const |
Protected Member Functions | |
virtual SGMatrix< float64_t > | construct_weight_matrix (SGMatrix< float64_t > kernel_matrix, SGMatrix< int32_t > neighborhood_matrix) |
HELPERS. | |
Static Protected Member Functions | |
static void * | run_kltsa_thread (void *p) |
THREADS. |
constructor
Definition at line 63 of file KernelLocalTangentSpaceAlignment.cpp.
CKernelLocalTangentSpaceAlignment | ( | CKernel * | kernel | ) |
constructor with kernel parameter
kernel | kernel to be used |
Definition at line 68 of file KernelLocalTangentSpaceAlignment.cpp.
~CKernelLocalTangentSpaceAlignment | ( | ) | [virtual] |
destructor
Definition at line 73 of file KernelLocalTangentSpaceAlignment.cpp.
SGMatrix< float64_t > construct_weight_matrix | ( | SGMatrix< float64_t > | kernel_matrix, | |
SGMatrix< int32_t > | neighborhood_matrix | |||
) | [protected, virtual] |
HELPERS.
construct weight matrix
Reimplemented from CKernelLocallyLinearEmbedding.
Definition at line 82 of file KernelLocalTangentSpaceAlignment.cpp.
const char * get_name | ( | ) | const [virtual] |
get name
Reimplemented from CKernelLocallyLinearEmbedding.
Definition at line 77 of file KernelLocalTangentSpaceAlignment.cpp.
void * run_kltsa_thread | ( | void * | p | ) | [static, protected] |
THREADS.
run kernel ltsa thread
p | thread params |
Definition at line 145 of file KernelLocalTangentSpaceAlignment.cpp.