umappp
A C++ library for UMAP
Loading...
Searching...
No Matches
Options.hpp
Go to the documentation of this file.
1#ifndef UMAPPP_OPTIONS_HPP
2#define UMAPPP_OPTIONS_HPP
3
4#include <cstdint>
5
11namespace umappp {
12
23enum InitializeMethod : char { SPECTRAL, SPECTRAL_ONLY, RANDOM, NONE };
24
28struct Options {
35
40 double bandwidth = 1;
41
48 double mix_ratio = 1;
49
53 double spread = 1;
54
60 double min_dist = 0.1;
61
68 double a = 0;
69
76 double b = 0;
77
83
88 InitializeMethod initialize = InitializeMethod::SPECTRAL;
89
100 int num_epochs = -1;
101
106 double learning_rate = 1;
107
114
121
125 uint64_t seed = 1234567890;
126
134 int num_threads = 1;
135
150};
151
152}
153
154#endif
Status of the UMAP optimization iterations.
Definition Status.hpp:25
Methods for UMAP.
Definition initialize.hpp:21
InitializeMethod
Definition Options.hpp:23
Options for initialize().
Definition Options.hpp:28
double mix_ratio
Definition Options.hpp:48
double negative_sample_rate
Definition Options.hpp:113
uint64_t seed
Definition Options.hpp:125
double repulsion_strength
Definition Options.hpp:82
int parallel_optimization
Definition Options.hpp:149
double bandwidth
Definition Options.hpp:40
double min_dist
Definition Options.hpp:60
double learning_rate
Definition Options.hpp:106
InitializeMethod initialize
Definition Options.hpp:88
double b
Definition Options.hpp:76
int num_neighbors
Definition Options.hpp:120
double a
Definition Options.hpp:68
int num_epochs
Definition Options.hpp:100
double spread
Definition Options.hpp:53
int num_threads
Definition Options.hpp:134
double local_connectivity
Definition Options.hpp:34