Skip to main content

Module errors

Module errors 

Source
Expand description

Error functions: the cost of a leaf and what it predicts.

Structs§

NativeError
An error function backed by a plain Rust function.

Traits§

ErrorWrapper
The error of a leaf.

Functions§

classification_error
Misclassification error of a leaf predicting its majority class, and that class. Ties go to the highest class index. The default error function.