module onnx_conv.scorers.cdist_score
#
Short summary#
module mlprodict.onnx_conv.scorers.cdist_score
Implementation of a dummy score using cdist.
Functions#
function |
truncated documentation |
---|---|
Converts function |
|
Computes the sum of pairwise distances between expected_values and predictions. It has no particular purpose … |
Documentation#
Implementation of a dummy score using cdist.
- mlprodict.onnx_conv.scorers.cdist_score.convert_score_cdist_sum(scope, operator, container)#
Converts function
score_cdist_sum
into ONNX.
- mlprodict.onnx_conv.scorers.cdist_score.score_cdist_sum(expected_values, predictions, metric='sqeuclidean', p=None)#
Computes the sum of pairwise distances between expected_values and predictions. It has no particular purpose except the one of converting a scorer into ONNX.
- Parameters:
- Returns:
some of the pairwise distances