11 #ifndef LOCALLYLINEAREMBEDDING_H_
12 #define LOCALLYLINEAREMBEDDING_H_
81 void set_k(int32_t k);
86 int32_t
get_k()
const;
139 virtual const char*
get_name()
const;
int32_t get_max_k() const
void set_auto_k(bool auto_k)
void set_max_k(int32_t max_k)
virtual SGMatrix< float64_t > construct_weight_matrix(CSimpleFeatures< float64_t > *simple_features, float64_t *W_matrix, SGMatrix< int32_t > neighborhood_matrix)
class EmbeddingConverter used to create embeddings of features, e.g. construct dense numeric embeddin...
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)
int32_t estimate_k(CSimpleFeatures< float64_t > *simple_features, SGMatrix< int32_t > neighborhood_matrix)
void set_reconstruction_shift(float64_t reconstruction_shift)
virtual const char * get_name() const
float64_t m_reconstruction_shift
static void * run_neighborhood_thread(void *p)
THREADS.
static void * run_linearreconstruction_thread(void *p)
void set_use_arpack(bool use_arpack)
virtual ~CLocallyLinearEmbedding()
bool get_use_arpack() const
virtual SGMatrix< int32_t > get_neighborhood_matrix(SGMatrix< float64_t > distance_matrix, int32_t k)
virtual SGMatrix< float64_t > construct_embedding(SGMatrix< float64_t > matrix, int dimension)
virtual CFeatures * apply(CFeatures *features)
the class LocallyLinearEmbedding used to preprocess data using Locally Linear Embedding algorithm des...
float64_t get_nullspace_shift() const
void set_nullspace_shift(float64_t nullspace_shift)
The class Features is the base class of all feature objects.
float64_t get_reconstruction_shift() const
CLocallyLinearEmbedding()
float64_t m_nullspace_shift