Tapkee
naming.hpp
Go to the documentation of this file.
00001 /* This software is distributed under BSD 3-clause license (see LICENSE file).
00002  *
00003  * Copyright (c) 2012-2013 Sergey Lisitsyn
00004  */
00005 
00006 #ifndef TAPKEE_NAMING_H_
00007 #define TAPKEE_NAMING_H_
00008 
00009 namespace tapkee
00010 {
00011 
00013 std::string get_method_name(DimensionReductionMethod m)
00014 {
00015     switch (m)
00016     {
00017         case KernelLocallyLinearEmbedding: return "Kernel Locally Linear Embedding";
00018         case KernelLocalTangentSpaceAlignment: return "Local Tangent Space Alignment";
00019         case DiffusionMap: return "Diffusion Map";
00020         case MultidimensionalScaling: return "Classic Multidimensional Scaling";
00021         case LandmarkMultidimensionalScaling: return "Landmark Multidimensional Scaling";
00022         case Isomap: return "Isomap";
00023         case LandmarkIsomap: return "Landmark Isomap";
00024         case NeighborhoodPreservingEmbedding: return "Neighborhood Preserving Embedding";
00025         case LinearLocalTangentSpaceAlignment: return "Linear Local Tangent Space Alignment";
00026         case HessianLocallyLinearEmbedding: return "Hessian Locally Linear Embedding";
00027         case LaplacianEigenmaps: return "Laplacian Eigenmaps";
00028         case LocalityPreservingProjections: return "Locality Preserving Embedding";
00029         case PCA: return "Principal Component Analysis";
00030         case KernelPCA: return "Kernel Principal Component Analysis";
00031         case StochasticProximityEmbedding: return "Stochastic Proximity Embedding";
00032         case PassThru: return "passing through";
00033         case RandomProjection: return "Random Projection";
00034         case FactorAnalysis: return "Factor Analysis";
00035         case tDistributedStochasticNeighborEmbedding: return "t-distributed Stochastic Neighbor Embedding";
00036         case ManifoldSculpting: return "manifold sculpting";
00037     }
00038     return "hello";
00039 }
00040 
00042 std::string get_neighbors_method_name(NeighborsMethod m)
00043 {
00044     switch (m)
00045     {
00046         case Brute: return "Brute-force";
00047         case VpTree: return "VP-tree";
00048 #ifdef TAPKEE_USE_LGPL_COVERTREE
00049         case CoverTree: return "Cover Tree";
00050 #endif
00051     }
00052     return "hello";
00053 }
00054 
00056 std::string get_eigen_method_name(EigenMethod m)
00057 {
00058     switch (m)
00059     {
00060 #ifdef TAPKEE_WITH_ARPACK
00061         case Arpack: return "Arpack";
00062 #endif
00063         case Dense: return "Dense";
00064         case Randomized: return "Randomized";
00065     }
00066     return "hello";
00067 }
00068 
00069 }
00070 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines