|
SHOGUN
v1.1.0
|
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.

Protected Member Functions | |
| virtual SGMatrix< float64_t > | construct_weight_matrix (SGMatrix< float64_t > kernel_matrix, SGMatrix< int32_t > neighborhood_matrix) |
| HELPERS. | |
Protected Member Functions inherited from CKernelLocallyLinearEmbedding | |
| virtual SGMatrix< int32_t > | get_neighborhood_matrix (SGMatrix< float64_t > kernel_matrix, int32_t k) |
Protected Member Functions inherited from CLocallyLinearEmbedding | |
| void | init () |
| HELPERS. | |
| virtual SGMatrix< float64_t > | construct_weight_matrix (CSimpleFeatures< float64_t > *simple_features, float64_t *W_matrix, SGMatrix< int32_t > neighborhood_matrix) |
| virtual SGMatrix< float64_t > | construct_embedding (SGMatrix< float64_t > matrix, int dimension) |
| int32_t | estimate_k (CSimpleFeatures< float64_t > *simple_features, SGMatrix< int32_t > neighborhood_matrix) |
| float64_t | compute_reconstruction_error (int32_t k, int dim, int N, float64_t *feature_matrix, float64_t *z_matrix, float64_t *covariance_matrix, float64_t *resid_vector, float64_t *id_vector, SGMatrix< int32_t > neighborhood_matrix) |
Static Protected Member Functions | |
| static void * | run_kltsa_thread (void *p) |
| THREADS. | |
Static Protected Member Functions inherited from CKernelLocallyLinearEmbedding | |
| static void * | run_neighborhood_thread (void *p) |
| THREADS. | |
| static void * | run_linearreconstruction_thread (void *p) |
Additional Inherited Members | |
Public Attributes inherited from CSGObject | |
| SGIO * | io |
| Parallel * | parallel |
| Version * | version |
| Parameter * | m_parameters |
| Parameter * | m_model_selection_parameters |
Protected Attributes inherited from CLocallyLinearEmbedding | |
| int32_t | m_k |
| FIELDS. | |
| int32_t | m_max_k |
| float64_t | m_reconstruction_shift |
| float64_t | m_nullspace_shift |
| bool | m_use_arpack |
| bool | m_auto_k |
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.
|
virtual |
destructor
Definition at line 73 of file KernelLocalTangentSpaceAlignment.cpp.
|
protectedvirtual |
HELPERS.
construct weight matrix
Reimplemented from CKernelLocallyLinearEmbedding.
Definition at line 82 of file KernelLocalTangentSpaceAlignment.cpp.
|
virtual |
get name
Reimplemented from CKernelLocallyLinearEmbedding.
Definition at line 77 of file KernelLocalTangentSpaceAlignment.cpp.
|
staticprotected |
THREADS.
run kernel ltsa thread
| p | thread params |
Definition at line 145 of file KernelLocalTangentSpaceAlignment.cpp.