Tapkee
tapkee/defines/keywords.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_DEFINES_KEYWORDS_H_
7 #define TAPKEE_DEFINES_KEYWORDS_H_
8 
9 /* Tapkee includes */
10 #include <tapkee/defines/types.hpp>
11 
12 #include <stichwort/keywords.hpp>
13 /* End of Tapkee includes */
14 
15 namespace tapkee
16 {
17  namespace {
18 
26  computation_strategy("computation strategy (cpu, cpu+gpu)", HomogeneousCPUStrategy);
27 
36  method("dimension reduction method", PassThru);
37 
64  eigen_method("eigendecomposition method", default_eigen_method);
65 
90  neighbors_method("nearest neighbors method", default_neighbors_method);
91 
115  num_neighbors("number of neighbors", 5);
116 
129  target_dimension("target dimension", 2);
130 
141  diffusion_map_timesteps("diffusion map timesteps", 3);
142 
157  gaussian_kernel_width("the width of the gaussian kernel", 1.0);
158 
172  max_iteration("maximal iteration", 100);
173 
184  spe_global_strategy("SPE global strategy", true);
185 
196  spe_num_updates("SPE number of updates", 100);
197 
208  spe_tolerance("SPE tolerance", 1e-9);
209 
226  landmark_ratio("ratio of landmark points", 0.5);
227 
247  nullspace_shift("diagonal shift of nullspace", 1e-9);
248 
261  klle_shift("KLLE regularizer", 1e-3);
262 
286  check_connectivity("check connectivity", true);
287 
298  fa_epsilon("epsilon of FA", 1e-9);
299 
313  progress_function("progress function", NULL);
314 
332  cancel_function("cancel function", NULL);
333 
343  const stichwort::ParameterKeyword<ScalarType> sne_perplexity("SNE perplexity", 30.0);
344 
354  const stichwort::ParameterKeyword<ScalarType> sne_theta("SNE theta", 0.5);
355 
365  const stichwort::ParameterKeyword<ScalarType> squishing_rate("squishing rate", 0.99);
366  }
367 }
368 
369 #endif
static EigenMethod default_eigen_method
static const ComputationStrategy HomogeneousCPUStrategy("CPU")
static NeighborsMethod default_neighbors_method