kodama-cpp
Standalone float32 KODAMA kernels for CPU, CUDA, and Apple Metal
Loading...
Searching...
No Matches
kodama::UMAPOptions Struct Reference

#include <kodama.hpp>

Public Attributes

int n_components = 2
 
int n_epochs = 200
 
int n_neighbors = 30
 
int negative_sample_rate = 5
 
double learning_rate = 1.0
 
double min_dist = 0.01
 
double repulsion_strength = 1.0
 
int spectral_n_iter = 20
 
int n_threads = 1
 
int seed = 1234
 
int gpu_device = 0
 
UMAPGraphMode graph_mode = UMAPGraphMode::Fuzzy
 
std::vector< float > init
 
std::string init_source
 
Backend init_backend = Backend::Auto
 

Detailed Description

Definition at line 662 of file kodama.hpp.

Member Data Documentation

◆ gpu_device

int kodama::UMAPOptions::gpu_device = 0

Definition at line 673 of file kodama.hpp.

◆ graph_mode

UMAPGraphMode kodama::UMAPOptions::graph_mode = UMAPGraphMode::Fuzzy

Definition at line 674 of file kodama.hpp.

◆ init

std::vector<float> kodama::UMAPOptions::init

Definition at line 675 of file kodama.hpp.

◆ init_backend

Backend kodama::UMAPOptions::init_backend = Backend::Auto

Definition at line 677 of file kodama.hpp.

◆ init_source

std::string kodama::UMAPOptions::init_source

Definition at line 676 of file kodama.hpp.

◆ learning_rate

double kodama::UMAPOptions::learning_rate = 1.0

Definition at line 667 of file kodama.hpp.

◆ min_dist

double kodama::UMAPOptions::min_dist = 0.01

Definition at line 668 of file kodama.hpp.

◆ n_components

int kodama::UMAPOptions::n_components = 2

Definition at line 663 of file kodama.hpp.

◆ n_epochs

int kodama::UMAPOptions::n_epochs = 200

Definition at line 664 of file kodama.hpp.

◆ n_neighbors

int kodama::UMAPOptions::n_neighbors = 30

Definition at line 665 of file kodama.hpp.

◆ n_threads

int kodama::UMAPOptions::n_threads = 1

Definition at line 671 of file kodama.hpp.

◆ negative_sample_rate

int kodama::UMAPOptions::negative_sample_rate = 5

Definition at line 666 of file kodama.hpp.

◆ repulsion_strength

double kodama::UMAPOptions::repulsion_strength = 1.0

Definition at line 669 of file kodama.hpp.

◆ seed

int kodama::UMAPOptions::seed = 1234

Definition at line 672 of file kodama.hpp.

◆ spectral_n_iter

int kodama::UMAPOptions::spectral_n_iter = 20

Definition at line 670 of file kodama.hpp.


The documentation for this struct was generated from the following file: