HessianLocallyLinearEmbedding.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 HESSIANLOCALLYLINEAREMBEDDING_H_
00012 #define HESSIANLOCALLYLINEAREMBEDDING_H_
00013 #include <shogun/lib/config.h>
00014 #ifdef HAVE_LAPACK
00015 #include <shogun/preprocessor/LocallyLinearEmbedding.h>
00016 #include <shogun/features/Features.h>
00017 #include <shogun/distance/Distance.h>
00018 
00019 namespace shogun
00020 {
00021 
00022 class CFeatures;
00023 
00024 class CDistance;
00025 
00043 class CHessianLocallyLinearEmbedding: public CLocallyLinearEmbedding
00044 {
00045 public:
00046 
00048     CHessianLocallyLinearEmbedding();
00049 
00051     virtual ~CHessianLocallyLinearEmbedding();
00052 
00056     virtual bool init(CFeatures* features);
00057 
00060     virtual void cleanup();
00061 
00065     virtual SGMatrix<float64_t> apply_to_feature_matrix(CFeatures* features);
00066 
00070     virtual SGVector<float64_t> apply_to_feature_vector(SGVector<float64_t> vector);
00071 
00075     virtual inline const char* get_name() const { return "HessianLocallyLinearEmbedding"; };
00076 
00080     virtual inline EPreprocessorType get_type() const { return P_HESSIANLOCALLYLINEAREMBEDDING; };
00081 
00082 protected:
00083 
00087     static void* run_hessianestimation_thread(void* p);
00088 
00089 };
00090 }
00091 
00092 #endif /* HAVE_LAPACK */
00093 #endif /* HESSIANLOCALLYLINEAREMBEDDING_H_ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation