You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hivemall.apache.org by my...@apache.org on 2019/06/28 16:59:00 UTC

[incubator-hivemall-site] branch asf-site updated: Fixed ToC

This is an automated email from the ASF dual-hosted git repository.

myui pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-hivemall-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new e30fb6e  Fixed ToC
e30fb6e is described below

commit e30fb6e9c22c05e418a640616e1e5fe713598f49
Author: Makoto Yui <my...@apache.org>
AuthorDate: Sat Jun 29 01:58:49 2019 +0900

    Fixed ToC
---
 userguide/ft_engineering/binning.html | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/userguide/ft_engineering/binning.html b/userguide/ft_engineering/binning.html
index c0102b3..5608e84 100644
--- a/userguide/ft_engineering/binning.html
+++ b/userguide/ft_engineering/binning.html
@@ -2382,10 +2382,11 @@
 <!-- toc --><div id="toc" class="toc">
 
 <ul>
-<li><a href="#data-preparation">Data Preparation</a><ul>
+<li><a href="#data-preparation">Data Preparation</a></li>
+<li><a href="#usage">Usage</a><ul>
 <li><a href="#custom-rule-for-binning">Custom rule for binning</a></li>
-<li><a href="#binning-based-on-quantiles">Binning based on quantiles</a></li>
-<li><a href="#practical-example">Practical Example</a></li>
+<li><a href="#binning-based-on-quantiles">Binning based on Quantiles</a></li>
+<li><a href="#concrete-example">Concrete Example</a></li>
 <li><a href="#create-a-mapping-table-by-feature-binning">Create a mapping table by Feature Binning</a></li>
 </ul>
 </li>
@@ -2449,6 +2450,7 @@
 </tr>
 </tbody>
 </table>
+<h1 id="usage">Usage</h1>
 <h2 id="custom-rule-for-binning">Custom rule for binning</h2>
 <p>You can provide a custom rule for binning as follows:</p>
 <pre><code class="lang-sql"><span class="hljs-keyword">select</span> 
@@ -2499,7 +2501,7 @@
 </tr>
 </tbody>
 </table>
-<h2 id="binning-based-on-quantiles">Binning based on quantiles</h2>
+<h2 id="binning-based-on-quantiles">Binning based on Quantiles</h2>
 <p>You can apply feature binning based on <a href="https://en.wikipedia.org/wiki/Quantile" target="_blank">quantiles</a>. </p>
 <p>Suppose converting <code>age</code> values into 3 bins:</p>
 <pre><code class="lang-sql"><span class="hljs-keyword">SELECT</span>
@@ -2577,7 +2579,7 @@ ge:2&quot;,&quot;age:2&quot;,&quot;age:2&quot;,&quot;age:2&quot;]  [&quot;age:3&
 </tr>
 </tbody>
 </table>
-<h2 id="practical-example">Practical Example</h2>
+<h2 id="concrete-example">Concrete Example</h2>
 <p>Here, we show a more practical usage of <code>feature_binning</code> UDF that applied feature binning for given feature vectors.</p>
 <pre><code class="lang-sql">WITH extracted as (
   <span class="hljs-keyword">select</span> 
@@ -2829,7 +2831,7 @@ Apache Hivemall is an effort undergoing incubation at The Apache Software Founda
     <script>
         var gitbook = gitbook || [];
         gitbook.push(function() {
-            gitbook.page.hasChanged({"page":{"title":"Feature Binning","level":"3.4","depth":1,"next":{"title":"Feature Paring","level":"3.5","depth":1,"path":"ft_engineering/pairing.md","ref":"ft_engineering/pairing.md","articles":[{"title":"Polynomial features","level":"3.5.1","depth":2,"path":"ft_engineering/polynomial.md","ref":"ft_engineering/polynomial.md","articles":[]}]},"previous":{"title":"Feature Selection","level":"3.3","depth":1,"path":"ft_engineering/selection.md","ref":"ft [...]
+            gitbook.page.hasChanged({"page":{"title":"Feature Binning","level":"3.4","depth":1,"next":{"title":"Feature Paring","level":"3.5","depth":1,"path":"ft_engineering/pairing.md","ref":"ft_engineering/pairing.md","articles":[{"title":"Polynomial features","level":"3.5.1","depth":2,"path":"ft_engineering/polynomial.md","ref":"ft_engineering/polynomial.md","articles":[]}]},"previous":{"title":"Feature Selection","level":"3.3","depth":1,"path":"ft_engineering/selection.md","ref":"ft [...]
         });
     </script>
 </div>