6 #ifndef TAPKEE_DEFINES_KEYWORDS_H_
7 #define TAPKEE_DEFINES_KEYWORDS_H_
19 namespace keywords_internal
82 const ParameterKeyword<DimensionReductionMethod>
83 method(
"dimension reduction method",
PassThru);
110 const ParameterKeyword<EigenMethod>
136 const ParameterKeyword<NeighborsMethod>
161 const ParameterKeyword<IndexType>
162 num_neighbors(
"number of neighbors", 5);
175 const ParameterKeyword<IndexType>
176 target_dimension(
"target dimension", 2);
187 const ParameterKeyword<IndexType>
188 diffusion_map_timesteps(
"diffusion map timesteps", 3);
203 const ParameterKeyword<ScalarType>
204 gaussian_kernel_width(
"the width of the gaussian kernel", 1.0);
218 const ParameterKeyword<IndexType>
219 max_iteration(
"maximal iteration", 100);
230 const ParameterKeyword<bool>
231 spe_global_strategy(
"SPE global strategy",
true);
242 const ParameterKeyword<IndexType>
243 spe_num_updates(
"SPE number of updates", 100);
254 const ParameterKeyword<ScalarType>
255 spe_tolerance(
"SPE tolerance", 1e-9);
272 const ParameterKeyword<ScalarType>
273 landmark_ratio(
"ratio of landmark points", 0.5);
293 const ParameterKeyword<ScalarType>
294 nullspace_shift(
"diagonal shift of nullspace", 1e-9);
307 const ParameterKeyword<ScalarType>
308 klle_shift(
"KLLE regularizer", 1e-3);
332 const ParameterKeyword<bool>
333 check_connectivity(
"check connectivity",
true);
344 const ParameterKeyword<ScalarType>
345 fa_epsilon(
"epsilon of FA", 1e-9);
359 const ParameterKeyword<void (*)(double)>
360 progress_function(
"progress function", NULL);
378 const ParameterKeyword<bool (*)()>
379 cancel_function(
"cancel function", NULL);
390 const ParameterKeyword<ScalarType> sne_perplexity(
"SNE perplexity", 30.0);
401 const ParameterKeyword<ScalarType> sne_theta(
"SNE theta", 0.5);
412 const ParameterKeyword<ScalarType> squishing_rate(
"squishing rate", 0.99);
417 const DefaultValue by_default;
Parameter operator=(const T &value) const
static Parameter create(const std::string &name, const T &value)
static EigenMethod default_eigen_method
ParameterKeyword operator=(const ParameterKeyword &pk)
Parameter operator=(const DefaultValue &) const
ParameterKeyword(const Name &n, const T &dv)
static NeighborsMethod default_neighbors_method