-
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.
Update documentation for 0.3.0 release.
- Loading branch information
1 parent
a95639d
commit 79d908c
Showing
138 changed files
with
5,704 additions
and
1,105 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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -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> <span class="comment">/* (C) 2020 Roman Werpachowski. */</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="preprocessor">#include <Eigen/Cholesky></span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#include "LinearRegression.hpp"</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> </div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <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> {</div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  <span class="keyword">namespace </span>LinearRegression</div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  {</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="classml_1_1LinearRegression_1_1RecursiveMultivariateOLS.html"> 24</a></span>  <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>  {</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  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> </div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  DLL_DECLSPEC <a class="code" href="classml_1_1LinearRegression_1_1RecursiveMultivariateOLS.html#abeef4f383bd42d1c42aa455512f3c471">RecursiveMultivariateOLS</a>(Eigen::Ref<const Eigen::MatrixXd> X, Eigen::Ref<const Eigen::VectorXd> y);</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> </div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  DLL_DECLSPEC <span class="keywordtype">void</span> <a class="code" href="classml_1_1LinearRegression_1_1RecursiveMultivariateOLS.html#a459f258fd086528bf1e06f3eac5b99d5">update</a>(Eigen::Ref<const Eigen::MatrixXd> X, Eigen::Ref<const Eigen::VectorXd> y);</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </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>  <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> <span class="keyword"> </span>{</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordflow">return</span> n_;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  }</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> </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>  <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> <span class="keyword"> </span>{</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keywordflow">return</span> d_;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  }</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> </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>  <span class="keyword">const</span> Eigen::VectorXd& <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> <span class="keyword"> </span>{</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordflow">return</span> beta_;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  }</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  Eigen::LDLT<Eigen::MatrixXd> helper_decomp_; </div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  Eigen::MatrixXd P_; </div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  Eigen::MatrixXd K_; </div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  Eigen::MatrixXd W_; </div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  Eigen::MatrixXd V_; </div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  Eigen::VectorXd beta_; </div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  Eigen::VectorXd residuals_; </div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> n_; </div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> d_; </div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keywordtype">void</span> initialise(Eigen::Ref<const Eigen::MatrixXd> X, Eigen::Ref<const Eigen::VectorXd> y);</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  };</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  }</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> }</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< const Eigen::MatrixXd > X, Eigen::Ref< const Eigen::VectorXd > 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 & 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> |
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 |
---|---|---|
@@ -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> |
Oops, something went wrong.