Tapkee
Main Page
Namespaces
Classes
Files
File List
File Members
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
25
const
stichwort::ParameterKeyword<ComputationStrategy>
26
computation_strategy(
"computation strategy (cpu, cpu+gpu)"
,
HomogeneousCPUStrategy
);
27
35
const
stichwort::ParameterKeyword<DimensionReductionMethod>
36
method(
"dimension reduction method"
,
PassThru
);
37
63
const
stichwort::ParameterKeyword<EigenMethod>
64
eigen_method(
"eigendecomposition method"
,
default_eigen_method
);
65
89
const
stichwort::ParameterKeyword<NeighborsMethod>
90
neighbors_method(
"nearest neighbors method"
,
default_neighbors_method
);
91
114
const
stichwort::ParameterKeyword<IndexType>
115
num_neighbors(
"number of neighbors"
, 5);
116
128
const
stichwort::ParameterKeyword<IndexType>
129
target_dimension(
"target dimension"
, 2);
130
140
const
stichwort::ParameterKeyword<IndexType>
141
diffusion_map_timesteps(
"diffusion map timesteps"
, 3);
142
156
const
stichwort::ParameterKeyword<ScalarType>
157
gaussian_kernel_width(
"the width of the gaussian kernel"
, 1.0);
158
171
const
stichwort::ParameterKeyword<IndexType>
172
max_iteration(
"maximal iteration"
, 100);
173
183
const
stichwort::ParameterKeyword<bool>
184
spe_global_strategy(
"SPE global strategy"
,
true
);
185
195
const
stichwort::ParameterKeyword<IndexType>
196
spe_num_updates(
"SPE number of updates"
, 100);
197
207
const
stichwort::ParameterKeyword<ScalarType>
208
spe_tolerance(
"SPE tolerance"
, 1e-9);
209
225
const
stichwort::ParameterKeyword<ScalarType>
226
landmark_ratio(
"ratio of landmark points"
, 0.5);
227
246
const
stichwort::ParameterKeyword<ScalarType>
247
nullspace_shift(
"diagonal shift of nullspace"
, 1e-9);
248
260
const
stichwort::ParameterKeyword<ScalarType>
261
klle_shift(
"KLLE regularizer"
, 1e-3);
262
285
const
stichwort::ParameterKeyword<bool>
286
check_connectivity(
"check connectivity"
,
true
);
287
297
const
stichwort::ParameterKeyword<ScalarType>
298
fa_epsilon(
"epsilon of FA"
, 1e-9);
299
312
const
stichwort::ParameterKeyword<void (*)(double)>
313
progress_function(
"progress function"
, NULL);
314
331
const
stichwort::ParameterKeyword<bool (*)()>
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
keywords.hpp
tapkee
Definition:
dummy_callbacks.hpp:9
types.hpp
tapkee::default_eigen_method
static EigenMethod default_eigen_method
Definition:
defines/methods.hpp:173
stichwort::ParameterKeyword
Definition:
stichwort/keywords.hpp:62
tapkee::PassThru
Definition:
defines/methods.hpp:71
tapkee::HomogeneousCPUStrategy
static const ComputationStrategy HomogeneousCPUStrategy("CPU")
tapkee::default_neighbors_method
static NeighborsMethod default_neighbors_method
Definition:
defines/methods.hpp:147
include
tapkee
defines
keywords.hpp
Generated by
1.8.11