SHOGUN  4.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
MultidimensionalScaling.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or modify
3  * it under the terms of the GNU General Public License as published by
4  * the Free Software Foundation; either version 3 of the License, or
5  * (at your option) any later version.
6  *
7  * Written (W) 2011-2013 Sergey Lisitsyn
8  * Copyright (C) 2011-2013 Berlin Institute of Technology and Max-Planck-Society
9  */
10 
11 #ifndef MULTIDIMENSIONALSCALING_H_
12 #define MULTIDIMENSIONALSCALING_H_
13 #include <shogun/lib/config.h>
17 
18 namespace shogun
19 {
20 
21 class CFeatures;
22 class CDistance;
23 
61 {
62 public:
63 
64  /* constructor */
66 
67  /* destructor */
68  virtual ~CMultidimensionalScaling();
69 
75 
81  virtual CFeatures* apply(CFeatures* features);
82 
84  const char* get_name() const;
85 
90 
96  void set_landmark_number(int32_t num);
97 
101  int32_t get_landmark_number() const;
102 
106  void set_landmark(bool landmark);
107 
111  bool get_landmark() const;
112 
114 protected:
115 
117  virtual void init();
118 
120 protected:
121 
124 
127 
130 
131 };
132 
133 }
134 #endif /* MULTIDIMENSIONALSCALING_H_ */
float distance(CJLCoverTreePoint p1, CJLCoverTreePoint p2, float64_t upper_bound)
Class Distance, a base class for all the distances used in the Shogun toolbox.
Definition: Distance.h:87
class EmbeddingConverter (part of the Efficient Dimensionality Reduction Toolkit) used to construct e...
virtual CDenseFeatures< float64_t > * embed_distance(CDistance *distance)
class Multidimensionalscaling is used to perform multidimensional scaling (capable of landmark approx...
virtual CFeatures * apply(CFeatures *features)
SGVector< float64_t > get_eigenvalues() const
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18
The class Features is the base class of all feature objects.
Definition: Features.h:68
SGVector< float64_t > m_eigenvalues
FIELDS.

SHOGUN Machine Learning Toolbox - Documentation