Skip to content

Commit

Permalink
Merge pull request #266 from hosseinmoein/Hossein/Normalize
Browse files Browse the repository at this point in the history
Generalizing Normalization
  • Loading branch information
hosseinmoein authored Nov 7, 2023
2 parents 3c38c12 + f4810da commit 742f95b
Show file tree
Hide file tree
Showing 6 changed files with 531 additions and 54 deletions.
6 changes: 5 additions & 1 deletion docs/HTML/DataFrame.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//<!--
<!--
Copyright (c) 2019-2026, Hossein Moein
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -1231,6 +1231,10 @@ <H2><font color="blue">API Reference with code samples</font></H2>
<td title="NaN policies">enum class <a href="https://htmlpreview.github.io/?https://github.com/hosseinmoein/DataFrame/blob/master/docs/HTML/nan_policy.html">nan_policy</a>{ }</td>
</tr>

<tr class="item" onmouseover="this.style.backgroundColor='#ffff66';" onmouseout="this.style.backgroundColor='#d4e3e5';">
<td title="Normalization types">enum class <a href="https://htmlpreview.github.io/?https://github.com/hosseinmoein/DataFrame/blob/master/docs/HTML/NormalizeVisitor.html">normalization_type</a>{ }</td>
</tr>

<tr class="item" onmouseover="this.style.backgroundColor='#ffff66';" onmouseout="this.style.backgroundColor='#d4e3e5';">
<td title="Pattern types">enum class <a href="https://htmlpreview.github.io/?https://github.com/hosseinmoein/DataFrame/blob/master/docs/HTML/pattern_spec.html">pattern_spec</a>{ }</td>
</tr>
Expand Down
3 changes: 2 additions & 1 deletion docs/HTML/MeanVisitor.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@
<td>
This functor class calculates quadratic mean or root mean square. It gives a greater weight to larger items and is always equal to or greater than the “regular” arithmetic mean<BR>
The mean is calculated as &radic;<span style="text-decoration:overline;">(X0<sup>2</sup> + X1<sup>2</sup> + ... + Xn-1<sup>2</sup>) / n</span><BR>
The constructor takes a single optional Boolean argument to whether skip NaN values. The default is True. <BR>
The constructor takes a single optional Boolean argument to whether skip NaN values. The default is True.<BR><BR>
In addition to <I>get_result()</I>, this visitor also has <I>get_euclidean_norm()</I> that returns &radic;<span style="text-decoration:overline;">X0<sup>2</sup> + X1<sup>2</sup> + ... + Xn-1<sup>2</sup></span><BR>
</td>
<td width="12%">
<B>T</B>: Column data type<BR>
Expand Down
Loading

0 comments on commit 742f95b

Please sign in to comment.