-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
51 changed files
with
413 additions
and
393 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: 7544be936d9c497822b4fc681e29ae8d | ||
config: 0a12e1885e9e5b2b3a2938f45fb8dc27 | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" /> | ||
<link rel="stylesheet" href="../_static/css/audeering.css" type="text/css" /> | ||
<link rel="stylesheet" href="../_static/copybutton.css" type="text/css" /> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected].4/dist/katex.min.css" type="text/css" /> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected].9/dist/katex.min.css" type="text/css" /> | ||
<link rel="stylesheet" href="../_static/katex-math.css" type="text/css" /> | ||
<link rel="index" title="Index" href="../genindex.html" /> | ||
<link rel="search" title="Search" href="../search.html" /> | ||
|
@@ -65,7 +65,7 @@ | |
|
||
|
||
<div class="version"> | ||
v1.2.0 | ||
v1.2.1 | ||
</div> | ||
|
||
|
||
|
@@ -156,15 +156,15 @@ <h1>All modules for which code is available</h1> | |
|
||
|
||
|
||
Built with <a href="https://www.sphinx-doc.org/en/master/">Sphinx</a> on 2023/05/08 using the <a href="https://github.com/audeering/sphinx-audeering-theme/">audEERING theme</a> | ||
Built with <a href="https://www.sphinx-doc.org/en/master/">Sphinx</a> on 2024/02/28 using the <a href="https://github.com/audeering/sphinx-audeering-theme/">audEERING theme</a> | ||
|
||
</p> | ||
</div> | ||
|
||
<div role="contentinfo"> | ||
<p> | ||
|
||
© 2019-2023 audEERING GmbH | ||
© 2019-2024 audEERING GmbH | ||
</p> | ||
</div> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
.. documentation master file | ||
.. include:: ../README.rst | ||
|
||
.. toctree:: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" /> | ||
<link rel="stylesheet" href="../_static/css/audeering.css" type="text/css" /> | ||
<link rel="stylesheet" href="../_static/copybutton.css" type="text/css" /> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected].4/dist/katex.min.css" type="text/css" /> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected].9/dist/katex.min.css" type="text/css" /> | ||
<link rel="stylesheet" href="../_static/katex-math.css" type="text/css" /> | ||
<link rel="index" title="Index" href="../genindex.html" /> | ||
<link rel="search" title="Search" href="../search.html" /> | ||
|
@@ -67,7 +67,7 @@ | |
|
||
|
||
<div class="version"> | ||
v1.2.0 | ||
v1.2.1 | ||
</div> | ||
|
||
|
||
|
@@ -228,15 +228,15 @@ <h1>accuracy()<a class="headerlink" href="#accuracy" title="Permalink to this he | |
|
||
|
||
|
||
Built with <a href="https://www.sphinx-doc.org/en/master/">Sphinx</a> on 2023/05/08 using the <a href="https://github.com/audeering/sphinx-audeering-theme/">audEERING theme</a> | ||
Built with <a href="https://www.sphinx-doc.org/en/master/">Sphinx</a> on 2024/02/28 using the <a href="https://github.com/audeering/sphinx-audeering-theme/">audEERING theme</a> | ||
|
||
</p> | ||
</div> | ||
|
||
<div role="contentinfo"> | ||
<p> | ||
|
||
© 2019-2023 audEERING GmbH | ||
© 2019-2024 audEERING GmbH | ||
</p> | ||
</div> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" /> | ||
<link rel="stylesheet" href="../_static/css/audeering.css" type="text/css" /> | ||
<link rel="stylesheet" href="../_static/copybutton.css" type="text/css" /> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected].4/dist/katex.min.css" type="text/css" /> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected].9/dist/katex.min.css" type="text/css" /> | ||
<link rel="stylesheet" href="../_static/katex-math.css" type="text/css" /> | ||
<link rel="index" title="Index" href="../genindex.html" /> | ||
<link rel="search" title="Search" href="../search.html" /> | ||
|
@@ -67,7 +67,7 @@ | |
|
||
|
||
<div class="version"> | ||
v1.2.0 | ||
v1.2.1 | ||
</div> | ||
|
||
|
||
|
@@ -168,7 +168,7 @@ | |
<h1>concordance_cc()<a class="headerlink" href="#concordance-cc" title="Permalink to this heading">¶</a></h1> | ||
<dl class="py function"> | ||
<dt class="sig sig-object py" id="audmetric.concordance_cc"> | ||
<span class="sig-prename descclassname"><span class="pre">audmetric.</span></span><span class="sig-name descname"><span class="pre">concordance_cc</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">truth</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">prediction</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/audmetric/core/api.html#concordance_cc"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#audmetric.concordance_cc" title="Permalink to this definition">¶</a></dt> | ||
<span class="sig-prename descclassname"><span class="pre">audmetric.</span></span><span class="sig-name descname"><span class="pre">concordance_cc</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">truth</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">prediction</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">*</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">ignore_nan</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/audmetric/core/api.html#concordance_cc"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#audmetric.concordance_cc" title="Permalink to this definition">¶</a></dt> | ||
<dd><p>Concordance correlation coefficient.</p> | ||
<div class="math"> | ||
<span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><msub><mi>ρ</mi><mi>c</mi></msub><mo>=</mo><mfrac><mrow><mn>2</mn><mi>ρ</mi><msub><mi>σ</mi><mtext>prediction</mtext></msub><msub><mi>σ</mi><mtext>truth</mtext></msub></mrow><mrow><msubsup><mi>σ</mi><mtext>prediction</mtext><mn>2</mn></msubsup><mo>+</mo><msubsup><mi>σ</mi><mtext>truth</mtext><mn>2</mn></msubsup><mo>+</mo><mo stretchy="false">(</mo><msub><mi>μ</mi><mtext>prediction</mtext></msub><mo>−</mo><msub><mi>μ</mi><mtext>truth</mtext></msub><msup><mo stretchy="false">)</mo><mn>2</mn></msup></mrow></mfrac></mrow><annotation encoding="application/x-tex">\rho_c = \frac{2\rho\sigma_\text{prediction}\sigma_\text{truth}} | ||
|
@@ -188,6 +188,10 @@ <h1>concordance_cc()<a class="headerlink" href="#concordance-cc" title="Permalin | |
<dd class="field-odd"><ul class="simple"> | ||
<li><p><strong>truth</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">Sequence</span></code>[<code class="xref py py-class docutils literal notranslate"><span class="pre">float</span></code>]) – ground truth values</p></li> | ||
<li><p><strong>prediction</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">Sequence</span></code>[<code class="xref py py-class docutils literal notranslate"><span class="pre">float</span></code>]) – predicted values</p></li> | ||
<li><p><strong>ignore_nan</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code>) – if <code class="docutils literal notranslate"><span class="pre">True</span></code> | ||
all samples that contain <code class="docutils literal notranslate"><span class="pre">NaN</span></code> | ||
in <code class="docutils literal notranslate"><span class="pre">truth</span></code> or <code class="docutils literal notranslate"><span class="pre">prediction</span></code> | ||
are ignored</p></li> | ||
</ul> | ||
</dd> | ||
<dt class="field-even">Return type</dt> | ||
|
@@ -202,7 +206,7 @@ <h1>concordance_cc()<a class="headerlink" href="#concordance-cc" title="Permalin | |
</dl> | ||
<p class="rubric">Examples</p> | ||
<div class="doctest highlight-default notranslate"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">concordance_cc</span><span class="p">([</span><span class="mi">0</span><span class="p">,</span> <span class="mi">1</span><span class="p">,</span> <span class="mi">2</span><span class="p">],</span> <span class="p">[</span><span class="mi">0</span><span class="p">,</span> <span class="mi">1</span><span class="p">,</span> <span class="mi">1</span><span class="p">])</span> | ||
<span class="go">0.6666666666666666</span> | ||
<span class="go">0.6666666666666665</span> | ||
</pre></div> | ||
</div> | ||
</dd></dl> | ||
|
@@ -232,15 +236,15 @@ <h1>concordance_cc()<a class="headerlink" href="#concordance-cc" title="Permalin | |
|
||
|
||
|
||
Built with <a href="https://www.sphinx-doc.org/en/master/">Sphinx</a> on 2023/05/08 using the <a href="https://github.com/audeering/sphinx-audeering-theme/">audEERING theme</a> | ||
Built with <a href="https://www.sphinx-doc.org/en/master/">Sphinx</a> on 2024/02/28 using the <a href="https://github.com/audeering/sphinx-audeering-theme/">audEERING theme</a> | ||
|
||
</p> | ||
</div> | ||
|
||
<div role="contentinfo"> | ||
<p> | ||
|
||
© 2019-2023 audEERING GmbH | ||
© 2019-2024 audEERING GmbH | ||
</p> | ||
</div> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" /> | ||
<link rel="stylesheet" href="../_static/css/audeering.css" type="text/css" /> | ||
<link rel="stylesheet" href="../_static/copybutton.css" type="text/css" /> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected].4/dist/katex.min.css" type="text/css" /> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected].9/dist/katex.min.css" type="text/css" /> | ||
<link rel="stylesheet" href="../_static/katex-math.css" type="text/css" /> | ||
<link rel="index" title="Index" href="../genindex.html" /> | ||
<link rel="search" title="Search" href="../search.html" /> | ||
|
@@ -67,7 +67,7 @@ | |
|
||
|
||
<div class="version"> | ||
v1.2.0 | ||
v1.2.1 | ||
</div> | ||
|
||
|
||
|
@@ -227,15 +227,15 @@ <h1>confusion_matrix()<a class="headerlink" href="#confusion-matrix" title="Perm | |
|
||
|
||
|
||
Built with <a href="https://www.sphinx-doc.org/en/master/">Sphinx</a> on 2023/05/08 using the <a href="https://github.com/audeering/sphinx-audeering-theme/">audEERING theme</a> | ||
Built with <a href="https://www.sphinx-doc.org/en/master/">Sphinx</a> on 2024/02/28 using the <a href="https://github.com/audeering/sphinx-audeering-theme/">audEERING theme</a> | ||
|
||
</p> | ||
</div> | ||
|
||
<div role="contentinfo"> | ||
<p> | ||
|
||
© 2019-2023 audEERING GmbH | ||
© 2019-2024 audEERING GmbH | ||
</p> | ||
</div> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" /> | ||
<link rel="stylesheet" href="../_static/css/audeering.css" type="text/css" /> | ||
<link rel="stylesheet" href="../_static/copybutton.css" type="text/css" /> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected].4/dist/katex.min.css" type="text/css" /> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected].9/dist/katex.min.css" type="text/css" /> | ||
<link rel="stylesheet" href="../_static/katex-math.css" type="text/css" /> | ||
<link rel="index" title="Index" href="../genindex.html" /> | ||
<link rel="search" title="Search" href="../search.html" /> | ||
|
@@ -67,7 +67,7 @@ | |
|
||
|
||
<div class="version"> | ||
v1.2.0 | ||
v1.2.1 | ||
</div> | ||
|
||
|
||
|
@@ -186,13 +186,13 @@ <h1>detection_error_tradeoff()<a class="headerlink" href="#detection-error-trade | |
<p><code class="docutils literal notranslate"><span class="pre">truth</span></code> may only contain entries like <code class="docutils literal notranslate"><span class="pre">[1,</span> <span class="pre">0,</span> <span class="pre">True,</span> <span class="pre">False...]</span></code>, | ||
whereas prediction values | ||
can also contain similarity scores, e.g. <code class="docutils literal notranslate"><span class="pre">[0.8,</span> <span class="pre">0.1,</span> <span class="pre">...]</span></code>.</p> | ||
<p>The implementation is identical with the one provided | ||
by the <a class="reference external" href="https://github.com/manuelaguadomtz/pyeer">pyeer</a> package.</p> | ||
<p>The implementation was inspired by pyeer.eer_stats.calculate_roc but has | ||
been accelerated by using numpy-arrays instead of lists.</p> | ||
<dl class="field-list simple"> | ||
<dt class="field-odd">Parameters</dt> | ||
<dd class="field-odd"><ul class="simple"> | ||
<li><p><strong>truth</strong> (<code class="xref py py-data docutils literal notranslate"><span class="pre">Union</span></code>[<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">int</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">Sequence</span></code>[<code class="xref py py-data docutils literal notranslate"><span class="pre">Union</span></code>[<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">int</span></code>]]]) – ground truth classes</p></li> | ||
<li><p><strong>prediction</strong> (<code class="xref py py-data docutils literal notranslate"><span class="pre">Union</span></code>[<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">int</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">float</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">Sequence</span></code>[<code class="xref py py-data docutils literal notranslate"><span class="pre">Union</span></code>[<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">int</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">float</span></code>]]]) – predicted classes or similarity scores</p></li> | ||
<li><p><strong>truth</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">Sequence</span></code>[<code class="xref py py-data docutils literal notranslate"><span class="pre">Union</span></code>[<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">int</span></code>]]) – ground truth classes</p></li> | ||
<li><p><strong>prediction</strong> (<code class="xref py py-class docutils literal notranslate"><span class="pre">Sequence</span></code>[<code class="xref py py-data docutils literal notranslate"><span class="pre">Union</span></code>[<code class="xref py py-class docutils literal notranslate"><span class="pre">bool</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">int</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">float</span></code>]]) – predicted classes or similarity scores</p></li> | ||
</ul> | ||
</dd> | ||
<dt class="field-even">Return type</dt> | ||
|
@@ -245,15 +245,15 @@ <h1>detection_error_tradeoff()<a class="headerlink" href="#detection-error-trade | |
|
||
|
||
|
||
Built with <a href="https://www.sphinx-doc.org/en/master/">Sphinx</a> on 2023/05/08 using the <a href="https://github.com/audeering/sphinx-audeering-theme/">audEERING theme</a> | ||
Built with <a href="https://www.sphinx-doc.org/en/master/">Sphinx</a> on 2024/02/28 using the <a href="https://github.com/audeering/sphinx-audeering-theme/">audEERING theme</a> | ||
|
||
</p> | ||
</div> | ||
|
||
<div role="contentinfo"> | ||
<p> | ||
|
||
© 2019-2023 audEERING GmbH | ||
© 2019-2024 audEERING GmbH | ||
</p> | ||
</div> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" /> | ||
<link rel="stylesheet" href="../_static/css/audeering.css" type="text/css" /> | ||
<link rel="stylesheet" href="../_static/copybutton.css" type="text/css" /> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected].4/dist/katex.min.css" type="text/css" /> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected].9/dist/katex.min.css" type="text/css" /> | ||
<link rel="stylesheet" href="../_static/katex-math.css" type="text/css" /> | ||
<link rel="index" title="Index" href="../genindex.html" /> | ||
<link rel="search" title="Search" href="../search.html" /> | ||
|
@@ -67,7 +67,7 @@ | |
|
||
|
||
<div class="version"> | ||
v1.2.0 | ||
v1.2.1 | ||
</div> | ||
|
||
|
||
|
@@ -186,8 +186,8 @@ <h1>edit_distance()<a class="headerlink" href="#edit-distance" title="Permalink | |
</dd> | ||
</dl> | ||
<p class="rubric">Examples</p> | ||
<div class="doctest highlight-default notranslate"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">truth</span> <span class="o">=</span> <span class="s1">'lorem'</span> | ||
<span class="gp">>>> </span><span class="n">prediction</span> <span class="o">=</span> <span class="s1">'lorm'</span> | ||
<div class="doctest highlight-default notranslate"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">truth</span> <span class="o">=</span> <span class="s2">"lorem"</span> | ||
<span class="gp">>>> </span><span class="n">prediction</span> <span class="o">=</span> <span class="s2">"lorm"</span> | ||
<span class="gp">>>> </span><span class="n">edit_distance</span><span class="p">(</span><span class="n">truth</span><span class="p">,</span> <span class="n">prediction</span><span class="p">)</span> | ||
<span class="go">1</span> | ||
<span class="gp">>>> </span><span class="n">truth</span> <span class="o">=</span> <span class="p">[</span><span class="mi">0</span><span class="p">,</span> <span class="mi">1</span><span class="p">,</span> <span class="mi">2</span><span class="p">]</span> | ||
|
@@ -223,15 +223,15 @@ <h1>edit_distance()<a class="headerlink" href="#edit-distance" title="Permalink | |
|
||
|
||
|
||
Built with <a href="https://www.sphinx-doc.org/en/master/">Sphinx</a> on 2023/05/08 using the <a href="https://github.com/audeering/sphinx-audeering-theme/">audEERING theme</a> | ||
Built with <a href="https://www.sphinx-doc.org/en/master/">Sphinx</a> on 2024/02/28 using the <a href="https://github.com/audeering/sphinx-audeering-theme/">audEERING theme</a> | ||
|
||
</p> | ||
</div> | ||
|
||
<div role="contentinfo"> | ||
<p> | ||
|
||
© 2019-2023 audEERING GmbH | ||
© 2019-2024 audEERING GmbH | ||
</p> | ||
</div> | ||
|
||
|
Oops, something went wrong.