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

#include <kodama.hpp>

Public Attributes

std::vector< float > scores
 
std::vector< float > loadings
 
std::vector< float > singular_values
 
std::vector< float > sdev
 
std::vector< float > variance
 
std::vector< float > variance_explained
 
std::vector< float > cumulative_variance_explained
 
std::vector< float > center
 
std::vector< float > scale
 
int samples = 0
 
int variables = 0
 
int components = 0
 
int oversample = 0
 
int power_iterations = 0
 
Backend backend = Backend::CPU
 
double total_variance = 0.0
 
double runtime_seconds = 0.0
 

Detailed Description

Definition at line 728 of file kodama.hpp.

Member Data Documentation

◆ backend

Backend kodama::PCAResult::backend = Backend::CPU

Definition at line 743 of file kodama.hpp.

◆ center

std::vector<float> kodama::PCAResult::center

Definition at line 736 of file kodama.hpp.

◆ components

int kodama::PCAResult::components = 0

Definition at line 740 of file kodama.hpp.

◆ cumulative_variance_explained

std::vector<float> kodama::PCAResult::cumulative_variance_explained

Definition at line 735 of file kodama.hpp.

◆ loadings

std::vector<float> kodama::PCAResult::loadings

Definition at line 730 of file kodama.hpp.

◆ oversample

int kodama::PCAResult::oversample = 0

Definition at line 741 of file kodama.hpp.

◆ power_iterations

int kodama::PCAResult::power_iterations = 0

Definition at line 742 of file kodama.hpp.

◆ runtime_seconds

double kodama::PCAResult::runtime_seconds = 0.0

Definition at line 745 of file kodama.hpp.

◆ samples

int kodama::PCAResult::samples = 0

Definition at line 738 of file kodama.hpp.

◆ scale

std::vector<float> kodama::PCAResult::scale

Definition at line 737 of file kodama.hpp.

◆ scores

std::vector<float> kodama::PCAResult::scores

Definition at line 729 of file kodama.hpp.

◆ sdev

std::vector<float> kodama::PCAResult::sdev

Definition at line 732 of file kodama.hpp.

◆ singular_values

std::vector<float> kodama::PCAResult::singular_values

Definition at line 731 of file kodama.hpp.

◆ total_variance

double kodama::PCAResult::total_variance = 0.0

Definition at line 744 of file kodama.hpp.

◆ variables

int kodama::PCAResult::variables = 0

Definition at line 739 of file kodama.hpp.

◆ variance

std::vector<float> kodama::PCAResult::variance

Definition at line 733 of file kodama.hpp.

◆ variance_explained

std::vector<float> kodama::PCAResult::variance_explained

Definition at line 734 of file kodama.hpp.


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