qdtsne
Quick and dirty t-SNE in C++
Loading...
Searching...
No Matches
Options.hpp
Go to the documentation of this file.
1#ifndef QDTSNE_OPTIONS_HPP
2#define QDTSNE_OPTIONS_HPP
3
9namespace qdtsne {
10
22enum class PrecomputedPerplexityPolicy : char { INFER, CHECK, ASIS };
23
27struct Options {
37 double perplexity = 30;
38
43 PrecomputedPerplexityPolicy precomputed_perplexity_policy = PrecomputedPerplexityPolicy::INFER;
44
54 double theta = 1;
55
60 int max_iterations = 1000;
61
69
75
84
89 double start_momentum = 0.5;
90
95 double final_momentum = 0.8;
96
101 double eta = 200;
102
115 int max_depth = 20;
116
127 bool leaf_approximation = false;
128
134 int num_threads = 1;
135};
136
137}
138
139#endif
Quick and dirty t-SNE.
PrecomputedPerplexityPolicy
Definition Options.hpp:22
Options for initialize().
Definition Options.hpp:27
PrecomputedPerplexityPolicy precomputed_perplexity_policy
Definition Options.hpp:43
int max_depth
Definition Options.hpp:115
int momentum_switch_iterations
Definition Options.hpp:83
int early_exaggeration_iterations
Definition Options.hpp:68
int max_iterations
Definition Options.hpp:60
bool leaf_approximation
Definition Options.hpp:127
double eta
Definition Options.hpp:101
double final_momentum
Definition Options.hpp:95
double exaggeration_factor
Definition Options.hpp:74
int num_threads
Definition Options.hpp:134
double theta
Definition Options.hpp:54
double perplexity
Definition Options.hpp:37