LocalTangentSpaceAlignment.h

Go to the documentation of this file.
00001 /*
00002  * This program is free software; you can redistribute it and/or modify
00003  * it under the terms of the GNU General Public License as published by
00004  * the Free Software Foundation; either version 3 of the License, or
00005  * (at your option) any later version.
00006  *
00007  * Written (W) 2011 Sergey Lisitsyn
00008  * Copyright (C) 2011 Berlin Institute of Technology and Max-Planck-Society
00009  */
00010 
00011 #ifndef LOCALTANGENTSPACEALIGNMENT_H_
00012 #define LOCALTANGENTSPACEALIGNMENT_H_
00013 #include <shogun/lib/config.h>
00014 #ifdef HAVE_LAPACK
00015 #include <shogun/converter/LocallyLinearEmbedding.h>
00016 #include <shogun/features/Features.h>
00017 #include <shogun/distance/Distance.h>
00018 
00019 namespace shogun
00020 {
00021 
00022 class CFeatures;
00023 class CDistance;
00024 
00051 class CLocalTangentSpaceAlignment: public CLocallyLinearEmbedding
00052 {
00053 public:
00054 
00056     CLocalTangentSpaceAlignment();
00057 
00059     virtual ~CLocalTangentSpaceAlignment();
00060 
00062     virtual const char* get_name() const;
00063 
00065 protected:
00066 
00072     virtual SGMatrix<float64_t> construct_weight_matrix(CDenseFeatures<float64_t>* simple_features,float64_t* W_matrix,
00073                                                             SGMatrix<int32_t> neighborhood_matrix);
00074 
00076 protected:
00077 
00081     static void* run_ltsa_thread(void* p);
00082 
00083 };
00084 }
00085 
00086 #endif /* HAVE_LAPACK */
00087 #endif /* LOCALTANGENTSPACEALINGMENT_H_ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation