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 Sergey Lisitsyn 00009 */ 00010 00011 #ifndef LINEARLOCALTANGENTSPACEALIGNMENT_H_ 00012 #define LINEARLOCALTANGENTSPACEALIGNMENT_H_ 00013 #include <shogun/lib/config.h> 00014 #ifdef HAVE_LAPACK 00015 #include <shogun/converter/LocalTangentSpaceAlignment.h> 00016 #include <shogun/features/Features.h> 00017 #include <shogun/features/SimpleFeatures.h> 00018 #include <shogun/distance/Distance.h> 00019 00020 namespace shogun 00021 { 00022 00023 class CFeatures; 00024 class CDistance; 00025 00038 class CLinearLocalTangentSpaceAlignment: public CLocalTangentSpaceAlignment 00039 { 00040 public: 00041 00043 CLinearLocalTangentSpaceAlignment(); 00044 00046 virtual ~CLinearLocalTangentSpaceAlignment(); 00047 00049 virtual const char* get_name() const; 00050 00051 protected: 00052 00059 virtual SGMatrix<float64_t> construct_embedding(CFeatures* features, SGMatrix<float64_t> matrix, int dimension); 00060 }; 00061 } 00062 00063 #endif /* HAVE_LAPACK */ 00064 #endif /* LINEARLOCALTANGENTSPACEALIGNMENT_H_ */