mindspore2022/docs/api/api_python/nn/mindspore.nn.F1.rst

11 lines
323 B
ReStructuredText
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

mindspore.nn.F1
=====================
.. py:class:: mindspore.nn.F1
计算F1 score。F1是Fbeta的特殊情况即beta为1。
有关更多详细信息,请参阅类:class:`mindspore.nn.Fbeta`
.. math::
F_1=\frac{2\cdot true\_positive}{2\cdot true\_positive + false\_negative + false\_positive}