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

#include <kodama.hpp>

Public Attributes

int n_components = 2
 
bool center = true
 
bool scale = false
 
int oversample = -1
 
int power_iterations = -1
 
int n_threads = 1
 
std::uint64_t seed = 4
 
int gpu_device = 0
 
Backend backend = Backend::CPU
 

Detailed Description

Definition at line 716 of file kodama.hpp.

Member Data Documentation

◆ backend

Backend kodama::PCAOptions::backend = Backend::CPU

Definition at line 725 of file kodama.hpp.

◆ center

bool kodama::PCAOptions::center = true

Definition at line 718 of file kodama.hpp.

◆ gpu_device

int kodama::PCAOptions::gpu_device = 0

Definition at line 724 of file kodama.hpp.

◆ n_components

int kodama::PCAOptions::n_components = 2

Definition at line 717 of file kodama.hpp.

◆ n_threads

int kodama::PCAOptions::n_threads = 1

Definition at line 722 of file kodama.hpp.

◆ oversample

int kodama::PCAOptions::oversample = -1

Definition at line 720 of file kodama.hpp.

◆ power_iterations

int kodama::PCAOptions::power_iterations = -1

Definition at line 721 of file kodama.hpp.

◆ scale

bool kodama::PCAOptions::scale = false

Definition at line 719 of file kodama.hpp.

◆ seed

std::uint64_t kodama::PCAOptions::seed = 4

Definition at line 723 of file kodama.hpp.


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