model.deeplearn.metric package

Submodules

model.deeplearn.metric.multihead_metric module

model.deeplearn.metric.multihead_metric.vl3d_multihead_metric(metric)

Function to compute the metric for the case of many output heads. The strategy consists of computing the underlying metric for the last output head only.

Parameters:

metric – The underlying metric.

Returns:

The underlying metric evaluated in the last output head.

model.deeplearn.metric.vl3d_f1_score module

model.deeplearn.metric.vl3d_f1_score.vl3d_f1_score(average='macro', name='f1')

Module contents

author:

Alberto M. Esmoris Pena

The metric package contains the logic to handle custom metrics in deep learning models.