SVM Classifier C++ 1.0.0
High-performance Support Vector Machine classifier with scikit-learn compatible API
Loading...
Searching...
No Matches
Public Attributes | List of all members
svm_classifier::PredictionResult Struct Reference

Prediction result structure. More...

#include <types.hpp>

Public Attributes

std::vector< int > predictions
 Predicted class labels.
 
std::vector< std::vector< double > > probabilities
 Class probabilities (if available)
 
std::vector< std::vector< double > > decision_values
 Decision function values.
 
bool has_probabilities = false
 Whether probabilities are available.
 

Detailed Description

Prediction result structure.

Definition at line 49 of file types.hpp.

Member Data Documentation

◆ decision_values

std::vector<std::vector<double> > svm_classifier::PredictionResult::decision_values

Decision function values.

Definition at line 52 of file types.hpp.

◆ has_probabilities

bool svm_classifier::PredictionResult::has_probabilities = false

Whether probabilities are available.

Definition at line 53 of file types.hpp.

◆ predictions

std::vector<int> svm_classifier::PredictionResult::predictions

Predicted class labels.

Definition at line 50 of file types.hpp.

◆ probabilities

std::vector<std::vector<double> > svm_classifier::PredictionResult::probabilities

Class probabilities (if available)

Definition at line 51 of file types.hpp.


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