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

#include <kodama.hpp>

Public Attributes

std::vector< float > score
 
std::vector< double > p_value
 
std::vector< double > adjusted_p_value
 
std::vector< float > per_sample_score
 
std::vector< double > per_sample_p_value
 
std::vector< int > ranking
 
std::vector< int > sample_labels
 
std::vector< int > basis_dimensions
 
std::size_t samples = 0
 
std::size_t variables = 0
 
std::size_t sample_groups = 0
 
Backend backend = Backend::CPU
 
double basis_seconds = 0.0
 
double statistic_seconds = 0.0
 
double runtime_seconds = 0.0
 

Detailed Description

Multi-scale low-rank spatial projection statistics and combined significance. Expression and basis arithmetic are float32; p-values use double precision to retain useful tail resolution.

Definition at line 839 of file kodama.hpp.

Member Data Documentation

◆ adjusted_p_value

std::vector<double> kodama::SpatialFeatureResult::adjusted_p_value

Definition at line 842 of file kodama.hpp.

◆ backend

Backend kodama::SpatialFeatureResult::backend = Backend::CPU

Definition at line 851 of file kodama.hpp.

◆ basis_dimensions

std::vector<int> kodama::SpatialFeatureResult::basis_dimensions

Definition at line 847 of file kodama.hpp.

◆ basis_seconds

double kodama::SpatialFeatureResult::basis_seconds = 0.0

Definition at line 852 of file kodama.hpp.

◆ p_value

std::vector<double> kodama::SpatialFeatureResult::p_value

Definition at line 841 of file kodama.hpp.

◆ per_sample_p_value

std::vector<double> kodama::SpatialFeatureResult::per_sample_p_value

Definition at line 844 of file kodama.hpp.

◆ per_sample_score

std::vector<float> kodama::SpatialFeatureResult::per_sample_score

Definition at line 843 of file kodama.hpp.

◆ ranking

std::vector<int> kodama::SpatialFeatureResult::ranking

Definition at line 845 of file kodama.hpp.

◆ runtime_seconds

double kodama::SpatialFeatureResult::runtime_seconds = 0.0

Definition at line 854 of file kodama.hpp.

◆ sample_groups

std::size_t kodama::SpatialFeatureResult::sample_groups = 0

Definition at line 850 of file kodama.hpp.

◆ sample_labels

std::vector<int> kodama::SpatialFeatureResult::sample_labels

Definition at line 846 of file kodama.hpp.

◆ samples

std::size_t kodama::SpatialFeatureResult::samples = 0

Definition at line 848 of file kodama.hpp.

◆ score

std::vector<float> kodama::SpatialFeatureResult::score

Definition at line 840 of file kodama.hpp.

◆ statistic_seconds

double kodama::SpatialFeatureResult::statistic_seconds = 0.0

Definition at line 853 of file kodama.hpp.

◆ variables

std::size_t kodama::SpatialFeatureResult::variables = 0

Definition at line 849 of file kodama.hpp.


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