Tapkee
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
naming.hpp
Go to the documentation of this file.
1 /* This software is distributed under BSD 3-clause license (see LICENSE file).
2  *
3  * Copyright (c) 2012-2013 Sergey Lisitsyn
4  */
5 
6 #ifndef TAPKEE_NAMING_H_
7 #define TAPKEE_NAMING_H_
8 
9 namespace tapkee
10 {
11 
14 {
15  switch (m)
16  {
17  case KernelLocallyLinearEmbedding: return "Kernel Locally Linear Embedding";
18  case KernelLocalTangentSpaceAlignment: return "Local Tangent Space Alignment";
19  case DiffusionMap: return "Diffusion Map";
20  case MultidimensionalScaling: return "Classic Multidimensional Scaling";
21  case LandmarkMultidimensionalScaling: return "Landmark Multidimensional Scaling";
22  case Isomap: return "Isomap";
23  case LandmarkIsomap: return "Landmark Isomap";
24  case NeighborhoodPreservingEmbedding: return "Neighborhood Preserving Embedding";
25  case LinearLocalTangentSpaceAlignment: return "Linear Local Tangent Space Alignment";
26  case HessianLocallyLinearEmbedding: return "Hessian Locally Linear Embedding";
27  case LaplacianEigenmaps: return "Laplacian Eigenmaps";
28  case LocalityPreservingProjections: return "Locality Preserving Embedding";
29  case PCA: return "Principal Component Analysis";
30  case KernelPCA: return "Kernel Principal Component Analysis";
31  case StochasticProximityEmbedding: return "Stochastic Proximity Embedding";
32  case PassThru: return "passing through";
33  case RandomProjection: return "Random Projection";
34  case FactorAnalysis: return "Factor Analysis";
35  case tDistributedStochasticNeighborEmbedding: return "t-distributed Stochastic Neighbor Embedding";
36  case ManifoldSculpting: return "manifold sculpting";
37  }
38  return "hello";
39 }
40 
43 {
44  switch (m)
45  {
46  case Brute: return "Brute-force";
47  case VpTree: return "VP-tree";
48 #ifdef TAPKEE_USE_LGPL_COVERTREE
49  case CoverTree: return "Cover Tree";
50 #endif
51  }
52  return "hello";
53 }
54 
57 {
58  switch (m)
59  {
60 #ifdef TAPKEE_WITH_ARPACK
61  case Arpack: return "Arpack";
62 #endif
63  case Dense: return "Dense";
64  case Randomized: return "Randomized";
65  }
66  return "hello";
67 }
68 
69 }
70 #endif
std::string get_method_name(DimensionReductionMethod m)
Definition: naming.hpp:13
ARPACK-based method (requires the ARPACK library binaries to be available around). Recommended to be used as a default method. Supports both generalized and standard eigenproblems.
Eigen library dense method (could be useful for debugging). Computes all eigenvectors thus can be ver...
std::string get_eigen_method_name(EigenMethod m)
Definition: naming.hpp:56
std::string get_neighbors_method_name(NeighborsMethod m)
Definition: naming.hpp:42
Randomized method (implementation taken from the redsvd lib). Supports only standard but not generali...
EigenMethod
Eigendecomposition methods.
DimensionReductionMethod
Dimension reduction methods.
Covertree-based method with approximate time complexity. Recommended to be used as a default method...
Brute force method with not least than time complexity. Recommended to be used only in debug purpose...
NeighborsMethod
Neighbors computation methods.