You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@madlib.apache.org by xt...@apache.org on 2016/04/07 23:47:10 UTC

[07/51] [abbrv] [partial] incubator-madlib-site git commit: Update doc for 1.9 release

http://git-wip-us.apache.org/repos/asf/incubator-madlib-site/blob/c506dd05/docs/v1.9/c45_8sql__in.html
----------------------------------------------------------------------
diff --git a/docs/v1.9/c45_8sql__in.html b/docs/v1.9/c45_8sql__in.html
new file mode 100644
index 0000000..9fa1776
--- /dev/null
+++ b/docs/v1.9/c45_8sql__in.html
@@ -0,0 +1,745 @@
+<!-- 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.10"/>
+<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: c45.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);
+  $(window).load(resizeHeight);
+</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>
+<!-- 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.net');
+  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.net"><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.8dev</span>
+   </div>
+   <div id="projectbrief">User Documentation for 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.10 -->
+<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('c45_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">c45.sql_in File Reference</div>  </div>
+</div><!--header-->
+<div class="contents">
+
+<p>C4.5 APIs and main controller written in PL/PGSQL.  
+<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:a4fbee855d22101d15d195d573189eb98"><td class="memItemLeft" align="right" valign="top">c45_train_result&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="c45_8sql__in.html#a4fbee855d22101d15d195d573189eb98">c45_train</a> (text split_criterion, text training_table_name, text result_tree_table_name, text validation_table_name, text continuous_feature_names, text feature_col_names, text id_col_name, text class_col_name, float confidence_level, text how2handle_missing_value, int max_tree_depth, float node_prune_threshold, float node_split_threshold, int verbosity)</td></tr>
+<tr class="memdesc:a4fbee855d22101d15d195d573189eb98"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is the long form API of training tree with all specified parameters.  <a href="#a4fbee855d22101d15d195d573189eb98">More...</a><br /></td></tr>
+<tr class="separator:a4fbee855d22101d15d195d573189eb98"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a6c039416b94686b915e2a4c1133a5d44"><td class="memItemLeft" align="right" valign="top">c45_train_result&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="c45_8sql__in.html#a6c039416b94686b915e2a4c1133a5d44">c45_train</a> (text split_criterion, text training_table_name, text result_tree_table_name, text validation_table_name, text continuous_feature_names, text feature_col_names, text id_col_name, text class_col_name, float confidence_level, text how2handle_missing_value)</td></tr>
+<tr class="memdesc:a6c039416b94686b915e2a4c1133a5d44"><td class="mdescLeft">&#160;</td><td class="mdescRight">C45 train algorithm in short form.  <a href="#a6c039416b94686b915e2a4c1133a5d44">More...</a><br /></td></tr>
+<tr class="separator:a6c039416b94686b915e2a4c1133a5d44"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a18b30ff1a063e7cd16274bf7ab2a71dc"><td class="memItemLeft" align="right" valign="top">c45_train_result&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="c45_8sql__in.html#a18b30ff1a063e7cd16274bf7ab2a71dc">c45_train</a> (text split_criterion, text training_table_name, text result_tree_table_name)</td></tr>
+<tr class="memdesc:a18b30ff1a063e7cd16274bf7ab2a71dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">C45 train algorithm in short form.  <a href="#a18b30ff1a063e7cd16274bf7ab2a71dc">More...</a><br /></td></tr>
+<tr class="separator:a18b30ff1a063e7cd16274bf7ab2a71dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ac71787c47795b3b0b133cdbd37438242"><td class="memItemLeft" align="right" valign="top">set&lt; text &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="c45_8sql__in.html#ac71787c47795b3b0b133cdbd37438242">c45_genrule</a> (text tree_table_name, int verbosity)</td></tr>
+<tr class="memdesc:ac71787c47795b3b0b133cdbd37438242"><td class="mdescLeft">&#160;</td><td class="mdescRight">Display the trained decision tree model with rules.  <a href="#ac71787c47795b3b0b133cdbd37438242">More...</a><br /></td></tr>
+<tr class="separator:ac71787c47795b3b0b133cdbd37438242"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:acdba07d3897356a75666aa6d5999f490"><td class="memItemLeft" align="right" valign="top">set&lt; text &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="c45_8sql__in.html#acdba07d3897356a75666aa6d5999f490">c45_genrule</a> (text tree_table_name)</td></tr>
+<tr class="memdesc:acdba07d3897356a75666aa6d5999f490"><td class="mdescLeft">&#160;</td><td class="mdescRight">Display the trained decision tree model with rules.  <a href="#acdba07d3897356a75666aa6d5999f490">More...</a><br /></td></tr>
+<tr class="separator:acdba07d3897356a75666aa6d5999f490"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a32d2bcbc016c990991d77b6f6148306d"><td class="memItemLeft" align="right" valign="top">set&lt; text &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="c45_8sql__in.html#a32d2bcbc016c990991d77b6f6148306d">c45_display</a> (text tree_table, int max_depth)</td></tr>
+<tr class="memdesc:a32d2bcbc016c990991d77b6f6148306d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Display the trained decision tree model with human readable format.  <a href="#a32d2bcbc016c990991d77b6f6148306d">More...</a><br /></td></tr>
+<tr class="separator:a32d2bcbc016c990991d77b6f6148306d"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ad7f190eb8e5d53f4772fac699787c0fe"><td class="memItemLeft" align="right" valign="top">set&lt; text &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="c45_8sql__in.html#ad7f190eb8e5d53f4772fac699787c0fe">c45_display</a> (text tree_table)</td></tr>
+<tr class="memdesc:ad7f190eb8e5d53f4772fac699787c0fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Display the whole trained decision tree model with human readable format.  <a href="#ad7f190eb8e5d53f4772fac699787c0fe">More...</a><br /></td></tr>
+<tr class="separator:ad7f190eb8e5d53f4772fac699787c0fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:afe136e52f498f2ff9e2b91e38e29d670"><td class="memItemLeft" align="right" valign="top">c45_classify_result&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="c45_8sql__in.html#afe136e52f498f2ff9e2b91e38e29d670">c45_classify</a> (text tree_table_name, text classification_table_name, text result_table_name, int verbosity)</td></tr>
+<tr class="memdesc:afe136e52f498f2ff9e2b91e38e29d670"><td class="mdescLeft">&#160;</td><td class="mdescRight">Classify dataset using trained decision tree model. The classification result will be stored in the table which is defined as:  <a href="#afe136e52f498f2ff9e2b91e38e29d670">More...</a><br /></td></tr>
+<tr class="separator:afe136e52f498f2ff9e2b91e38e29d670"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:af5eb174eeecd11233409657221586cf1"><td class="memItemLeft" align="right" valign="top">c45_classify_result&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="c45_8sql__in.html#af5eb174eeecd11233409657221586cf1">c45_classify</a> (text tree_table_name, text classification_table_name, text result_table_name)</td></tr>
+<tr class="memdesc:af5eb174eeecd11233409657221586cf1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Classify dataset using trained decision tree model. It runs in quiet mode. The classification result will be stored in the table which is defined as:  <a href="#af5eb174eeecd11233409657221586cf1">More...</a><br /></td></tr>
+<tr class="separator:af5eb174eeecd11233409657221586cf1"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a1b634db47e9006d114da0987e80b9601"><td class="memItemLeft" align="right" valign="top">float8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="c45_8sql__in.html#a1b634db47e9006d114da0987e80b9601">c45_score</a> (text tree_table_name, text scoring_table_name, int verbosity)</td></tr>
+<tr class="memdesc:a1b634db47e9006d114da0987e80b9601"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check the accuracy of the decision tree model.  <a href="#a1b634db47e9006d114da0987e80b9601">More...</a><br /></td></tr>
+<tr class="separator:a1b634db47e9006d114da0987e80b9601"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:af0739749507c1097003dcf529d29fee2"><td class="memItemLeft" align="right" valign="top">float8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="c45_8sql__in.html#af0739749507c1097003dcf529d29fee2">c45_score</a> (text tree_table_name, text scoring_table_name)</td></tr>
+<tr class="memdesc:af0739749507c1097003dcf529d29fee2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check the accuracy of the decision tree model.  <a href="#af0739749507c1097003dcf529d29fee2">More...</a><br /></td></tr>
+<tr class="separator:af0739749507c1097003dcf529d29fee2"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ac25e17ecbc70149aa559018e718fc793"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="c45_8sql__in.html#ac25e17ecbc70149aa559018e718fc793">c45_clean</a> (text result_tree_table_name)</td></tr>
+<tr class="memdesc:ac25e17ecbc70149aa559018e718fc793"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cleanup the trained tree table and any relevant tables.  <a href="#ac25e17ecbc70149aa559018e718fc793">More...</a><br /></td></tr>
+<tr class="separator:ac25e17ecbc70149aa559018e718fc793"><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>April 5, 2012</dd></dl>
+<dl class="section see"><dt>See also</dt><dd>For a brief introduction to decision trees, see the module description <a class="el" href="group__grp__dectree.html">Decision Tree (old C4.5 implementation)</a>. </dd></dl>
+</div><h2 class="groupheader">Function Documentation</h2>
+<a class="anchor" id="afe136e52f498f2ff9e2b91e38e29d670"></a>
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">c45_classify_result c45_classify </td>
+          <td>(</td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>tree_table_name</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>classification_table_name</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>result_table_name</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">int&#160;</td>
+          <td class="paramname"><em>verbosity</em>&#160;</td>
+        </tr>
+        <tr>
+          <td></td>
+          <td>)</td>
+          <td></td><td></td>
+        </tr>
+      </table>
+</div><div class="memdoc">
+<p>CREATE TABLE classification_result ( id INT|BIGINT, class SUPPORTED_DATA_TYPE, prob FLOAT );</p>
+<dl class="params"><dt>Parameters</dt><dd>
+  <table class="params">
+    <tr><td class="paramname">tree_table_name</td><td>The name of trained tree. </td></tr>
+    <tr><td class="paramname">classification_table_name</td><td>The name of the table/view with the source data. </td></tr>
+    <tr><td class="paramname">result_table_name</td><td>The name of result table. </td></tr>
+    <tr><td class="paramname">verbosity</td><td>&gt; 0 means this function runs in verbose mode.</td></tr>
+  </table>
+  </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>A c45_classify_result object. </dd></dl>
+
+</div>
+</div>
+<a class="anchor" id="af5eb174eeecd11233409657221586cf1"></a>
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">c45_classify_result c45_classify </td>
+          <td>(</td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>tree_table_name</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>classification_table_name</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>result_table_name</em>&#160;</td>
+        </tr>
+        <tr>
+          <td></td>
+          <td>)</td>
+          <td></td><td></td>
+        </tr>
+      </table>
+</div><div class="memdoc">
+<p>CREATE TABLE classification_result ( id INT|BIGINT, class SUPPORTED_DATA_TYPE, prob FLOAT );</p>
+<dl class="params"><dt>Parameters</dt><dd>
+  <table class="params">
+    <tr><td class="paramname">tree_table_name</td><td>The name of trained tree. </td></tr>
+    <tr><td class="paramname">classification_table_name</td><td>The name of the table/view with the source data. </td></tr>
+    <tr><td class="paramname">result_table_name</td><td>The name of result table.</td></tr>
+  </table>
+  </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>A c45_classify_result object. </dd></dl>
+
+</div>
+</div>
+<a class="anchor" id="ac25e17ecbc70149aa559018e718fc793"></a>
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">boolean c45_clean </td>
+          <td>(</td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>result_tree_table_name</em></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">result_tree_table_name</td><td>The name of the table containing the tree's information.</td></tr>
+  </table>
+  </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>The status of that cleanup operation. </dd></dl>
+
+</div>
+</div>
+<a class="anchor" id="a32d2bcbc016c990991d77b6f6148306d"></a>
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">set&lt;text&gt; c45_display </td>
+          <td>(</td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>tree_table</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">int&#160;</td>
+          <td class="paramname"><em>max_depth</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">tree_table</td><td>The name of the table containing the tree's information. </td></tr>
+    <tr><td class="paramname">max_depth</td><td>The max depth to be displayed. If null, this function will show all levels.</td></tr>
+  </table>
+  </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>The text representing the tree with human readable format. </dd></dl>
+
+</div>
+</div>
+<a class="anchor" id="ad7f190eb8e5d53f4772fac699787c0fe"></a>
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">set&lt;text&gt; c45_display </td>
+          <td>(</td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>tree_table</em></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">tree_table</td><td>The name of the table containing the tree's information.</td></tr>
+  </table>
+  </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>The text representing the tree with human readable format. </dd></dl>
+
+</div>
+</div>
+<a class="anchor" id="ac71787c47795b3b0b133cdbd37438242"></a>
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">set&lt;text&gt; c45_genrule </td>
+          <td>(</td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>tree_table_name</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">int&#160;</td>
+          <td class="paramname"><em>verbosity</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">tree_table_name</td><td>The name of the table containing the tree's information. </td></tr>
+    <tr><td class="paramname">verbosity</td><td>If &gt;= 1 will run in verbose mode.</td></tr>
+  </table>
+  </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>The rule representation text for a decision tree. </dd></dl>
+
+</div>
+</div>
+<a class="anchor" id="acdba07d3897356a75666aa6d5999f490"></a>
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">set&lt;text&gt; c45_genrule </td>
+          <td>(</td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>tree_table_name</em></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">tree_table_name</td><td>The name of the table containing the tree's information.</td></tr>
+  </table>
+  </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>The rule representation text for a decision tree. </dd></dl>
+
+</div>
+</div>
+<a class="anchor" id="a1b634db47e9006d114da0987e80b9601"></a>
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">float8 c45_score </td>
+          <td>(</td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>tree_table_name</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>scoring_table_name</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">int&#160;</td>
+          <td class="paramname"><em>verbosity</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">tree_table_name</td><td>The name of the trained tree. </td></tr>
+    <tr><td class="paramname">scoring_table_name</td><td>The name of the table/view with the source data. </td></tr>
+    <tr><td class="paramname">verbosity</td><td>&gt; 0 means this function runs in verbose mode.</td></tr>
+  </table>
+  </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>The estimated accuracy information. </dd></dl>
+
+</div>
+</div>
+<a class="anchor" id="af0739749507c1097003dcf529d29fee2"></a>
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">float8 c45_score </td>
+          <td>(</td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>tree_table_name</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>scoring_table_name</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">tree_table_name</td><td>The name of the trained tree. </td></tr>
+    <tr><td class="paramname">scoring_table_name</td><td>The name of the table/view with the source data.</td></tr>
+  </table>
+  </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>The estimated accuracy information. </dd></dl>
+
+</div>
+</div>
+<a class="anchor" id="a4fbee855d22101d15d195d573189eb98"></a>
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">c45_train_result c45_train </td>
+          <td>(</td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>split_criterion</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>training_table_name</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>result_tree_table_name</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>validation_table_name</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>continuous_feature_names</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>feature_col_names</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>id_col_name</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>class_col_name</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">float&#160;</td>
+          <td class="paramname"><em>confidence_level</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>how2handle_missing_value</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">int&#160;</td>
+          <td class="paramname"><em>max_tree_depth</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">float&#160;</td>
+          <td class="paramname"><em>node_prune_threshold</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">float&#160;</td>
+          <td class="paramname"><em>node_split_threshold</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">int&#160;</td>
+          <td class="paramname"><em>verbosity</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">split_criterion</td><td>The name of the split criterion that should be used for tree construction. The valid values are ‘infogain’, ‘gainratio’, and ‘gini’. It can't be NULL. Information gain(infogain) and gini index(gini) are biased toward multivalued attributes. Gain ratio(gainratio) adjusts for this bias. However, it tends to prefer unbalanced splits in which one partition is much smaller than the others. </td></tr>
+    <tr><td class="paramname">training_table_name</td><td>The name of the table/view with the source data. </td></tr>
+    <tr><td class="paramname">result_tree_table_name</td><td>The name of the table where the resulting DT will be kept. </td></tr>
+    <tr><td class="paramname">validation_table_name</td><td>The name of the table/view that contains the validation set used for tree pruning. The default is NULL, in which case we will not do tree pruning. </td></tr>
+    <tr><td class="paramname">continuous_feature_names</td><td>A comma-separated list of the names of features whose values are continuous. The default is null, which means there are no continuous features in the training table. </td></tr>
+    <tr><td class="paramname">feature_col_names</td><td>A comma-separated list of the names of table columns, each of which defines a feature. The default value is null, which means all the columns in the training table, except columns named ‘id’ and ‘class’, will be used as features. </td></tr>
+    <tr><td class="paramname">id_col_name</td><td>The name of the column containing an ID for each record. </td></tr>
+    <tr><td class="paramname">class_col_name</td><td>The name of the column containing the labeled class. </td></tr>
+    <tr><td class="paramname">confidence_level</td><td>A statistical confidence interval of the resubstitution error. </td></tr>
+    <tr><td class="paramname">how2handle_missing_value</td><td>The way to handle missing value. The valid value is 'explicit' or 'ignore'. </td></tr>
+    <tr><td class="paramname">max_tree_depth</td><td>Specifies the maximum number of levels in the result DT to avoid overgrown DTs. </td></tr>
+    <tr><td class="paramname">node_prune_threshold</td><td>The minimum percentage of the number of records required in a child node. It can't be NULL. The range of it is in [0.0, 1.0]. This threshold only applies to the non-root nodes. Therefore, if its value is 1, then the trained tree only has one node (the root node); if its value is 0, then no nodes will be pruned by this parameter. </td></tr>
+    <tr><td class="paramname">node_split_threshold</td><td>The minimum percentage of the number of records required in a node in order for a further split to be possible. It can't be NULL. The range of it is in [0.0, 1.0]. If it's value is 1, then the trained tree only has two levels, since only the root node can grow; if its value is 0, then trees can grow extensively. </td></tr>
+    <tr><td class="paramname">verbosity</td><td>&gt; 0 means this function runs in verbose mode.</td></tr>
+  </table>
+  </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>An c45_train_result object. </dd></dl>
+
+</div>
+</div>
+<a class="anchor" id="a6c039416b94686b915e2a4c1133a5d44"></a>
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">c45_train_result c45_train </td>
+          <td>(</td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>split_criterion</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>training_table_name</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>result_tree_table_name</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>validation_table_name</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>continuous_feature_names</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>feature_col_names</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>id_col_name</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>class_col_name</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">float&#160;</td>
+          <td class="paramname"><em>confidence_level</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>how2handle_missing_value</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">split_criterion</td><td>The name of the split criterion that should be used for tree construction. Possible values are ‘gain’, ‘gainratio’, and ‘gini’. </td></tr>
+    <tr><td class="paramname">training_table_name</td><td>The name of the table/view with the source data. </td></tr>
+    <tr><td class="paramname">result_tree_table_name</td><td>The name of the table where the resulting DT will be kept. </td></tr>
+    <tr><td class="paramname">validation_table_name</td><td>The name of the table/view that contains the validation set used for tree pruning. The default is NULL, in which case we will not do tree pruning. </td></tr>
+    <tr><td class="paramname">continuous_feature_names</td><td>A comma-separated list of the names of features whose values are continuous. The default is null, which means there are no continuous features in the training table. </td></tr>
+    <tr><td class="paramname">feature_col_names</td><td>A comma-separated list of the names of table columns, each of which defines a feature. The default value is null, which means all the columns in the training table, except columns named ‘id’ and ‘class’, will be used as features. </td></tr>
+    <tr><td class="paramname">id_col_name</td><td>The name of the column containing an ID for each record. </td></tr>
+    <tr><td class="paramname">class_col_name</td><td>The name of the column containing the labeled class. </td></tr>
+    <tr><td class="paramname">confidence_level</td><td>A statistical confidence interval of the resubstitution error. </td></tr>
+    <tr><td class="paramname">how2handle_missing_value</td><td>The way to handle missing value. The valid value is 'explicit' or 'ignore'.</td></tr>
+  </table>
+  </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>An c45_train_result object.</dd></dl>
+<dl class="section note"><dt>Note</dt><dd>This calls the long form of C45 with the following default parameters:<ul>
+<li>max_tree_deapth := 10</li>
+<li>node_prune_threshold := 0.001</li>
+<li>node_split_threshold := 0.01</li>
+<li>verbosity := 0 </li>
+</ul>
+</dd></dl>
+
+</div>
+</div>
+<a class="anchor" id="a18b30ff1a063e7cd16274bf7ab2a71dc"></a>
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">c45_train_result c45_train </td>
+          <td>(</td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>split_criterion</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>training_table_name</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">text&#160;</td>
+          <td class="paramname"><em>result_tree_table_name</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">split_criterion</td><td>The name of the split criterion that should be used for tree construction. Possible values are ‘gain’, ‘gainratio’, and ‘gini’. </td></tr>
+    <tr><td class="paramname">training_table_name</td><td>The name of the table/view with the source data. </td></tr>
+    <tr><td class="paramname">result_tree_table_name</td><td>The name of the table where the resulting DT will be kept.</td></tr>
+  </table>
+  </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>An c45_train_result object.</dd></dl>
+<dl class="section note"><dt>Note</dt><dd>This calls the above short form of C45 with the following default parameters:<ul>
+<li>validation_table_name := NULL</li>
+<li>continuous_feature_names := NULL</li>
+<li>id_column_name := 'id'</li>
+<li>class_column_name := 'class'</li>
+<li>confidence_level := 25</li>
+<li>how2handle_missing_value := 'explicit'</li>
+<li>max_tree_deapth := 10</li>
+<li>node_prune_threshold := 0.001</li>
+<li>node_split_threshold := 0.01</li>
+<li>verbosity := 0 </li>
+</ul>
+</dd></dl>
+
+</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_704eb8350b43e1ca74c0f90ed1ba450e.html">methods</a></li><li class="navelem"><a class="el" href="dir_fbc4f2259ae1d6f6cc75298ebbd15532.html">cart</a></li><li class="navelem"><a class="el" href="dir_42a199e31e82b0c41cf7961a25e597db.html">src</a></li><li class="navelem"><a class="el" href="dir_64bd18b6b0e4b6a9c2cd2ca1d5a05b4c.html">pg_gp</a></li><li class="navelem"><a class="el" href="c45_8sql__in.html">c45.sql_in</a></li>
+    <li class="footer">Generated on Wed Mar 23 2016 16:05:45 for MADlib by
+    <a href="http://www.doxygen.org/index.html">
+    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.10 </li>
+  </ul>
+</div>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-madlib-site/blob/c506dd05/docs/v1.9/closed.png
----------------------------------------------------------------------
diff --git a/docs/v1.9/closed.png b/docs/v1.9/closed.png
new file mode 100644
index 0000000..98cc2c9
Binary files /dev/null and b/docs/v1.9/closed.png differ