Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 992 Bytes

stat-layer.rst

File metadata and controls

32 lines (20 loc) · 992 Bytes

Statistics Layers

Compute and accumulate multi-class classification accuracy. The accuracy is averaged over mini-batches. If the spatial dimension is not singleton, i.e. there are multiple labels for each data instance, then the accuracy is also averaged among the spatial dimension.

.. attribute:: bottoms

   The blob names for prediction and labels (in that order).

.. attribute:: dim

   Default ``-2`` (penultimate). Specifies the dimension to operate on.

Compute and accumulate binary classification accuracy. The accuracy is averaged over mini-batches. Labels can be either {0, 1} labels or {-1, +1} labels

.. attribute:: bottoms

   The blob names for prediction and labels (in that order).