http://git-wip-us.apache.org/repos/asf/madlib-site/blob/e283664c/docs/v1.14/cross__validation_8sql__in.html
----------------------------------------------------------------------
diff --git a/docs/v1.14/cross__validation_8sql__in.html 
b/docs/v1.14/cross__validation_8sql__in.html
new file mode 100644
index 0000000..5d0c8b1
--- /dev/null
+++ b/docs/v1.14/cross__validation_8sql__in.html
@@ -0,0 +1,710 @@
+<!-- HTML header for doxygen 1.8.4-->
+<!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="keywords" content="madlib,postgres,greenplum,machine learning,data 
mining,deep learning,ensemble methods,data science,market basket 
analysis,affinity analysis,pca,lda,regression,elastic net,huber 
white,proportional hazards,k-means,latent dirichlet allocation,bayes,support 
vector machines,svm"/>
+<title>MADlib: cross_validation.sql_in 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>
+<!-- hack in the navigation tree -->
+<script type="text/javascript" src="eigen_navtree_hacks.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+<link href="madlib_extra.css" rel="stylesheet" type="text/css"/>
+<!-- google analytics -->
+<script>
+  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new 
Date();a=s.createElement(o),
+  
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+  ga('create', 'UA-45382226-1', 'madlib.apache.org');
+  ga('send', 'pageview');
+</script>
+</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="projectlogo"><a href="http://madlib.apache.org";><img alt="Logo" 
src="madlib.png" height="50" style="padding-left:0.5em;" border="0"/ ></a></td>
+  <td style="padding-left: 0.5em;">
+   <div id="projectname">
+   <span id="projectnumber">1.14</span>
+   </div>
+   <div id="projectbrief">User Documentation for Apache MADlib</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('cross__validation_8sql__in.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="summary">
+<a href="#func-members">Functions</a>  </div>
+  <div class="headertitle">
+<div class="title">cross_validation.sql_in File Reference</div>  </div>
+</div><!--header-->
+<div class="contents">
+
+<p>SQL functions for cross validation.  
+<a href="#details">More...</a></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a 
name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:a2a7791b05f51e8748ab7b6ccf328a7e2"><td class="memItemLeft" 
align="right" valign="top">void&#160;</td><td class="memItemRight" 
valign="bottom"><a class="el" 
href="cross__validation_8sql__in.html#a2a7791b05f51e8748ab7b6ccf328a7e2">cross_validation_general</a>
 (varchar modelling_func, varchar[] modelling_params, varchar[] 
modelling_params_type, varchar param_explored, varchar[] explore_values, 
varchar predict_func, varchar[] predict_params, varchar[] predict_params_type, 
varchar metric_func, varchar[] metric_params, varchar[] metric_params_type, 
varchar data_tbl, varchar data_id, boolean id_is_random, varchar 
validation_result, varchar[] data_cols, integer n_folds)</td></tr>
+<tr class="separator:a2a7791b05f51e8748ab7b6ccf328a7e2"><td 
class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a5efbb27898e99f7685816d9d5dfd082c"><td class="memItemLeft" 
align="right" valign="top">void&#160;</td><td class="memItemRight" 
valign="bottom"><a class="el" 
href="cross__validation_8sql__in.html#a5efbb27898e99f7685816d9d5dfd082c">cross_validation_general</a>
 (varchar modelling_func, varchar[] modelling_params, varchar[] 
modelling_params_type, varchar param_explored, varchar[] explore_values, 
varchar predict_func, varchar[] predict_params, varchar[] predict_params_type, 
varchar metric_func, varchar[] metric_params, varchar[] metric_params_type, 
varchar data_tbl, varchar data_id, boolean id_is_random, varchar 
validation_result, varchar[] data_cols)</td></tr>
+<tr class="separator:a5efbb27898e99f7685816d9d5dfd082c"><td 
class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:aa151eb3fa9acc7f4cc33236e22ad4362"><td class="memItemLeft" 
align="right" valign="top">void&#160;</td><td class="memItemRight" 
valign="bottom"><a class="el" 
href="cross__validation_8sql__in.html#aa151eb3fa9acc7f4cc33236e22ad4362">cv_linregr_train</a>
 (varchar tbl_source, varchar col_ind_var, varchar col_dep_var, varchar 
tbl_result)</td></tr>
+<tr class="memdesc:aa151eb3fa9acc7f4cc33236e22ad4362"><td 
class="mdescLeft">&#160;</td><td class="mdescRight">A wrapper for linear 
regression.  <a href="#aa151eb3fa9acc7f4cc33236e22ad4362">More...</a><br 
/></td></tr>
+<tr class="separator:aa151eb3fa9acc7f4cc33236e22ad4362"><td 
class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:aa572f1f57c0dd106b30948928161d8cc"><td class="memItemLeft" 
align="right" valign="top">void&#160;</td><td class="memItemRight" 
valign="bottom"><a class="el" 
href="cross__validation_8sql__in.html#aa572f1f57c0dd106b30948928161d8cc">cv_linregr_predict</a>
 (varchar tbl_model, varchar tbl_newdata, varchar col_ind_var, varchar col_id, 
varchar tbl_predict)</td></tr>
+<tr class="memdesc:aa572f1f57c0dd106b30948928161d8cc"><td 
class="mdescLeft">&#160;</td><td class="mdescRight">A wrapper for linear 
regression prediction.  <a 
href="#aa572f1f57c0dd106b30948928161d8cc">More...</a><br /></td></tr>
+<tr class="separator:aa572f1f57c0dd106b30948928161d8cc"><td 
class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a2cd71e756f90b0c4fa46f508a1ca261e"><td class="memItemLeft" 
align="right" valign="top">void&#160;</td><td class="memItemRight" 
valign="bottom"><a class="el" 
href="cross__validation_8sql__in.html#a2cd71e756f90b0c4fa46f508a1ca261e">mse_error</a>
 (varchar tbl_prediction, varchar tbl_actual, varchar id_actual, varchar 
values_actual, varchar tbl_error)</td></tr>
+<tr class="separator:a2cd71e756f90b0c4fa46f508a1ca261e"><td 
class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ad01cd1c97ae1be0ac7cd6c42abb75bb2"><td class="memItemLeft" 
align="right" valign="top">void&#160;</td><td class="memItemRight" 
valign="bottom"><a class="el" 
href="cross__validation_8sql__in.html#ad01cd1c97ae1be0ac7cd6c42abb75bb2">misclassification_avg</a>
 (varchar tbl_prediction, varchar tbl_actual, varchar id_actual, varchar 
values_actual, varchar tbl_error)</td></tr>
+<tr class="separator:ad01cd1c97ae1be0ac7cd6c42abb75bb2"><td 
class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ac7dbc115f0c4624ccbf62b2d5494388d"><td class="memItemLeft" 
align="right" valign="top">void&#160;</td><td class="memItemRight" 
valign="bottom"><a class="el" 
href="cross__validation_8sql__in.html#ac7dbc115f0c4624ccbf62b2d5494388d">cv_logregr_predict</a>
 (varchar tbl_model, varchar tbl_newdata, varchar col_ind_var, varchar col_id, 
varchar tbl_predict)</td></tr>
+<tr class="memdesc:ac7dbc115f0c4624ccbf62b2d5494388d"><td 
class="mdescLeft">&#160;</td><td class="mdescRight">A prediction function for 
logistic regression The result is stored in the table of tbl_predict.  <a 
href="#ac7dbc115f0c4624ccbf62b2d5494388d">More...</a><br /></td></tr>
+<tr class="separator:ac7dbc115f0c4624ccbf62b2d5494388d"><td 
class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a2d1571ffa794176a5dfed9d35e70fed7"><td class="memItemLeft" 
align="right" valign="top">integer&#160;</td><td class="memItemRight" 
valign="bottom"><a class="el" 
href="cross__validation_8sql__in.html#a2d1571ffa794176a5dfed9d35e70fed7">logregr_accuracy</a>
 (float8[] coef, float8[] col_ind, boolean col_dep)</td></tr>
+<tr class="memdesc:a2d1571ffa794176a5dfed9d35e70fed7"><td 
class="mdescLeft">&#160;</td><td class="mdescRight">Metric function for 
logistic regression.  <a 
href="#a2d1571ffa794176a5dfed9d35e70fed7">More...</a><br /></td></tr>
+<tr class="separator:a2d1571ffa794176a5dfed9d35e70fed7"><td 
class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ac1b5c57473ff672af45191c8d53f46ed"><td class="memItemLeft" 
align="right" valign="top">void&#160;</td><td class="memItemRight" 
valign="bottom"><a class="el" 
href="cross__validation_8sql__in.html#ac1b5c57473ff672af45191c8d53f46ed">cv_logregr_accuracy</a>
 (varchar tbl_predict, varchar tbl_source, varchar col_id, varchar col_dep_var, 
varchar tbl_accuracy)</td></tr>
+<tr class="memdesc:ac1b5c57473ff672af45191c8d53f46ed"><td 
class="mdescLeft">&#160;</td><td class="mdescRight">Metric function for 
logistic regression.  <a 
href="#ac1b5c57473ff672af45191c8d53f46ed">More...</a><br /></td></tr>
+<tr class="separator:ac1b5c57473ff672af45191c8d53f46ed"><td 
class="memSeparator" colspan="2">&#160;</td></tr>
+</table>
+<a name="details" id="details"></a><h2 class="groupheader">Detailed 
Description</h2>
+<div class="textblock"><dl class="section date"><dt>Date</dt><dd>January 
2011</dd></dl>
+<dl class="section see"><dt>See also</dt><dd>For a brief introduction to the 
usage of cross validation, see the module description <a class="el" 
href="group__grp__validation.html">Cross Validation</a>. </dd></dl>
+</div><h2 class="groupheader">Function Documentation</h2>
+<a id="a2a7791b05f51e8748ab7b6ccf328a7e2"></a>
+<h2 class="memtitle"><span class="permalink"><a 
href="#a2a7791b05f51e8748ab7b6ccf328a7e2">&#9670;&nbsp;</a></span>cross_validation_general()
 <span class="overload">[1/2]</span></h2>
+
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">void cross_validation_general </td>
+          <td>(</td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>modelling_func</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar []&#160;</td>
+          <td class="paramname"><em>modelling_params</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar []&#160;</td>
+          <td class="paramname"><em>modelling_params_type</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>param_explored</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar []&#160;</td>
+          <td class="paramname"><em>explore_values</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>predict_func</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar []&#160;</td>
+          <td class="paramname"><em>predict_params</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar []&#160;</td>
+          <td class="paramname"><em>predict_params_type</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>metric_func</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar []&#160;</td>
+          <td class="paramname"><em>metric_params</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar []&#160;</td>
+          <td class="paramname"><em>metric_params_type</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>data_tbl</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>data_id</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">boolean&#160;</td>
+          <td class="paramname"><em>id_is_random</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>validation_result</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar []&#160;</td>
+          <td class="paramname"><em>data_cols</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">integer&#160;</td>
+          <td class="paramname"><em>n_folds</em>&#160;</td>
+        </tr>
+        <tr>
+          <td></td>
+          <td>)</td>
+          <td></td><td></td>
+        </tr>
+      </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a5efbb27898e99f7685816d9d5dfd082c"></a>
+<h2 class="memtitle"><span class="permalink"><a 
href="#a5efbb27898e99f7685816d9d5dfd082c">&#9670;&nbsp;</a></span>cross_validation_general()
 <span class="overload">[2/2]</span></h2>
+
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">void cross_validation_general </td>
+          <td>(</td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>modelling_func</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar []&#160;</td>
+          <td class="paramname"><em>modelling_params</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar []&#160;</td>
+          <td class="paramname"><em>modelling_params_type</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>param_explored</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar []&#160;</td>
+          <td class="paramname"><em>explore_values</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>predict_func</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar []&#160;</td>
+          <td class="paramname"><em>predict_params</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar []&#160;</td>
+          <td class="paramname"><em>predict_params_type</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>metric_func</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar []&#160;</td>
+          <td class="paramname"><em>metric_params</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar []&#160;</td>
+          <td class="paramname"><em>metric_params_type</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>data_tbl</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>data_id</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">boolean&#160;</td>
+          <td class="paramname"><em>id_is_random</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>validation_result</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar []&#160;</td>
+          <td class="paramname"><em>data_cols</em>&#160;</td>
+        </tr>
+        <tr>
+          <td></td>
+          <td>)</td>
+          <td></td><td></td>
+        </tr>
+      </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="aa572f1f57c0dd106b30948928161d8cc"></a>
+<h2 class="memtitle"><span class="permalink"><a 
href="#aa572f1f57c0dd106b30948928161d8cc">&#9670;&nbsp;</a></span>cv_linregr_predict()</h2>
+
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">void cv_linregr_predict </td>
+          <td>(</td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>tbl_model</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>tbl_newdata</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>col_ind_var</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>col_id</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>tbl_predict</em>&#160;</td>
+        </tr>
+        <tr>
+          <td></td>
+          <td>)</td>
+          <td></td><td></td>
+        </tr>
+      </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="aa151eb3fa9acc7f4cc33236e22ad4362"></a>
+<h2 class="memtitle"><span class="permalink"><a 
href="#aa151eb3fa9acc7f4cc33236e22ad4362">&#9670;&nbsp;</a></span>cv_linregr_train()</h2>
+
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">void cv_linregr_train </td>
+          <td>(</td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>tbl_source</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>col_ind_var</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>col_dep_var</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>tbl_result</em>&#160;</td>
+        </tr>
+        <tr>
+          <td></td>
+          <td>)</td>
+          <td></td><td></td>
+        </tr>
+      </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="ac1b5c57473ff672af45191c8d53f46ed"></a>
+<h2 class="memtitle"><span class="permalink"><a 
href="#ac1b5c57473ff672af45191c8d53f46ed">&#9670;&nbsp;</a></span>cv_logregr_accuracy()</h2>
+
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">void cv_logregr_accuracy </td>
+          <td>(</td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>tbl_predict</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>tbl_source</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>col_id</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>col_dep_var</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>tbl_accuracy</em>&#160;</td>
+        </tr>
+        <tr>
+          <td></td>
+          <td>)</td>
+          <td></td><td></td>
+        </tr>
+      </table>
+</div><div class="memdoc">
+<p>It computes the percentage of correct predictions. The result is stored in 
the table of tbl_accuracy </p>
+
+</div>
+</div>
+<a id="ac7dbc115f0c4624ccbf62b2d5494388d"></a>
+<h2 class="memtitle"><span class="permalink"><a 
href="#ac7dbc115f0c4624ccbf62b2d5494388d">&#9670;&nbsp;</a></span>cv_logregr_predict()</h2>
+
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">void cv_logregr_predict </td>
+          <td>(</td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>tbl_model</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>tbl_newdata</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>col_ind_var</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>col_id</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>tbl_predict</em>&#160;</td>
+        </tr>
+        <tr>
+          <td></td>
+          <td>)</td>
+          <td></td><td></td>
+        </tr>
+      </table>
+</div><div class="memdoc">
+<p>This function can be used together with cross-validation </p>
+
+</div>
+</div>
+<a id="a2d1571ffa794176a5dfed9d35e70fed7"></a>
+<h2 class="memtitle"><span class="permalink"><a 
href="#a2d1571ffa794176a5dfed9d35e70fed7">&#9670;&nbsp;</a></span>logregr_accuracy()</h2>
+
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">integer logregr_accuracy </td>
+          <td>(</td>
+          <td class="paramtype">float8 []&#160;</td>
+          <td class="paramname"><em>coef</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">float8 []&#160;</td>
+          <td class="paramname"><em>col_ind</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">boolean&#160;</td>
+          <td class="paramname"><em>col_dep</em>&#160;</td>
+        </tr>
+        <tr>
+          <td></td>
+          <td>)</td>
+          <td></td><td></td>
+        </tr>
+      </table>
+</div><div class="memdoc">
+<dl class="params"><dt>Parameters</dt><dd>
+  <table class="params">
+    <tr><td class="paramname">coef</td><td>Logistic fitting coefficients. 
Note: MADlib logregr_train function, unlike elastic_net, does not produce a 
separate intercept term. </td></tr>
+    <tr><td class="paramname">col_ind</td><td>Independent variable, an array 
</td></tr>
+    <tr><td class="paramname">col_dep</td><td>Dependent variable</td></tr>
+  </table>
+  </dd>
+</dl>
+<p>returns 1 if the prediction is the same as col_dep, otherwise 0 </p>
+
+</div>
+</div>
+<a id="ad01cd1c97ae1be0ac7cd6c42abb75bb2"></a>
+<h2 class="memtitle"><span class="permalink"><a 
href="#ad01cd1c97ae1be0ac7cd6c42abb75bb2">&#9670;&nbsp;</a></span>misclassification_avg()</h2>
+
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">void misclassification_avg </td>
+          <td>(</td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>tbl_prediction</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>tbl_actual</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>id_actual</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>values_actual</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>tbl_error</em>&#160;</td>
+        </tr>
+        <tr>
+          <td></td>
+          <td>)</td>
+          <td></td><td></td>
+        </tr>
+      </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+<a id="a2cd71e756f90b0c4fa46f508a1ca261e"></a>
+<h2 class="memtitle"><span class="permalink"><a 
href="#a2cd71e756f90b0c4fa46f508a1ca261e">&#9670;&nbsp;</a></span>mse_error()</h2>
+
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">void mse_error </td>
+          <td>(</td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>tbl_prediction</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>tbl_actual</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>id_actual</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>values_actual</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">varchar&#160;</td>
+          <td class="paramname"><em>tbl_error</em>&#160;</td>
+        </tr>
+        <tr>
+          <td></td>
+          <td>)</td>
+          <td></td><td></td>
+        </tr>
+      </table>
+</div><div class="memdoc">
+
+</div>
+</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="dir_5782bb6b417390b9b62f39df14784c0c.html">incubator-madlib</a></li><li 
class="navelem"><a class="el" 
href="dir_b6a04cbbf19cfc3536564b9928d4f3dc.html">src</a></li><li 
class="navelem"><a class="el" 
href="dir_71a41f8b7207fbbc465a4e4d95589314.html">ports</a></li><li 
class="navelem"><a class="el" 
href="dir_bae1ff22d939d9eb42c7df1d0670bc94.html">postgres</a></li><li 
class="navelem"><a class="el" 
href="dir_4ce76aedc0a361354a0cdf298ef8a21b.html">modules</a></li><li 
class="navelem"><a class="el" 
href="dir_5d9e5096d85eccd70738b30ca4156c1c.html">validation</a></li><li 
class="navelem"><a class="el" 
href="cross__validation_8sql__in.html">cross_validation.sql_in</a></li>
+    <li class="footer">Generated on Wed May 2 2018 13:00:11 for MADlib 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>

Reply via email to