Module metrics

Source
Expand description

Evaluation metrics for neural networks

Structs§

BinaryAccuracy
Binary accuracy metric for classification
CategoricalAccuracy
Categorical accuracy metric for multi-class classification
MeanSquaredError
Mean squared error metric
R2Score
Coefficient of determination (R²) metric

Traits§

Metric
Trait for metrics that evaluate model performance

Functions§

binary_accuracy
Calculate the binary accuracy between predictions and targets
categorical_accuracy
Calculate the categorical accuracy between predictions and targets
mean_squared_error
Calculate the mean squared error between predictions and targets