LocalityPreservingProjections.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 LOCALITYPRESERVINGPROJECTIONS_H_
00012 #define LOCALITYPRESERVINGPROJECTIONS_H_
00013 #include <shogun/lib/config.h>
00014 #ifdef HAVE_LAPACK
00015 #include <shogun/converter/LaplacianEigenmaps.h>
00016 
00017 namespace shogun
00018 {
00019 
00020 class CFeatures;
00021 class CDistance;
00022 
00024 class CLocalityPreservingProjections: public CLaplacianEigenmaps
00025 {
00026 public:
00027 
00029     CLocalityPreservingProjections();
00030 
00032     virtual ~CLocalityPreservingProjections();
00033 
00035     virtual const char* get_name() const;
00036 
00037 protected:
00038 
00043     virtual CSimpleFeatures<float64_t>* construct_embedding(CFeatures* features, 
00044                                                             SGMatrix<float64_t> W_matrix);
00045 
00046 };
00047 }
00048 
00049 #endif /* HAVE_LAPACK */
00050 #endif /* LOCALITYPRESERVINGPROJECTIONS_H_ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation