Skip to content

Commit

Permalink
minor tweaks in documenation of mse and mae
Browse files Browse the repository at this point in the history
  • Loading branch information
cjekel committed Aug 6, 2022
1 parent 79e5ed5 commit 83dd839
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions docs/similaritymeasures.html
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ <h1 class="title">Module <code>similaritymeasures.similaritymeasures</code></h1>

def mae(exp_data, num_data):
&#34;&#34;&#34;
Compute the Mean Absolute distance.
Compute the Mean Absolute Error (MAE).

This computes the mean of absolute values of distances between two curves.
Each curve must have the same number of data points and the same dimension.
Expand All @@ -935,9 +935,9 @@ <h1 class="title">Module <code>similaritymeasures.similaritymeasures</code></h1>

def mse(exp_data, num_data):
&#34;&#34;&#34;
Compute the Mean Squared distance.
Compute the Mean Squared Error (MAE).

This computes the mean of Sqaured distances between two curves.
This computes the mean of sqaured distances between two curves.
Each curve must have the same number of data points and the same dimension.

Parameters
Expand Down Expand Up @@ -1934,7 +1934,7 @@ <h2 id="returns">Returns</h2>
<span>def <span class="ident">mae</span></span>(<span>exp_data, num_data)</span>
</code></dt>
<dd>
<div class="desc"><p>Compute the Mean Absolute distance.</p>
<div class="desc"><p>Compute the Mean Absolute Error (MAE).</p>
<p>This computes the mean of absolute values of distances between two curves.
Each curve must have the same number of data points and the same dimension.</p>
<h2 id="parameters">Parameters</h2>
Expand All @@ -1957,7 +1957,7 @@ <h2 id="returns">Returns</h2>
</summary>
<pre><code class="python">def mae(exp_data, num_data):
&#34;&#34;&#34;
Compute the Mean Absolute distance.
Compute the Mean Absolute Error (MAE).

This computes the mean of absolute values of distances between two curves.
Each curve must have the same number of data points and the same dimension.
Expand Down Expand Up @@ -2080,8 +2080,8 @@ <h2 id="notes">Notes</h2>
<span>def <span class="ident">mse</span></span>(<span>exp_data, num_data)</span>
</code></dt>
<dd>
<div class="desc"><p>Compute the Mean Squared distance.</p>
<p>This computes the mean of Sqaured distances between two curves.
<div class="desc"><p>Compute the Mean Squared Error (MAE).</p>
<p>This computes the mean of sqaured distances between two curves.
Each curve must have the same number of data points and the same dimension.</p>
<h2 id="parameters">Parameters</h2>
<dl>
Expand All @@ -2103,9 +2103,9 @@ <h2 id="returns">Returns</h2>
</summary>
<pre><code class="python">def mse(exp_data, num_data):
&#34;&#34;&#34;
Compute the Mean Squared distance.
Compute the Mean Squared Error (MAE).

This computes the mean of Sqaured distances between two curves.
This computes the mean of sqaured distances between two curves.
Each curve must have the same number of data points and the same dimension.

Parameters
Expand Down
6 changes: 3 additions & 3 deletions similaritymeasures/similaritymeasures.py
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@ def dtw_path(d):

def mae(exp_data, num_data):
"""
Compute the Mean Absolute distance.
Compute the Mean Absolute Error (MAE).
This computes the mean of absolute values of distances between two curves.
Each curve must have the same number of data points and the same dimension.
Expand All @@ -907,9 +907,9 @@ def mae(exp_data, num_data):

def mse(exp_data, num_data):
"""
Compute the Mean Squared distance.
Compute the Mean Squared Error (MAE).
This computes the mean of Sqaured distances between two curves.
This computes the mean of sqaured distances between two curves.
Each curve must have the same number of data points and the same dimension.
Parameters
Expand Down

0 comments on commit 83dd839

Please sign in to comment.