Skip to content

Commit

Permalink
Update documentation for 0.3.0 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
romanwerpachowski committed Aug 31, 2020
1 parent a95639d commit 79d908c
Show file tree
Hide file tree
Showing 138 changed files with 5,704 additions and 1,105 deletions.
2 changes: 2 additions & 0 deletions ML/doc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
C++ library with efficient implementations of selected machine learning algorithms.
Current version: 0.3.0
(C) 2020 <a href="mailto:roman.werpachowski@gmail.com">Roman Werpachowski</a>.
Project webpage: https://romanwerpachowski.github.io/ML/
Expand Down
75 changes: 55 additions & 20 deletions docs/html/Clustering_8hpp_source.html

Large diffs are not rendered by default.

67 changes: 51 additions & 16 deletions docs/html/Crossvalidation_8hpp_source.html

Large diffs are not rendered by default.

120 changes: 77 additions & 43 deletions docs/html/DecisionTreeNodes_8hpp_source.html

Large diffs are not rendered by default.

116 changes: 75 additions & 41 deletions docs/html/DecisionTree_8hpp_source.html

Large diffs are not rendered by default.

75 changes: 55 additions & 20 deletions docs/html/DecisionTrees_8hpp_source.html

Large diffs are not rendered by default.

83 changes: 59 additions & 24 deletions docs/html/EM_8hpp_source.html

Large diffs are not rendered by default.

78 changes: 59 additions & 19 deletions docs/html/LinearRegression_8hpp_source.html

Large diffs are not rendered by default.

