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:31:12 UTC

[incubator-hivemall] branch master updated: Fixed a doc

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 0487dc5  Fixed a doc
0487dc5 is described below

commit 0487dc53322d484659b9dfa42bf8f76cc04b6287
Author: Makoto Yui <my...@apache.org>
AuthorDate: Sat Jun 29 01:30:53 2019 +0900

    Fixed a doc
---
 docs/gitbook/ft_engineering/binning.md | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/docs/gitbook/ft_engineering/binning.md b/docs/gitbook/ft_engineering/binning.md
index 2f36578..28fd62c 100644
--- a/docs/gitbook/ft_engineering/binning.md
+++ b/docs/gitbook/ft_engineering/binning.md
@@ -134,9 +134,9 @@ FROM
 | ["name#Ethan","gender#Male","age:2"] |
 | ... |
 
-## More practical Example
+## Practical Example
 
-Hivemall's 
+Here, we show a more practical usage of `feature_binning` UDF that applied feature binning for given feature vectors.
 
 ```sql
 WITH extracted as (
@@ -146,6 +146,8 @@ WITH extracted as (
   from
     input l
     LATERAL VIEW explode(features) r as feature
+  where
+    instr(feature, ':') > 0 -- filter out categorical features
 ),
 mapping as (
   select