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

#include <kodama.hpp>

Public Member Functions

int operator() (std::size_t truth, std::size_t predicted) const
 

Public Attributes

std::vector< int > labels
 
std::vector< int > counts
 
std::size_t n_labels = 0
 

Detailed Description

Definition at line 229 of file kodama.hpp.

Member Function Documentation

◆ operator()()

int kodama::ConfusionMatrix::operator() ( std::size_t  truth,
std::size_t  predicted 
) const
inline

Definition at line 234 of file kodama.hpp.

Member Data Documentation

◆ counts

std::vector<int> kodama::ConfusionMatrix::counts

Definition at line 231 of file kodama.hpp.

◆ labels

std::vector<int> kodama::ConfusionMatrix::labels

Definition at line 230 of file kodama.hpp.

◆ n_labels

std::size_t kodama::ConfusionMatrix::n_labels = 0

Definition at line 232 of file kodama.hpp.


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