120 changes: 120 additions & 0 deletions docs/html/RecursiveMultivariateOLS_8hpp_source.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ML: RecursiveMultivariateOLS.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ML
</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('RecursiveMultivariateOLS_8hpp_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
<div class="headertitle">
<div class="title">RecursiveMultivariateOLS.hpp</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/* (C) 2020 Roman Werpachowski. */</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="preprocessor">#include &lt;Eigen/Cholesky&gt;</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="preprocessor">#include &quot;LinearRegression.hpp&quot;</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;</div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceml.html">ml</a></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;{</div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160; <span class="keyword">namespace </span>LinearRegression</div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160; {</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="classml_1_1LinearRegression_1_1RecursiveMultivariateOLS.html"> 24</a></span>&#160; <span class="keyword">class </span><a class="code" href="classml_1_1LinearRegression_1_1RecursiveMultivariateOLS.html">RecursiveMultivariateOLS</a></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; {</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; DLL_DECLSPEC <a class="code" href="classml_1_1LinearRegression_1_1RecursiveMultivariateOLS.html#abeef4f383bd42d1c42aa455512f3c471">RecursiveMultivariateOLS</a>();</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; DLL_DECLSPEC <a class="code" href="classml_1_1LinearRegression_1_1RecursiveMultivariateOLS.html#abeef4f383bd42d1c42aa455512f3c471">RecursiveMultivariateOLS</a>(Eigen::Ref&lt;const Eigen::MatrixXd&gt; X, Eigen::Ref&lt;const Eigen::VectorXd&gt; y);</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; DLL_DECLSPEC <span class="keywordtype">void</span> <a class="code" href="classml_1_1LinearRegression_1_1RecursiveMultivariateOLS.html#a459f258fd086528bf1e06f3eac5b99d5">update</a>(Eigen::Ref&lt;const Eigen::MatrixXd&gt; X, Eigen::Ref&lt;const Eigen::VectorXd&gt; y);</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="classml_1_1LinearRegression_1_1RecursiveMultivariateOLS.html#a29fea80582f61a1235ed0efedb0a72f4"> 46</a></span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classml_1_1LinearRegression_1_1RecursiveMultivariateOLS.html#a29fea80582f61a1235ed0efedb0a72f4">n</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <span class="keywordflow">return</span> n_;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; }</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classml_1_1LinearRegression_1_1RecursiveMultivariateOLS.html#a55e966b13a29c52c5dacf0295948b574"> 52</a></span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classml_1_1LinearRegression_1_1RecursiveMultivariateOLS.html#a55e966b13a29c52c5dacf0295948b574">d</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="keywordflow">return</span> d_;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; }</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classml_1_1LinearRegression_1_1RecursiveMultivariateOLS.html#ab5db1361876165a60fa6ccd4c519d29c"> 58</a></span>&#160; <span class="keyword">const</span> Eigen::VectorXd&amp; <a class="code" href="classml_1_1LinearRegression_1_1RecursiveMultivariateOLS.html#ab5db1361876165a60fa6ccd4c519d29c">beta</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="keywordflow">return</span> beta_;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; }</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; Eigen::LDLT&lt;Eigen::MatrixXd&gt; helper_decomp_; </div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; Eigen::MatrixXd P_; </div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; Eigen::MatrixXd K_; </div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; Eigen::MatrixXd W_; </div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; Eigen::MatrixXd V_; </div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; Eigen::VectorXd beta_; </div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; Eigen::VectorXd residuals_; </div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> n_; </div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> d_; </div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <span class="keywordtype">void</span> initialise(Eigen::Ref&lt;const Eigen::MatrixXd&gt; X, Eigen::Ref&lt;const Eigen::VectorXd&gt; y);</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; };</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; }</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;}</div><div class="ttc" id="classml_1_1LinearRegression_1_1RecursiveMultivariateOLS_html_a29fea80582f61a1235ed0efedb0a72f4"><div class="ttname"><a href="classml_1_1LinearRegression_1_1RecursiveMultivariateOLS.html#a29fea80582f61a1235ed0efedb0a72f4">ml::LinearRegression::RecursiveMultivariateOLS::n</a></div><div class="ttdeci">unsigned int n() const</div><div class="ttdoc">Returns the number of data points seen so far. </div><div class="ttdef"><b>Definition:</b> RecursiveMultivariateOLS.hpp:46</div></div>
<div class="ttc" id="classml_1_1LinearRegression_1_1RecursiveMultivariateOLS_html_a55e966b13a29c52c5dacf0295948b574"><div class="ttname"><a href="classml_1_1LinearRegression_1_1RecursiveMultivariateOLS.html#a55e966b13a29c52c5dacf0295948b574">ml::LinearRegression::RecursiveMultivariateOLS::d</a></div><div class="ttdeci">unsigned int d() const</div><div class="ttdoc">Returns the dimension of data points. If n() == 0, returs 0. </div><div class="ttdef"><b>Definition:</b> RecursiveMultivariateOLS.hpp:52</div></div>
<div class="ttc" id="classml_1_1LinearRegression_1_1RecursiveMultivariateOLS_html_abeef4f383bd42d1c42aa455512f3c471"><div class="ttname"><a href="classml_1_1LinearRegression_1_1RecursiveMultivariateOLS.html#abeef4f383bd42d1c42aa455512f3c471">ml::LinearRegression::RecursiveMultivariateOLS::RecursiveMultivariateOLS</a></div><div class="ttdeci">RecursiveMultivariateOLS()</div><div class="ttdoc">Initialises without data. </div></div>
<div class="ttc" id="classml_1_1LinearRegression_1_1RecursiveMultivariateOLS_html_a459f258fd086528bf1e06f3eac5b99d5"><div class="ttname"><a href="classml_1_1LinearRegression_1_1RecursiveMultivariateOLS.html#a459f258fd086528bf1e06f3eac5b99d5">ml::LinearRegression::RecursiveMultivariateOLS::update</a></div><div class="ttdeci">void update(Eigen::Ref&lt; const Eigen::MatrixXd &gt; X, Eigen::Ref&lt; const Eigen::VectorXd &gt; y)</div><div class="ttdoc">Updates the beta estimate with a new sample. </div></div>
<div class="ttc" id="classml_1_1LinearRegression_1_1RecursiveMultivariateOLS_html"><div class="ttname"><a href="classml_1_1LinearRegression_1_1RecursiveMultivariateOLS.html">ml::LinearRegression::RecursiveMultivariateOLS</a></div><div class="ttdoc">Recursive multivariate Ordinary Least Squares. </div><div class="ttdef"><b>Definition:</b> RecursiveMultivariateOLS.hpp:24</div></div>
<div class="ttc" id="classml_1_1LinearRegression_1_1RecursiveMultivariateOLS_html_ab5db1361876165a60fa6ccd4c519d29c"><div class="ttname"><a href="classml_1_1LinearRegression_1_1RecursiveMultivariateOLS.html#ab5db1361876165a60fa6ccd4c519d29c">ml::LinearRegression::RecursiveMultivariateOLS::beta</a></div><div class="ttdeci">const Eigen::VectorXd &amp; beta() const</div><div class="ttdoc">Returns the current estimate of beta. If n() == 0, returns an empty vector. </div><div class="ttdef"><b>Definition:</b> RecursiveMultivariateOLS.hpp:58</div></div>
<div class="ttc" id="namespaceml_html"><div class="ttname"><a href="namespaceml.html">ml</a></div><div class="ttdef"><b>Definition:</b> Clustering.hpp:8</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><b>RecursiveMultivariateOLS.hpp</b></li>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
</div>
</body>
</html>
75 changes: 55 additions & 20 deletions docs/html/Statistics_8hpp_source.html

Large diffs are not rendered by default.

117 changes: 117 additions & 0 deletions docs/html/Version_8hpp.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ML: Version.hpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ML
</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('Version_8hpp.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
<div class="headertitle">
<div class="title">Version.hpp File Reference</div> </div>
</div><!--header-->
<div class="contents">

<p><a href="Version_8hpp_source.html">Go to the source code of this file.</a></p>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Defines the current version of the library. </p>
</div></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="Version_8hpp.html">Version.hpp</a></li>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
</ul>
</div>
</body>
</html>
Loading

0 comments on commit 79d908c

Please sign in to comment.