slope 0.31.0
Loading...
Searching...
No Matches
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 58 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 76 of file cv.h.

◆ best_ind

int slope::CvResult::best_ind

Index of the best performing configuration in the results vector.

Definition at line 72 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 66 of file cv.h.

◆ best_score

double slope::CvResult::best_score

The score achieved by the optimal hyperparameter configuration.

Definition at line 69 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 62 of file cv.h.


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