Loading [MathJax]/extensions/tex2jax.js
slope 0.29.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
slope::CvResult Struct Reference

Contains overall results from a cross-validation process. More...

#include <cv.h>

Public Attributes

std::vector< GridResultresults
 
std::map< std::string, double > best_params
 
double best_score
 The score achieved by the optimal hyperparameter configuration.
 
int best_ind
 Index of the best performing configuration in the results vector.
 
int best_alpha_ind
 

Detailed Description

Contains overall results from a cross-validation process.

This struct aggregates results from cross-validation across multiple hyperparameter combinations, including information about the optimal configuration.

Definition at line 57 of file cv.h.

Member Data Documentation

◆ best_alpha_ind

int slope::CvResult::best_alpha_ind

Index of the optimal alpha value within the regularization path for the best configuration

Definition at line 75 of file cv.h.

◆ best_ind

int slope::CvResult::best_ind

Index of the best performing configuration in the results vector.

Definition at line 71 of file cv.h.

◆ best_params

std::map<std::string, double> slope::CvResult::best_params

Map of hyperparameter names to their optimal values based on the cross-validation results

Definition at line 65 of file cv.h.

◆ best_score

double slope::CvResult::best_score

The score achieved by the optimal hyperparameter configuration.

Definition at line 68 of file cv.h.

◆ results

std::vector<GridResult> slope::CvResult::results

Vector of GridResult objects containing performance metrics for each hyperparameter configuration evaluated

Definition at line 61 of file cv.h.


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