rxn.metrics.metrics

Definition of the different metrics.

Functions

class_diversity(ground_truth, predictions, ...)

Compute the class diversity values, split by n-th predictions.

coverage(ground_truth, predictions)

Compute the coverage values, split by n-th predictions.

round_trip_accuracy(ground_truth, predictions)

Compute the round-trip accuracy values, split by n-th predictions.

top_n_accuracy(ground_truth, predictions)

Compute the top-n accuracy values.