the class HessianLocallyLinearEmbedding used to preprocess data using Hessian Locally Linear Embedding algorithm described in
Donoho, D., & Grimes, C. (2003). Hessian eigenmaps: new tools for nonlinear dimensionality reduction. Proceedings of National Academy of Science (Vol. 100, pp. 5591-5596).
Stated eigenproblem is solved in the same way as in CLocallyLinearEmbedding (LAPACK or ARPACK if available).
The hessian estimation step is parallel and neighborhood determination too as in CLocallyLinearEmbedding.
Be sure k value is set with at least 1+[target dim]+1/2 [target_dim]*[1 + target dim], e.g. greater than 6 for target dimensionality of 2.
Definition at line 43 of file HessianLocallyLinearEmbedding.h.
Public Member Functions | |
CHessianLocallyLinearEmbedding () | |
virtual | ~CHessianLocallyLinearEmbedding () |
virtual bool | init (CFeatures *features) |
virtual void | cleanup () |
virtual SGMatrix< float64_t > | apply_to_feature_matrix (CFeatures *features) |
virtual SGVector< float64_t > | apply_to_feature_vector (SGVector< float64_t > vector) |
virtual const char * | get_name () const |
virtual EPreprocessorType | get_type () const |
Static Protected Member Functions | |
static void * | run_hessianestimation_thread (void *p) |
constructor
Definition at line 75 of file HessianLocallyLinearEmbedding.cpp.
~CHessianLocallyLinearEmbedding | ( | ) | [virtual] |
destructor
Definition at line 80 of file HessianLocallyLinearEmbedding.cpp.
apply preprocessor to feature matrix
features |
Reimplemented from CLocallyLinearEmbedding.
Definition at line 93 of file HessianLocallyLinearEmbedding.cpp.
apply preprocessor to feature vector, not supported
vector |
Reimplemented from CLocallyLinearEmbedding.
Definition at line 227 of file HessianLocallyLinearEmbedding.cpp.
void cleanup | ( | ) | [virtual] |
cleanup
Reimplemented from CLocallyLinearEmbedding.
Definition at line 89 of file HessianLocallyLinearEmbedding.cpp.
virtual const char* get_name | ( | void | ) | const [virtual] |
get name
Reimplemented from CLocallyLinearEmbedding.
Definition at line 75 of file HessianLocallyLinearEmbedding.h.
virtual EPreprocessorType get_type | ( | ) | const [virtual] |
get type
Reimplemented from CLocallyLinearEmbedding.
Definition at line 80 of file HessianLocallyLinearEmbedding.h.
bool init | ( | CFeatures * | features | ) | [virtual] |
init
features |
Reimplemented from CLocallyLinearEmbedding.
Definition at line 84 of file HessianLocallyLinearEmbedding.cpp.
void * run_hessianestimation_thread | ( | void * | p | ) | [static, protected] |
run hessian estimation thread
p | thread params |
Definition at line 233 of file HessianLocallyLinearEmbedding.cpp.