automl 0.3.0

Automated machine learning for classification and regression
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Shared comparison entry structure for model evaluations.

use smartcore::model_selection::CrossValidationResult;
use std::time::Duration;

/// Stores the outcome of training an algorithm during model comparison.
#[derive(Debug, Clone)]
pub struct ComparisonEntry<A> {
    /// Cross-validation metrics for the trained algorithm.
    pub result: CrossValidationResult,
    /// The trained algorithm instance.
    pub algorithm: A,
    /// Duration taken to train and evaluate the algorithm.
    pub duration: Duration,
}