http://git-wip-us.apache.org/repos/asf/incubator-hivemall-site/blob/a98b42f8/userguide/binaryclass/news20_adagrad.html ---------------------------------------------------------------------- diff --git a/userguide/binaryclass/news20_adagrad.html b/userguide/binaryclass/news20_adagrad.html index eef9971..e8e9dc1 100644 --- a/userguide/binaryclass/news20_adagrad.html +++ b/userguide/binaryclass/news20_adagrad.html @@ -244,7 +244,7 @@ <b>1.3.1.</b> - Explicit addBias() for better prediction + Explicit add_bias() for better prediction </a> @@ -707,14 +707,14 @@ - <li class="chapter " data-level="4.1" data-path="../eval/stat_eval.html"> + <li class="chapter " data-level="4.1" data-path="../eval/binary_classification_measures.html"> - <a href="../eval/stat_eval.html"> + <a href="../eval/binary_classification_measures.html"> <b>4.1.</b> - Statistical evaluation of a prediction model + Binary Classification Metrics </a> @@ -743,13 +743,43 @@ </li> - <li class="chapter " data-level="4.2" data-path="../eval/rank.html"> + <li class="chapter " data-level="4.2" data-path="../eval/multilabel_classification_measures.html"> - <a href="../eval/rank.html"> + <a href="../eval/multilabel_classification_measures.html"> <b>4.2.</b> + Multi-label Classification Metrics + + </a> + + + + </li> + + <li class="chapter " data-level="4.3" data-path="../eval/regression.html"> + + <a href="../eval/regression.html"> + + + <b>4.3.</b> + + Regression metrics + + </a> + + + + </li> + + <li class="chapter " data-level="4.4" data-path="../eval/rank.html"> + + <a href="../eval/rank.html"> + + + <b>4.4.</b> + Ranking Measures </a> @@ -758,12 +788,12 @@ </li> - <li class="chapter " data-level="4.3" data-path="../eval/datagen.html"> + <li class="chapter " data-level="4.5" data-path="../eval/datagen.html"> <a href="../eval/datagen.html"> - <b>4.3.</b> + <b>4.5.</b> Data Generation @@ -774,12 +804,12 @@ <ul class="articles"> - <li class="chapter " data-level="4.3.1" data-path="../eval/lr_datagen.html"> + <li class="chapter " data-level="4.5.1" data-path="../eval/lr_datagen.html"> <a href="../eval/lr_datagen.html"> - <b>4.3.1.</b> + <b>4.5.1.</b> Logistic Regression data generation @@ -2155,14 +2185,30 @@ specific language governing permissions and limitations under the License. --> -<p><em>Note that this feature is supported since Hivemall v0.3-beta2 or later.</em></p> +<!-- toc --><div id="toc" class="toc"> + +<ul> +<li><a href="#udf-preparation">UDF preparation</a></li> +<li><a href="#model-building">model building</a></li> +<li><a href="#prediction">prediction</a></li> +<li><a href="#evaluation">evaluation</a></li> +<li><a href="#model-building-1">model building</a></li> +<li><a href="#prediction-1">prediction</a></li> +<li><a href="#evaluation-1">evaluation</a></li> +<li><a href="#model-building-2">model building</a></li> +<li><a href="#prediction-2">prediction</a></li> +<li><a href="#evaluation-2">evaluation</a></li> +</ul> + +</div><!-- tocstop --> +<div class="panel panel-primary"><div class="panel-heading"><h3 class="panel-title" id="note"><i class="fa fa-edit"></i> Note</h3></div><div class="panel-body"><p>This feature is supported since Hivemall <code>v0.3-beta2</code> or later.</p></div></div> <h2 id="udf-preparation">UDF preparation</h2> <pre><code>add jar ./tmp/hivemall-with-dependencies.jar; source ./tmp/define-all.hive; use news20; </code></pre><h1 id="adagradrda">[AdaGradRDA]</h1> -<p><em>Note that the current AdaGradRDA implmenetation can only be applied to classification, not to regression, because it uses hinge loss for the loss function.</em></p> +<div class="panel panel-primary"><div class="panel-heading"><h3 class="panel-title" id="note"><i class="fa fa-edit"></i> Note</h3></div><div class="panel-body"><p>The current AdaGradRDA implmenetation can only be applied to classification, not to regression, because it uses hinge loss for the loss function.</p></div></div> <h2 id="model-building">model building</h2> <pre><code class="lang-sql"><span class="hljs-keyword">drop</span> <span class="hljs-keyword">table</span> news20b_adagrad_rda_model1; <span class="hljs-keyword">create</span> <span class="hljs-keyword">table</span> news20b_adagrad_rda_model1 <span class="hljs-keyword">as</span> @@ -2222,7 +2268,7 @@ use news20; ) t <span class="hljs-keyword">group</span> <span class="hljs-keyword">by</span> feature; </code></pre> -<p><em>adagrad takes 0/1 for a label value and convert_label(label) converts a label value from -1/+1 to 0/1.</em></p> +<div class="panel panel-warning"><div class="panel-heading"><h3 class="panel-title" id="caution"><i class="fa fa-exclamation-triangle"></i> Caution</h3></div><div class="panel-body"><p><code>adagrad</code> takes 0/1 for a label value and <code>convert_label(label)</code> converts a label value from -1/+1 to 0/1.</p></div></div> <h2 id="prediction">prediction</h2> <pre><code class="lang-sql"><span class="hljs-keyword">create</span> <span class="hljs-keyword">or</span> <span class="hljs-keyword">replace</span> <span class="hljs-keyword">view</span> news20b_adagrad_predict1 <span class="hljs-keyword">as</span> @@ -2251,7 +2297,7 @@ use news20; <p>0.9549639711769415 (adagrad)</p> </blockquote> <h1 id="adadelta">[AdaDelta]</h1> -<p><em>Note that AdaDelta is better suited for regression problem because the current implementation only support logistic loss.</em></p> +<div class="panel panel-warning"><div class="panel-heading"><h3 class="panel-title" id="caution"><i class="fa fa-exclamation-triangle"></i> Caution</h3></div><div class="panel-body"><p>AdaDelta can only be applied for regression problem because the current implementation only support logistic loss.</p></div></div> <h2 id="model-building">model building</h2> <pre><code class="lang-sql"><span class="hljs-keyword">drop</span> <span class="hljs-keyword">table</span> news20b_adadelta_model1; <span class="hljs-keyword">create</span> <span class="hljs-keyword">table</span> news20b_adadelta_model1 <span class="hljs-keyword">as</span> @@ -2290,12 +2336,12 @@ use news20; <pre><code class="lang-sql"><span class="hljs-keyword">select</span> <span class="hljs-keyword">count</span>(<span class="hljs-number">1</span>)/<span class="hljs-number">4996</span> <span class="hljs-keyword">from</span> news20b_adadelta_submit1 <span class="hljs-keyword">where</span> actual == predicted; </code></pre> +<p><em>AdaDelta often performs better than AdaGrad.</em></p> <blockquote> <p>0.9549639711769415 (adagrad)</p> <p>0.9545636509207366 (adadelta)</p> </blockquote> -<p><em>Note that AdaDelta often performs better than AdaGrad.</em> -<div id="page-footer" class="localized-footer"><hr><!-- +<p><div id="page-footer" class="localized-footer"><hr><!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information @@ -2350,7 +2396,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":"AdaGradRDA, AdaGrad, AdaDelta","level":"6.3.4","depth":2,"next":{"title":"Random Forest","level":"6.3.5","depth":2,"path":"binaryclass/news20_rf.md","ref":"binaryclass/news20_rf.md","articles":[]},"previous":{"title":"CW, AROW, SCW","level":"6.3.3","depth":2,"path":"binaryclass/news20_scw.md","ref":"binaryclass/news20_scw.md","articles":[]},"dir":"ltr"},"config":{"plugins":["theme-api","edit-link","github","splitter","sitemap","etoc","callouts","toggle-chapters","anchorjs","codeblock-filename","expandable-chapters","multipart","codeblock-filename","katex","emphasize","localized-footer"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"emphasize":{},"callouts":{},"etoc":{"h2lb":3,"header":1,"maxdepth":3,"mindepth":1,"notoc":true},"github":{"url":"https://github.com/apache/incubator-hivemall/"}," splitter":{},"search":{},"downloadpdf":{"base":"https://github.com/apache/incubator-hivemall/docs/gitbook","label":"PDF","multilingual":false},"multipart":{},"localized-footer":{"filename":"FOOTER.md","hline":"true"},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"katex":{},"fontsettings":{"theme":"white","family":"sans","size":2,"font":"sans"},"highlight":{},"codeblock-filename":{},"sitemap":{"hostname":"http://hivemall.incubator.apache.org/"},"theme-api":{"languages":[],"split":false,"theme":"dark"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"edit-link":{"label":"Edit","base":"https://github.com/apache/incubator-hivemall/docs/gitbook"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":true},"anchorjs":{ "selector":"h1,h2,h3,*:not(.callout) > h4,h5"},"toggle-chapters":{},"expandable-chapters":{}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Hivemall User Manual","links":{"sidebar":{"<i class=\"fa fa-home\"></i> Home":"http://hivemall.incubator.apache.org/"}},"gitbook":"3.x.x","description":"User Manual for Apache Hivemall"},"file":{"path":"binaryclass/news20_adagrad.md","mtime":"2016-12-02T08:02:42.000Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-07-14T17:59:22.591Z"},"basePath":"..","book":{"language":""}}); + gitbook.page.hasChanged({"page":{"title":"AdaGradRDA, AdaGrad, AdaDelta","level":"6.3.4","depth":2,"next":{"title":"Random Forest","level":"6.3.5","depth":2,"path":"binaryclass/news20_rf.md","ref":"binaryclass/news20_rf.md","articles":[]},"previous":{"title":"CW, AROW, SCW","level":"6.3.3","depth":2,"path":"binaryclass/news20_scw.md","ref":"binaryclass/news20_scw.md","articles":[]},"dir":"ltr"},"config":{"plugins":["theme-api","edit-link","github","splitter","sitemap","etoc","callouts","toggle-chapters","anchorjs","codeblock-filename","expandable-chapters","multipart","codeblock-filename","katex","emphasize","localized-footer"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"emphasize":{},"callouts":{},"etoc":{"h2lb":3,"header":1,"maxdepth":3,"mindepth":1,"notoc":true},"github":{"url":"https://github.com/apache/incubator-hivemall/"}," splitter":{},"search":{},"downloadpdf":{"base":"https://github.com/apache/incubator-hivemall/docs/gitbook","label":"PDF","multilingual":false},"multipart":{},"localized-footer":{"filename":"FOOTER.md","hline":"true"},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"katex":{},"fontsettings":{"theme":"white","family":"sans","size":2,"font":"sans"},"highlight":{},"codeblock-filename":{},"sitemap":{"hostname":"http://hivemall.incubator.apache.org/"},"theme-api":{"languages":[],"split":false,"theme":"dark"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"edit-link":{"label":"Edit","base":"https://github.com/apache/incubator-hivemall/docs/gitbook"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":true},"anchorjs":{ "selector":"h1,h2,h3,*:not(.callout) > h4,h5"},"toggle-chapters":{},"expandable-chapters":{}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Hivemall User Manual","links":{"sidebar":{"<i class=\"fa fa-home\"></i> Home":"http://hivemall.incubator.apache.org/"}},"gitbook":"3.x.x","description":"User Manual for Apache Hivemall"},"file":{"path":"binaryclass/news20_adagrad.md","mtime":"2017-07-20T11:24:46.000Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-09-13T14:07:31.053Z"},"basePath":"..","book":{"language":""}}); }); </script> </div>
http://git-wip-us.apache.org/repos/asf/incubator-hivemall-site/blob/a98b42f8/userguide/binaryclass/news20_dataset.html ---------------------------------------------------------------------- diff --git a/userguide/binaryclass/news20_dataset.html b/userguide/binaryclass/news20_dataset.html index c053991..bdd6fec 100644 --- a/userguide/binaryclass/news20_dataset.html +++ b/userguide/binaryclass/news20_dataset.html @@ -244,7 +244,7 @@ <b>1.3.1.</b> - Explicit addBias() for better prediction + Explicit add_bias() for better prediction </a> @@ -707,14 +707,14 @@ - <li class="chapter " data-level="4.1" data-path="../eval/stat_eval.html"> + <li class="chapter " data-level="4.1" data-path="../eval/binary_classification_measures.html"> - <a href="../eval/stat_eval.html"> + <a href="../eval/binary_classification_measures.html"> <b>4.1.</b> - Statistical evaluation of a prediction model + Binary Classification Metrics </a> @@ -743,13 +743,43 @@ </li> - <li class="chapter " data-level="4.2" data-path="../eval/rank.html"> + <li class="chapter " data-level="4.2" data-path="../eval/multilabel_classification_measures.html"> - <a href="../eval/rank.html"> + <a href="../eval/multilabel_classification_measures.html"> <b>4.2.</b> + Multi-label Classification Metrics + + </a> + + + + </li> + + <li class="chapter " data-level="4.3" data-path="../eval/regression.html"> + + <a href="../eval/regression.html"> + + + <b>4.3.</b> + + Regression metrics + + </a> + + + + </li> + + <li class="chapter " data-level="4.4" data-path="../eval/rank.html"> + + <a href="../eval/rank.html"> + + + <b>4.4.</b> + Ranking Measures </a> @@ -758,12 +788,12 @@ </li> - <li class="chapter " data-level="4.3" data-path="../eval/datagen.html"> + <li class="chapter " data-level="4.5" data-path="../eval/datagen.html"> <a href="../eval/datagen.html"> - <b>4.3.</b> + <b>4.5.</b> Data Generation @@ -774,12 +804,12 @@ <ul class="articles"> - <li class="chapter " data-level="4.3.1" data-path="../eval/lr_datagen.html"> + <li class="chapter " data-level="4.5.1" data-path="../eval/lr_datagen.html"> <a href="../eval/lr_datagen.html"> - <b>4.3.1.</b> + <b>4.5.1.</b> Logistic Regression data generation @@ -2230,7 +2260,7 @@ CLUSTER <span class="hljs-keyword">BY</span> <span class="hljs-keyword">rand</sp <span class="hljs-comment">-- extract_feature(feature) as feature,</span> <span class="hljs-comment">-- extract_weight(feature) as value</span> <span class="hljs-keyword">from</span> - news20b_test LATERAL <span class="hljs-keyword">VIEW</span> explode(addBias(features)) t <span class="hljs-keyword">AS</span> feature; + news20b_test LATERAL <span class="hljs-keyword">VIEW</span> explode(add_bias(features)) t <span class="hljs-keyword">AS</span> feature; </code></pre> <p><div id="page-footer" class="localized-footer"><hr><!-- Licensed to the Apache Software Foundation (ASF) under one @@ -2287,7 +2317,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":"Data preparation","level":"6.3.1","depth":2,"next":{"title":"Perceptron, Passive Aggressive","level":"6.3.2","depth":2,"path":"binaryclass/news20_pa.md","ref":"binaryclass/news20_pa.md","articles":[]},"previous":{"title":"News20 tutorial","level":"6.3","depth":1,"path":"binaryclass/news20.md","ref":"binaryclass/news20.md","articles":[{"title":"Data preparation","level":"6.3.1","depth":2,"path":"binaryclass/news20_dataset.md","ref":"binaryclass/news20_dataset.md","articles":[]},{"title":"Perceptron, Passive Aggressive","level":"6.3.2","depth":2,"path":"binaryclass/news20_pa.md","ref":"binaryclass/news20_pa.md","articles":[]},{"title":"CW, AROW, SCW","level":"6.3.3","depth":2,"path":"binaryclass/news20_scw.md","ref":"binaryclass/news20_scw.md","articles":[]},{"title":"AdaGradRDA, AdaGrad, AdaDelta","level":"6.3.4","depth":2,"path":"binaryclass/news20_adagrad.md","ref":"binaryclass/news20_adagrad.md","articles":[]},{"title":"Random Forest","level":"6.3.5","depth":2,"path":"binaryclass/news20_rf.md","ref":"binaryclass/news20_rf.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["theme-api","edit-link","github","splitter","sitemap","etoc","callouts","toggle-chapters","anchorjs","codeblock-filename","expandable-chapters","multipart","codeblock-filename","katex","emphasize","localized-footer"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"emphasize":{},"callouts":{},"etoc":{"h2lb":3,"header":1,"maxdepth":3,"mindepth":1,"notoc":true},"github":{"url":"https://github.com/apache/incubator-hivemall/"},"splitter":{},"search":{},"downloadpdf":{"base":"https://github.com/apache/incubator-hivemall/docs/gitbook","label":"PDF","multilingual":false},"multipart":{},"localized-footer":{"filename":"FOOTER.md","hline":"true"},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false },"katex":{},"fontsettings":{"theme":"white","family":"sans","size":2,"font":"sans"},"highlight":{},"codeblock-filename":{},"sitemap":{"hostname":"http://hivemall.incubator.apache.org/"},"theme-api":{"languages":[],"split":false,"theme":"dark"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"edit-link":{"label":"Edit","base":"https://github.com/apache/incubator-hivemall/docs/gitbook"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":true},"anchorjs":{"selector":"h1,h2,h3,*:not(.callout) > h4,h5"},"toggle-chapters":{},"expandable-chapters":{}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56, "bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Hivemall User Manual","links":{"sidebar":{"<i class=\"fa fa-home\"></i> Home":"http://hivemall.incubator.apache.org/"}},"gitbook":"3.x.x","description":"User Manual for Apache Hivemall"},"file":{"path":"binaryclass/news20_dataset.md","mtime":"2016-12-02T08:02:42.000Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-07-14T17:59:22.591Z"},"basePath":"..","book":{"language":""}}); + gitbook.page.hasChanged({"page":{"title":"Data preparation","level":"6.3.1","depth":2,"next":{"title":"Perceptron, Passive Aggressive","level":"6.3.2","depth":2,"path":"binaryclass/news20_pa.md","ref":"binaryclass/news20_pa.md","articles":[]},"previous":{"title":"News20 tutorial","level":"6.3","depth":1,"path":"binaryclass/news20.md","ref":"binaryclass/news20.md","articles":[{"title":"Data preparation","level":"6.3.1","depth":2,"path":"binaryclass/news20_dataset.md","ref":"binaryclass/news20_dataset.md","articles":[]},{"title":"Perceptron, Passive Aggressive","level":"6.3.2","depth":2,"path":"binaryclass/news20_pa.md","ref":"binaryclass/news20_pa.md","articles":[]},{"title":"CW, AROW, SCW","level":"6.3.3","depth":2,"path":"binaryclass/news20_scw.md","ref":"binaryclass/news20_scw.md","articles":[]},{"title":"AdaGradRDA, AdaGrad, AdaDelta","level":"6.3.4","depth":2,"path":"binaryclass/news20_adagrad.md","ref":"binaryclass/news20_adagrad.md","articles":[]},{"title":"Random Forest","level":"6.3.5","depth":2,"path":"binaryclass/news20_rf.md","ref":"binaryclass/news20_rf.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["theme-api","edit-link","github","splitter","sitemap","etoc","callouts","toggle-chapters","anchorjs","codeblock-filename","expandable-chapters","multipart","codeblock-filename","katex","emphasize","localized-footer"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"emphasize":{},"callouts":{},"etoc":{"h2lb":3,"header":1,"maxdepth":3,"mindepth":1,"notoc":true},"github":{"url":"https://github.com/apache/incubator-hivemall/"},"splitter":{},"search":{},"downloadpdf":{"base":"https://github.com/apache/incubator-hivemall/docs/gitbook","label":"PDF","multilingual":false},"multipart":{},"localized-footer":{"filename":"FOOTER.md","hline":"true"},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false },"katex":{},"fontsettings":{"theme":"white","family":"sans","size":2,"font":"sans"},"highlight":{},"codeblock-filename":{},"sitemap":{"hostname":"http://hivemall.incubator.apache.org/"},"theme-api":{"languages":[],"split":false,"theme":"dark"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"edit-link":{"label":"Edit","base":"https://github.com/apache/incubator-hivemall/docs/gitbook"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":true},"anchorjs":{"selector":"h1,h2,h3,*:not(.callout) > h4,h5"},"toggle-chapters":{},"expandable-chapters":{}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56, "bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Hivemall User Manual","links":{"sidebar":{"<i class=\"fa fa-home\"></i> Home":"http://hivemall.incubator.apache.org/"}},"gitbook":"3.x.x","description":"User Manual for Apache Hivemall"},"file":{"path":"binaryclass/news20_dataset.md","mtime":"2017-07-20T11:24:46.000Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-09-13T14:07:31.053Z"},"basePath":"..","book":{"language":""}}); }); </script> </div> http://git-wip-us.apache.org/repos/asf/incubator-hivemall-site/blob/a98b42f8/userguide/binaryclass/news20_pa.html ---------------------------------------------------------------------- diff --git a/userguide/binaryclass/news20_pa.html b/userguide/binaryclass/news20_pa.html index d2926c6..39a7a07 100644 --- a/userguide/binaryclass/news20_pa.html +++ b/userguide/binaryclass/news20_pa.html @@ -244,7 +244,7 @@ <b>1.3.1.</b> - Explicit addBias() for better prediction + Explicit add_bias() for better prediction </a> @@ -707,14 +707,14 @@ - <li class="chapter " data-level="4.1" data-path="../eval/stat_eval.html"> + <li class="chapter " data-level="4.1" data-path="../eval/binary_classification_measures.html"> - <a href="../eval/stat_eval.html"> + <a href="../eval/binary_classification_measures.html"> <b>4.1.</b> - Statistical evaluation of a prediction model + Binary Classification Metrics </a> @@ -743,13 +743,43 @@ </li> - <li class="chapter " data-level="4.2" data-path="../eval/rank.html"> + <li class="chapter " data-level="4.2" data-path="../eval/multilabel_classification_measures.html"> - <a href="../eval/rank.html"> + <a href="../eval/multilabel_classification_measures.html"> <b>4.2.</b> + Multi-label Classification Metrics + + </a> + + + + </li> + + <li class="chapter " data-level="4.3" data-path="../eval/regression.html"> + + <a href="../eval/regression.html"> + + + <b>4.3.</b> + + Regression metrics + + </a> + + + + </li> + + <li class="chapter " data-level="4.4" data-path="../eval/rank.html"> + + <a href="../eval/rank.html"> + + + <b>4.4.</b> + Ranking Measures </a> @@ -758,12 +788,12 @@ </li> - <li class="chapter " data-level="4.3" data-path="../eval/datagen.html"> + <li class="chapter " data-level="4.5" data-path="../eval/datagen.html"> <a href="../eval/datagen.html"> - <b>4.3.</b> + <b>4.5.</b> Data Generation @@ -774,12 +804,12 @@ <ul class="articles"> - <li class="chapter " data-level="4.3.1" data-path="../eval/lr_datagen.html"> + <li class="chapter " data-level="4.5.1" data-path="../eval/lr_datagen.html"> <a href="../eval/lr_datagen.html"> - <b>4.3.1.</b> + <b>4.5.1.</b> Logistic Regression data generation @@ -2170,7 +2200,7 @@ source /home/myui/tmp/define-all.hive; voted_avg(weight) <span class="hljs-keyword">as</span> weight <span class="hljs-keyword">from</span> (<span class="hljs-keyword">select</span> - perceptron(addBias(features),label) <span class="hljs-keyword">as</span> (feature,weight) + perceptron(add_bias(features),label) <span class="hljs-keyword">as</span> (feature,weight) <span class="hljs-keyword">from</span> news20b_train_x3 ) t @@ -2219,7 +2249,7 @@ source /home/myui/tmp/define-all.hive; voted_avg(weight) <span class="hljs-keyword">as</span> weight <span class="hljs-keyword">from</span> (<span class="hljs-keyword">select</span> - train_pa(addBias(features),label) <span class="hljs-keyword">as</span> (feature,weight) + train_pa(add_bias(features),label) <span class="hljs-keyword">as</span> (feature,weight) <span class="hljs-keyword">from</span> news20b_train_x3 ) t @@ -2267,7 +2297,7 @@ from voted_avg(weight) <span class="hljs-keyword">as</span> weight <span class="hljs-keyword">from</span> (<span class="hljs-keyword">select</span> - train_pa1(addBias(features),label) <span class="hljs-keyword">as</span> (feature,weight) + train_pa1(add_bias(features),label) <span class="hljs-keyword">as</span> (feature,weight) <span class="hljs-keyword">from</span> news20b_train_x3 ) t @@ -2316,7 +2346,7 @@ from voted_avg(weight) <span class="hljs-keyword">as</span> weight <span class="hljs-keyword">from</span> (<span class="hljs-keyword">select</span> - train_pa2(addBias(features),label) <span class="hljs-keyword">as</span> (feature,weight) + train_pa2(add_bias(features),label) <span class="hljs-keyword">as</span> (feature,weight) <span class="hljs-keyword">from</span> news20b_train_x3 ) t @@ -2410,7 +2440,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":"Perceptron, Passive Aggressive","level":"6.3.2","depth":2,"next":{"title":"CW, AROW, SCW","level":"6.3.3","depth":2,"path":"binaryclass/news20_scw.md","ref":"binaryclass/news20_scw.md","articles":[]},"previous":{"title":"Data preparation","level":"6.3.1","depth":2,"path":"binaryclass/news20_dataset.md","ref":"binaryclass/news20_dataset.md","articles":[]},"dir":"ltr"},"config":{"plugins":["theme-api","edit-link","github","splitter","sitemap","etoc","callouts","toggle-chapters","anchorjs","codeblock-filename","expandable-chapters","multipart","codeblock-filename","katex","emphasize","localized-footer"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"emphasize":{},"callouts":{},"etoc":{"h2lb":3,"header":1,"maxdepth":3,"mindepth":1,"notoc":true},"github":{"url":"https://github.com/apache/incubator -hivemall/"},"splitter":{},"search":{},"downloadpdf":{"base":"https://github.com/apache/incubator-hivemall/docs/gitbook","label":"PDF","multilingual":false},"multipart":{},"localized-footer":{"filename":"FOOTER.md","hline":"true"},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"katex":{},"fontsettings":{"theme":"white","family":"sans","size":2,"font":"sans"},"highlight":{},"codeblock-filename":{},"sitemap":{"hostname":"http://hivemall.incubator.apache.org/"},"theme-api":{"languages":[],"split":false,"theme":"dark"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"edit-link":{"label":"Edit","base":"https://github.com/apache/incubator-hivemall/docs/gitbook"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":true },"anchorjs":{"selector":"h1,h2,h3,*:not(.callout) > h4,h5"},"toggle-chapters":{},"expandable-chapters":{}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Hivemall User Manual","links":{"sidebar":{"<i class=\"fa fa-home\"></i> Home":"http://hivemall.incubator.apache.org/"}},"gitbook":"3.x.x","description":"User Manual for Apache Hivemall"},"file":{"path":"binaryclass/news20_pa.md","mtime":"2016-12-02T08:02:42.000Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-07-14T17:59:22.591Z"},"basePath":"..","book":{"language":""}}); + gitbook.page.hasChanged({"page":{"title":"Perceptron, Passive Aggressive","level":"6.3.2","depth":2,"next":{"title":"CW, AROW, SCW","level":"6.3.3","depth":2,"path":"binaryclass/news20_scw.md","ref":"binaryclass/news20_scw.md","articles":[]},"previous":{"title":"Data preparation","level":"6.3.1","depth":2,"path":"binaryclass/news20_dataset.md","ref":"binaryclass/news20_dataset.md","articles":[]},"dir":"ltr"},"config":{"plugins":["theme-api","edit-link","github","splitter","sitemap","etoc","callouts","toggle-chapters","anchorjs","codeblock-filename","expandable-chapters","multipart","codeblock-filename","katex","emphasize","localized-footer"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"emphasize":{},"callouts":{},"etoc":{"h2lb":3,"header":1,"maxdepth":3,"mindepth":1,"notoc":true},"github":{"url":"https://github.com/apache/incubator -hivemall/"},"splitter":{},"search":{},"downloadpdf":{"base":"https://github.com/apache/incubator-hivemall/docs/gitbook","label":"PDF","multilingual":false},"multipart":{},"localized-footer":{"filename":"FOOTER.md","hline":"true"},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"katex":{},"fontsettings":{"theme":"white","family":"sans","size":2,"font":"sans"},"highlight":{},"codeblock-filename":{},"sitemap":{"hostname":"http://hivemall.incubator.apache.org/"},"theme-api":{"languages":[],"split":false,"theme":"dark"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"edit-link":{"label":"Edit","base":"https://github.com/apache/incubator-hivemall/docs/gitbook"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":true },"anchorjs":{"selector":"h1,h2,h3,*:not(.callout) > h4,h5"},"toggle-chapters":{},"expandable-chapters":{}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Hivemall User Manual","links":{"sidebar":{"<i class=\"fa fa-home\"></i> Home":"http://hivemall.incubator.apache.org/"}},"gitbook":"3.x.x","description":"User Manual for Apache Hivemall"},"file":{"path":"binaryclass/news20_pa.md","mtime":"2017-07-20T11:24:46.000Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-09-13T14:07:31.053Z"},"basePath":"..","book":{"language":""}}); }); </script> </div> http://git-wip-us.apache.org/repos/asf/incubator-hivemall-site/blob/a98b42f8/userguide/binaryclass/news20_rf.html ---------------------------------------------------------------------- diff --git a/userguide/binaryclass/news20_rf.html b/userguide/binaryclass/news20_rf.html index 2bb2db1..99166b7 100644 --- a/userguide/binaryclass/news20_rf.html +++ b/userguide/binaryclass/news20_rf.html @@ -244,7 +244,7 @@ <b>1.3.1.</b> - Explicit addBias() for better prediction + Explicit add_bias() for better prediction </a> @@ -707,14 +707,14 @@ - <li class="chapter " data-level="4.1" data-path="../eval/stat_eval.html"> + <li class="chapter " data-level="4.1" data-path="../eval/binary_classification_measures.html"> - <a href="../eval/stat_eval.html"> + <a href="../eval/binary_classification_measures.html"> <b>4.1.</b> - Statistical evaluation of a prediction model + Binary Classification Metrics </a> @@ -743,13 +743,43 @@ </li> - <li class="chapter " data-level="4.2" data-path="../eval/rank.html"> + <li class="chapter " data-level="4.2" data-path="../eval/multilabel_classification_measures.html"> - <a href="../eval/rank.html"> + <a href="../eval/multilabel_classification_measures.html"> <b>4.2.</b> + Multi-label Classification Metrics + + </a> + + + + </li> + + <li class="chapter " data-level="4.3" data-path="../eval/regression.html"> + + <a href="../eval/regression.html"> + + + <b>4.3.</b> + + Regression metrics + + </a> + + + + </li> + + <li class="chapter " data-level="4.4" data-path="../eval/rank.html"> + + <a href="../eval/rank.html"> + + + <b>4.4.</b> + Ranking Measures </a> @@ -758,12 +788,12 @@ </li> - <li class="chapter " data-level="4.3" data-path="../eval/datagen.html"> + <li class="chapter " data-level="4.5" data-path="../eval/datagen.html"> <a href="../eval/datagen.html"> - <b>4.3.</b> + <b>4.5.</b> Data Generation @@ -774,12 +804,12 @@ <ul class="articles"> - <li class="chapter " data-level="4.3.1" data-path="../eval/lr_datagen.html"> + <li class="chapter " data-level="4.5.1" data-path="../eval/lr_datagen.html"> <a href="../eval/lr_datagen.html"> - <b>4.3.1.</b> + <b>4.5.1.</b> Logistic Regression data generation @@ -2276,7 +2306,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":"Random Forest","level":"6.3.5","depth":2,"next":{"title":"KDD2010a tutorial","level":"6.4","depth":1,"path":"binaryclass/kdd2010a.md","ref":"binaryclass/kdd2010a.md","articles":[{"title":"Data preparation","level":"6.4.1","depth":2,"path":"binaryclass/kdd2010a_dataset.md","ref":"binaryclass/kdd2010a_dataset.md","articles":[]},{"title":"PA, CW, AROW, SCW","level":"6.4.2","depth":2,"path":"binaryclass/kdd2010a_scw.md","ref":"binaryclass/kdd2010a_scw.md","articles":[]}]},"previous":{"title":"AdaGradRDA, AdaGrad, AdaDelta","level":"6.3.4","depth":2,"path":"binaryclass/news20_adagrad.md","ref":"binaryclass/news20_adagrad.md","articles":[]},"dir":"ltr"},"config":{"plugins":["theme-api","edit-link","github","splitter","sitemap","etoc","callouts","toggle-chapters","anchorjs","codeblock-filename","expandable-chapters","multipart","codeblock-filename","katex","emphasize","localized-footer"],"styles":{"website":"styles/website.css","pdf":"s tyles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"emphasize":{},"callouts":{},"etoc":{"h2lb":3,"header":1,"maxdepth":3,"mindepth":1,"notoc":true},"github":{"url":"https://github.com/apache/incubator-hivemall/"},"splitter":{},"search":{},"downloadpdf":{"base":"https://github.com/apache/incubator-hivemall/docs/gitbook","label":"PDF","multilingual":false},"multipart":{},"localized-footer":{"filename":"FOOTER.md","hline":"true"},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"katex":{},"fontsettings":{"theme":"white","family":"sans","size":2,"font":"sans"},"highlight":{},"codeblock-filename":{},"sitemap":{"hostname":"http://hivemall.incubator.apache.org/"},"theme-api":{"languages":[],"split":false,"theme":"dark"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"edit-link": {"label":"Edit","base":"https://github.com/apache/incubator-hivemall/docs/gitbook"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":true},"anchorjs":{"selector":"h1,h2,h3,*:not(.callout) > h4,h5"},"toggle-chapters":{},"expandable-chapters":{}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Hivemall User Manual","links":{"sidebar":{"<i class=\"fa fa-home\"></i> Home":"http://hivemall.incubator.apache.org/"}},"gitbook":"3.x.x","description":"User Manual for Apache Hivemall"},"file":{"path":"binaryclass/news20_rf.md","mtime":"2017-07-05T09:10:51.000Z","type":"markdo wn"},"gitbook":{"version":"3.2.2","time":"2017-07-14T17:59:22.591Z"},"basePath":"..","book":{"language":""}}); + gitbook.page.hasChanged({"page":{"title":"Random Forest","level":"6.3.5","depth":2,"next":{"title":"KDD2010a tutorial","level":"6.4","depth":1,"path":"binaryclass/kdd2010a.md","ref":"binaryclass/kdd2010a.md","articles":[{"title":"Data preparation","level":"6.4.1","depth":2,"path":"binaryclass/kdd2010a_dataset.md","ref":"binaryclass/kdd2010a_dataset.md","articles":[]},{"title":"PA, CW, AROW, SCW","level":"6.4.2","depth":2,"path":"binaryclass/kdd2010a_scw.md","ref":"binaryclass/kdd2010a_scw.md","articles":[]}]},"previous":{"title":"AdaGradRDA, AdaGrad, AdaDelta","level":"6.3.4","depth":2,"path":"binaryclass/news20_adagrad.md","ref":"binaryclass/news20_adagrad.md","articles":[]},"dir":"ltr"},"config":{"plugins":["theme-api","edit-link","github","splitter","sitemap","etoc","callouts","toggle-chapters","anchorjs","codeblock-filename","expandable-chapters","multipart","codeblock-filename","katex","emphasize","localized-footer"],"styles":{"website":"styles/website.css","pdf":"s tyles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"emphasize":{},"callouts":{},"etoc":{"h2lb":3,"header":1,"maxdepth":3,"mindepth":1,"notoc":true},"github":{"url":"https://github.com/apache/incubator-hivemall/"},"splitter":{},"search":{},"downloadpdf":{"base":"https://github.com/apache/incubator-hivemall/docs/gitbook","label":"PDF","multilingual":false},"multipart":{},"localized-footer":{"filename":"FOOTER.md","hline":"true"},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"katex":{},"fontsettings":{"theme":"white","family":"sans","size":2,"font":"sans"},"highlight":{},"codeblock-filename":{},"sitemap":{"hostname":"http://hivemall.incubator.apache.org/"},"theme-api":{"languages":[],"split":false,"theme":"dark"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"edit-link": {"label":"Edit","base":"https://github.com/apache/incubator-hivemall/docs/gitbook"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":true},"anchorjs":{"selector":"h1,h2,h3,*:not(.callout) > h4,h5"},"toggle-chapters":{},"expandable-chapters":{}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Hivemall User Manual","links":{"sidebar":{"<i class=\"fa fa-home\"></i> Home":"http://hivemall.incubator.apache.org/"}},"gitbook":"3.x.x","description":"User Manual for Apache Hivemall"},"file":{"path":"binaryclass/news20_rf.md","mtime":"2017-07-20T09:43:22.000Z","type":"markdo wn"},"gitbook":{"version":"3.2.2","time":"2017-09-13T14:07:31.053Z"},"basePath":"..","book":{"language":""}}); }); </script> </div> http://git-wip-us.apache.org/repos/asf/incubator-hivemall-site/blob/a98b42f8/userguide/binaryclass/news20_scw.html ---------------------------------------------------------------------- diff --git a/userguide/binaryclass/news20_scw.html b/userguide/binaryclass/news20_scw.html index a40268f..6ade4ed 100644 --- a/userguide/binaryclass/news20_scw.html +++ b/userguide/binaryclass/news20_scw.html @@ -244,7 +244,7 @@ <b>1.3.1.</b> - Explicit addBias() for better prediction + Explicit add_bias() for better prediction </a> @@ -707,14 +707,14 @@ - <li class="chapter " data-level="4.1" data-path="../eval/stat_eval.html"> + <li class="chapter " data-level="4.1" data-path="../eval/binary_classification_measures.html"> - <a href="../eval/stat_eval.html"> + <a href="../eval/binary_classification_measures.html"> <b>4.1.</b> - Statistical evaluation of a prediction model + Binary Classification Metrics </a> @@ -743,13 +743,43 @@ </li> - <li class="chapter " data-level="4.2" data-path="../eval/rank.html"> + <li class="chapter " data-level="4.2" data-path="../eval/multilabel_classification_measures.html"> - <a href="../eval/rank.html"> + <a href="../eval/multilabel_classification_measures.html"> <b>4.2.</b> + Multi-label Classification Metrics + + </a> + + + + </li> + + <li class="chapter " data-level="4.3" data-path="../eval/regression.html"> + + <a href="../eval/regression.html"> + + + <b>4.3.</b> + + Regression metrics + + </a> + + + + </li> + + <li class="chapter " data-level="4.4" data-path="../eval/rank.html"> + + <a href="../eval/rank.html"> + + + <b>4.4.</b> + Ranking Measures </a> @@ -758,12 +788,12 @@ </li> - <li class="chapter " data-level="4.3" data-path="../eval/datagen.html"> + <li class="chapter " data-level="4.5" data-path="../eval/datagen.html"> <a href="../eval/datagen.html"> - <b>4.3.</b> + <b>4.5.</b> Data Generation @@ -774,12 +804,12 @@ <ul class="articles"> - <li class="chapter " data-level="4.3.1" data-path="../eval/lr_datagen.html"> + <li class="chapter " data-level="4.5.1" data-path="../eval/lr_datagen.html"> <a href="../eval/lr_datagen.html"> - <b>4.3.1.</b> + <b>4.5.1.</b> Logistic Regression data generation @@ -2172,8 +2202,8 @@ source /home/myui/tmp/define-all.hive; argmin_kld(weight, covar) <span class="hljs-keyword">as</span> weight <span class="hljs-comment">-- [hivemall v0.2 or later]</span> <span class="hljs-keyword">from</span> (<span class="hljs-keyword">select</span> - <span class="hljs-comment">-- train_cw(addBias(features), label) as (feature, weight) -- [hivemall v0.1]</span> - train_cw(addBias(features), label) <span class="hljs-keyword">as</span> (feature, weight, covar) <span class="hljs-comment">-- [hivemall v0.2 or later]</span> + <span class="hljs-comment">-- train_cw(add_bias(features), label) as (feature, weight) -- [hivemall v0.1]</span> + train_cw(add_bias(features), label) <span class="hljs-keyword">as</span> (feature, weight, covar) <span class="hljs-comment">-- [hivemall v0.2 or later]</span> <span class="hljs-keyword">from</span> news20b_train_x3 ) t @@ -2225,8 +2255,8 @@ source /home/myui/tmp/define-all.hive; argmin_kld(weight, covar) <span class="hljs-keyword">as</span> weight <span class="hljs-comment">-- [hivemall v0.2 or later]</span> <span class="hljs-keyword">from</span> (<span class="hljs-keyword">select</span> - <span class="hljs-comment">-- train_arow(addBias(features),label) as (feature,weight) -- [hivemall v0.1]</span> - train_arow(addBias(features),label) <span class="hljs-keyword">as</span> (feature,weight,covar) <span class="hljs-comment">-- [hivemall v0.2 or later]</span> + <span class="hljs-comment">-- train_arow(add_bias(features),label) as (feature,weight) -- [hivemall v0.1]</span> + train_arow(add_bias(features),label) <span class="hljs-keyword">as</span> (feature,weight,covar) <span class="hljs-comment">-- [hivemall v0.2 or later]</span> <span class="hljs-keyword">from</span> news20b_train_x3 ) t @@ -2277,8 +2307,8 @@ source /home/myui/tmp/define-all.hive; argmin_kld(weight, covar) <span class="hljs-keyword">as</span> weight <span class="hljs-comment">-- [hivemall v0.2 or later]</span> <span class="hljs-keyword">from</span> (<span class="hljs-keyword">select</span> - <span class="hljs-comment">-- train_scw(addBias(features),label) as (feature,weight) -- [hivemall v0.1]</span> - train_scw(addBias(features),label) <span class="hljs-keyword">as</span> (feature,weight,covar) <span class="hljs-comment">-- [hivemall v0.2 or later]</span> + <span class="hljs-comment">-- train_scw(add_bias(features),label) as (feature,weight) -- [hivemall v0.1]</span> + train_scw(add_bias(features),label) <span class="hljs-keyword">as</span> (feature,weight,covar) <span class="hljs-comment">-- [hivemall v0.2 or later]</span> <span class="hljs-keyword">from</span> news20b_train_x3 ) t @@ -2329,8 +2359,8 @@ source /home/myui/tmp/define-all.hive; argmin_kld(weight, covar) <span class="hljs-keyword">as</span> weight <span class="hljs-comment">-- [hivemall v0.2 or later]</span> <span class="hljs-keyword">from</span> (<span class="hljs-keyword">select</span> - <span class="hljs-comment">-- train_scw2(addBias(features),label) as (feature,weight) -- [hivemall v0.1]</span> - train_scw2(addBias(features),label) <span class="hljs-keyword">as</span> (feature,weight,covar) <span class="hljs-comment">-- [hivemall v0.2 or later]</span> + <span class="hljs-comment">-- train_scw2(add_bias(features),label) as (feature,weight) -- [hivemall v0.1]</span> + train_scw2(add_bias(features),label) <span class="hljs-keyword">as</span> (feature,weight,covar) <span class="hljs-comment">-- [hivemall v0.2 or later]</span> <span class="hljs-keyword">from</span> news20b_train_x3 ) t @@ -2413,8 +2443,8 @@ source /home/myui/tmp/define-all.hive; </tr> </tbody> </table> -<p>My recommendation is AROW for classification. -<div id="page-footer" class="localized-footer"><hr><!-- +<p>My recommendation is AROW for classification.</p> +<p><div id="page-footer" class="localized-footer"><hr><!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information @@ -2469,7 +2499,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":"CW, AROW, SCW","level":"6.3.3","depth":2,"next":{"title":"AdaGradRDA, AdaGrad, AdaDelta","level":"6.3.4","depth":2,"path":"binaryclass/news20_adagrad.md","ref":"binaryclass/news20_adagrad.md","articles":[]},"previous":{"title":"Perceptron, Passive Aggressive","level":"6.3.2","depth":2,"path":"binaryclass/news20_pa.md","ref":"binaryclass/news20_pa.md","articles":[]},"dir":"ltr"},"config":{"plugins":["theme-api","edit-link","github","splitter","sitemap","etoc","callouts","toggle-chapters","anchorjs","codeblock-filename","expandable-chapters","multipart","codeblock-filename","katex","emphasize","localized-footer"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"emphasize":{},"callouts":{},"etoc":{"h2lb":3,"header":1,"maxdepth":3,"mindepth":1,"notoc":true},"github":{"url":"https://github.com/apach e/incubator-hivemall/"},"splitter":{},"search":{},"downloadpdf":{"base":"https://github.com/apache/incubator-hivemall/docs/gitbook","label":"PDF","multilingual":false},"multipart":{},"localized-footer":{"filename":"FOOTER.md","hline":"true"},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"katex":{},"fontsettings":{"theme":"white","family":"sans","size":2,"font":"sans"},"highlight":{},"codeblock-filename":{},"sitemap":{"hostname":"http://hivemall.incubator.apache.org/"},"theme-api":{"languages":[],"split":false,"theme":"dark"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"edit-link":{"label":"Edit","base":"https://github.com/apache/incubator-hivemall/docs/gitbook"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"show Level":true},"anchorjs":{"selector":"h1,h2,h3,*:not(.callout) > h4,h5"},"toggle-chapters":{},"expandable-chapters":{}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Hivemall User Manual","links":{"sidebar":{"<i class=\"fa fa-home\"></i> Home":"http://hivemall.incubator.apache.org/"}},"gitbook":"3.x.x","description":"User Manual for Apache Hivemall"},"file":{"path":"binaryclass/news20_scw.md","mtime":"2016-12-02T08:02:42.000Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-07-14T17:59:22.591Z"},"basePath":"..","book":{"language":""}}); + gitbook.page.hasChanged({"page":{"title":"CW, AROW, SCW","level":"6.3.3","depth":2,"next":{"title":"AdaGradRDA, AdaGrad, AdaDelta","level":"6.3.4","depth":2,"path":"binaryclass/news20_adagrad.md","ref":"binaryclass/news20_adagrad.md","articles":[]},"previous":{"title":"Perceptron, Passive Aggressive","level":"6.3.2","depth":2,"path":"binaryclass/news20_pa.md","ref":"binaryclass/news20_pa.md","articles":[]},"dir":"ltr"},"config":{"plugins":["theme-api","edit-link","github","splitter","sitemap","etoc","callouts","toggle-chapters","anchorjs","codeblock-filename","expandable-chapters","multipart","codeblock-filename","katex","emphasize","localized-footer"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"emphasize":{},"callouts":{},"etoc":{"h2lb":3,"header":1,"maxdepth":3,"mindepth":1,"notoc":true},"github":{"url":"https://github.com/apach e/incubator-hivemall/"},"splitter":{},"search":{},"downloadpdf":{"base":"https://github.com/apache/incubator-hivemall/docs/gitbook","label":"PDF","multilingual":false},"multipart":{},"localized-footer":{"filename":"FOOTER.md","hline":"true"},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"katex":{},"fontsettings":{"theme":"white","family":"sans","size":2,"font":"sans"},"highlight":{},"codeblock-filename":{},"sitemap":{"hostname":"http://hivemall.incubator.apache.org/"},"theme-api":{"languages":[],"split":false,"theme":"dark"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"edit-link":{"label":"Edit","base":"https://github.com/apache/incubator-hivemall/docs/gitbook"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"show Level":true},"anchorjs":{"selector":"h1,h2,h3,*:not(.callout) > h4,h5"},"toggle-chapters":{},"expandable-chapters":{}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Hivemall User Manual","links":{"sidebar":{"<i class=\"fa fa-home\"></i> Home":"http://hivemall.incubator.apache.org/"}},"gitbook":"3.x.x","description":"User Manual for Apache Hivemall"},"file":{"path":"binaryclass/news20_scw.md","mtime":"2017-07-20T11:24:46.000Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-09-13T14:07:31.053Z"},"basePath":"..","book":{"language":""}}); }); </script> </div> http://git-wip-us.apache.org/repos/asf/incubator-hivemall-site/blob/a98b42f8/userguide/binaryclass/titanic_rf.html ---------------------------------------------------------------------- diff --git a/userguide/binaryclass/titanic_rf.html b/userguide/binaryclass/titanic_rf.html index 04732e4..e3d3211 100644 --- a/userguide/binaryclass/titanic_rf.html +++ b/userguide/binaryclass/titanic_rf.html @@ -244,7 +244,7 @@ <b>1.3.1.</b> - Explicit addBias() for better prediction + Explicit add_bias() for better prediction </a> @@ -707,14 +707,14 @@ - <li class="chapter " data-level="4.1" data-path="../eval/stat_eval.html"> + <li class="chapter " data-level="4.1" data-path="../eval/binary_classification_measures.html"> - <a href="../eval/stat_eval.html"> + <a href="../eval/binary_classification_measures.html"> <b>4.1.</b> - Statistical evaluation of a prediction model + Binary Classification Metrics </a> @@ -743,13 +743,43 @@ </li> - <li class="chapter " data-level="4.2" data-path="../eval/rank.html"> + <li class="chapter " data-level="4.2" data-path="../eval/multilabel_classification_measures.html"> - <a href="../eval/rank.html"> + <a href="../eval/multilabel_classification_measures.html"> <b>4.2.</b> + Multi-label Classification Metrics + + </a> + + + + </li> + + <li class="chapter " data-level="4.3" data-path="../eval/regression.html"> + + <a href="../eval/regression.html"> + + + <b>4.3.</b> + + Regression metrics + + </a> + + + + </li> + + <li class="chapter " data-level="4.4" data-path="../eval/rank.html"> + + <a href="../eval/rank.html"> + + + <b>4.4.</b> + Ranking Measures </a> @@ -758,12 +788,12 @@ </li> - <li class="chapter " data-level="4.3" data-path="../eval/datagen.html"> + <li class="chapter " data-level="4.5" data-path="../eval/datagen.html"> <a href="../eval/datagen.html"> - <b>4.3.</b> + <b>4.5.</b> Data Generation @@ -774,12 +804,12 @@ <ul class="articles"> - <li class="chapter " data-level="4.3.1" data-path="../eval/lr_datagen.html"> + <li class="chapter " data-level="4.5.1" data-path="../eval/lr_datagen.html"> <a href="../eval/lr_datagen.html"> - <b>4.3.1.</b> + <b>4.5.1.</b> Logistic Regression data generation @@ -2331,16 +2361,16 @@ For example, <code>pclass</code> is a categorical variable.</p> <span class="hljs-keyword">FROM</span> ( <span class="hljs-keyword">SELECT</span> t.passengerid, - <span class="hljs-comment">-- hivemall v0.4.1-alpha.2 or before</span> - <span class="hljs-comment">-- tree_predict(p.model, t.features, ${classification}) as predicted</span> <span class="hljs-comment">-- hivemall v0.4.1-alpha.3 or later</span> <span class="hljs-comment">-- tree_predict(p.model_id, p.model_type, p.pred_model, t.features, ${classification}) as predicted</span> <span class="hljs-comment">-- hivemall v0.5-rc.1 or later</span> p.model_weight, tree_predict(p.model_id, p.<span class="hljs-keyword">model</span>, t.features, ${classification}) <span class="hljs-keyword">as</span> predicted + <span class="hljs-comment">-- tree_predict_v1(p.model_id, p.model_type, p.pred_model, t.features, ${classification}) as predicted -- to use the old model in v0.5-rc.1 or later</span> <span class="hljs-keyword">FROM</span> ( <span class="hljs-keyword">SELECT</span> - <span class="hljs-comment">-- model_id, pred_model</span> + <span class="hljs-comment">-- hivemall v0.4.1-alpha.3 or later</span> + <span class="hljs-comment">-- model_id, model_type, pred_model</span> <span class="hljs-comment">-- hivemall v0.5-rc.1 or later</span> model_id, model_weight, <span class="hljs-keyword">model</span> <span class="hljs-keyword">FROM</span> @@ -2354,6 +2384,7 @@ For example, <code>pclass</code> is a categorical variable.</p> ) t2 ; </code></pre> +<div class="panel panel-warning"><div class="panel-heading"><h3 class="panel-title" id="caution"><i class="fa fa-exclamation-triangle"></i> Caution</h3></div><div class="panel-body"><p><code>tree_predict_v1</code> is for the backward compatibility for using prediction models built before <code>v0.5-rc.1</code> on <code>v0.5-rc.1</code> or later.</p></div></div> <h1 id="kaggle-submission">Kaggle submission</h1> <pre><code class="lang-sql"><span class="hljs-keyword">drop</span> <span class="hljs-keyword">table</span> predicted_rf_submit; <span class="hljs-keyword">create</span> <span class="hljs-keyword">table</span> predicted_rf_submit @@ -2451,15 +2482,15 @@ usage: tree_export(string model, const string options, optional <span class="hljs-keyword">FROM</span> ( <span class="hljs-keyword">SELECT</span> t.passengerid, - <span class="hljs-comment">-- hivemall v0.4.1-alpha.2 or before</span> - <span class="hljs-comment">-- tree_predict(p.model, t.features, ${classification}) as predicted</span> <span class="hljs-comment">-- hivemall v0.4.1-alpha.3 or later</span> <span class="hljs-comment">-- tree_predict(p.model_id, p.model_type, p.pred_model, t.features, ${classification}) as predicted</span> <span class="hljs-comment">-- hivemall v0.5-rc.1 or later</span> p.model_weight, tree_predict(p.model_id, p.<span class="hljs-keyword">model</span>, t.features, ${classification}) <span class="hljs-keyword">as</span> predicted + <span class="hljs-comment">-- tree_predict_v1(p.model_id, p.model_type, p.pred_model, t.features, ${classification}) as predicted -- to use the old model in v0.5-rc.1 or later</span> <span class="hljs-keyword">FROM</span> ( <span class="hljs-keyword">SELECT</span> + <span class="hljs-comment">-- hivemall v0.4.1-alpha.3 or later</span> <span class="hljs-comment">-- model_id, model_type, pred_model</span> <span class="hljs-comment">-- hivemall v0.5-rc.1 or later</span> model_id, model_weight, <span class="hljs-keyword">model</span> @@ -2471,8 +2502,7 @@ usage: tree_export(string model, const string options, optional ) t1 <span class="hljs-keyword">group</span> <span class="hljs-keyword">by</span> passengerid -) t2 -; +) t2; <span class="hljs-keyword">create</span> <span class="hljs-keyword">or</span> <span class="hljs-keyword">replace</span> <span class="hljs-keyword">view</span> rf_submit_03 <span class="hljs-keyword">as</span> <span class="hljs-keyword">select</span> @@ -2553,7 +2583,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":"Kaggle Titanic tutorial","level":"6.7","depth":1,"next":{"title":"News20 Multiclass tutorial","level":"7.1","depth":1,"path":"multiclass/news20.md","ref":"multiclass/news20.md","articles":[{"title":"Data preparation","level":"7.1.1","depth":2,"path":"multiclass/news20_dataset.md","ref":"multiclass/news20_dataset.md","articles":[]},{"title":"Data preparation for one-vs-the-rest classifiers","level":"7.1.2","depth":2,"path":"multiclass/news20_one-vs-the-rest_dataset.md","ref":"multiclass/news20_one-vs-the-rest_dataset.md","articles":[]},{"title":"PA","level":"7.1.3","depth":2,"path":"multiclass/news20_pa.md","ref":"multiclass/news20_pa.md","articles":[]},{"title":"CW, AROW, SCW","level":"7.1.4","depth":2,"path":"multiclass/news20_scw.md","ref":"multiclass/news20_scw.md","articles":[]},{"title":"Ensemble learning","level":"7.1.5","depth":2,"path":"multiclass/news20_ensemble.md","ref":"multiclass/news20_ensemble.md","articles":[]},{" title":"one-vs-the-rest classifier","level":"7.1.6","depth":2,"path":"multiclass/news20_one-vs-the-rest.md","ref":"multiclass/news20_one-vs-the-rest.md","articles":[]}]},"previous":{"title":"PA1, AROW, SCW","level":"6.6.2","depth":2,"path":"binaryclass/webspam_scw.md","ref":"binaryclass/webspam_scw.md","articles":[]},"dir":"ltr"},"config":{"plugins":["theme-api","edit-link","github","splitter","sitemap","etoc","callouts","toggle-chapters","anchorjs","codeblock-filename","expandable-chapters","multipart","codeblock-filename","katex","emphasize","localized-footer"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"emphasize":{},"callouts":{},"etoc":{"h2lb":3,"header":1,"maxdepth":3,"mindepth":1,"notoc":true},"github":{"url":"https://github.com/apache/incubator-hivemall/"},"splitter":{},"search":{},"downloadpdf":{"base":"https://github.com/apache/incu bator-hivemall/docs/gitbook","label":"PDF","multilingual":false},"multipart":{},"localized-footer":{"filename":"FOOTER.md","hline":"true"},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"katex":{},"fontsettings":{"theme":"white","family":"sans","size":2,"font":"sans"},"highlight":{},"codeblock-filename":{},"sitemap":{"hostname":"http://hivemall.incubator.apache.org/"},"theme-api":{"languages":[],"split":false,"theme":"dark"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"edit-link":{"label":"Edit","base":"https://github.com/apache/incubator-hivemall/docs/gitbook"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":true},"anchorjs":{"selector":"h1,h2,h3,*:not(.callout) > h4,h5"},"toggle-chapters":{},"expandabl e-chapters":{}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Hivemall User Manual","links":{"sidebar":{"<i class=\"fa fa-home\"></i> Home":"http://hivemall.incubator.apache.org/"}},"gitbook":"3.x.x","description":"User Manual for Apache Hivemall"},"file":{"path":"binaryclass/titanic_rf.md","mtime":"2017-07-05T09:10:51.000Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-07-14T17:59:22.591Z"},"basePath":"..","book":{"language":""}}); + gitbook.page.hasChanged({"page":{"title":"Kaggle Titanic tutorial","level":"6.7","depth":1,"next":{"title":"News20 Multiclass tutorial","level":"7.1","depth":1,"path":"multiclass/news20.md","ref":"multiclass/news20.md","articles":[{"title":"Data preparation","level":"7.1.1","depth":2,"path":"multiclass/news20_dataset.md","ref":"multiclass/news20_dataset.md","articles":[]},{"title":"Data preparation for one-vs-the-rest classifiers","level":"7.1.2","depth":2,"path":"multiclass/news20_one-vs-the-rest_dataset.md","ref":"multiclass/news20_one-vs-the-rest_dataset.md","articles":[]},{"title":"PA","level":"7.1.3","depth":2,"path":"multiclass/news20_pa.md","ref":"multiclass/news20_pa.md","articles":[]},{"title":"CW, AROW, SCW","level":"7.1.4","depth":2,"path":"multiclass/news20_scw.md","ref":"multiclass/news20_scw.md","articles":[]},{"title":"Ensemble learning","level":"7.1.5","depth":2,"path":"multiclass/news20_ensemble.md","ref":"multiclass/news20_ensemble.md","articles":[]},{" title":"one-vs-the-rest classifier","level":"7.1.6","depth":2,"path":"multiclass/news20_one-vs-the-rest.md","ref":"multiclass/news20_one-vs-the-rest.md","articles":[]}]},"previous":{"title":"PA1, AROW, SCW","level":"6.6.2","depth":2,"path":"binaryclass/webspam_scw.md","ref":"binaryclass/webspam_scw.md","articles":[]},"dir":"ltr"},"config":{"plugins":["theme-api","edit-link","github","splitter","sitemap","etoc","callouts","toggle-chapters","anchorjs","codeblock-filename","expandable-chapters","multipart","codeblock-filename","katex","emphasize","localized-footer"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"emphasize":{},"callouts":{},"etoc":{"h2lb":3,"header":1,"maxdepth":3,"mindepth":1,"notoc":true},"github":{"url":"https://github.com/apache/incubator-hivemall/"},"splitter":{},"search":{},"downloadpdf":{"base":"https://github.com/apache/incu bator-hivemall/docs/gitbook","label":"PDF","multilingual":false},"multipart":{},"localized-footer":{"filename":"FOOTER.md","hline":"true"},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"katex":{},"fontsettings":{"theme":"white","family":"sans","size":2,"font":"sans"},"highlight":{},"codeblock-filename":{},"sitemap":{"hostname":"http://hivemall.incubator.apache.org/"},"theme-api":{"languages":[],"split":false,"theme":"dark"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"edit-link":{"label":"Edit","base":"https://github.com/apache/incubator-hivemall/docs/gitbook"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":true},"anchorjs":{"selector":"h1,h2,h3,*:not(.callout) > h4,h5"},"toggle-chapters":{},"expandabl e-chapters":{}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Hivemall User Manual","links":{"sidebar":{"<i class=\"fa fa-home\"></i> Home":"http://hivemall.incubator.apache.org/"}},"gitbook":"3.x.x","description":"User Manual for Apache Hivemall"},"file":{"path":"binaryclass/titanic_rf.md","mtime":"2017-07-20T09:43:22.000Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-09-13T14:07:31.053Z"},"basePath":"..","book":{"language":""}}); }); </script> </div> http://git-wip-us.apache.org/repos/asf/incubator-hivemall-site/blob/a98b42f8/userguide/binaryclass/webspam.html ---------------------------------------------------------------------- diff --git a/userguide/binaryclass/webspam.html b/userguide/binaryclass/webspam.html index e1103ed..0c89d19 100644 --- a/userguide/binaryclass/webspam.html +++ b/userguide/binaryclass/webspam.html @@ -244,7 +244,7 @@ <b>1.3.1.</b> - Explicit addBias() for better prediction + Explicit add_bias() for better prediction </a> @@ -707,14 +707,14 @@ - <li class="chapter " data-level="4.1" data-path="../eval/stat_eval.html"> + <li class="chapter " data-level="4.1" data-path="../eval/binary_classification_measures.html"> - <a href="../eval/stat_eval.html"> + <a href="../eval/binary_classification_measures.html"> <b>4.1.</b> - Statistical evaluation of a prediction model + Binary Classification Metrics </a> @@ -743,13 +743,43 @@ </li> - <li class="chapter " data-level="4.2" data-path="../eval/rank.html"> + <li class="chapter " data-level="4.2" data-path="../eval/multilabel_classification_measures.html"> - <a href="../eval/rank.html"> + <a href="../eval/multilabel_classification_measures.html"> <b>4.2.</b> + Multi-label Classification Metrics + + </a> + + + + </li> + + <li class="chapter " data-level="4.3" data-path="../eval/regression.html"> + + <a href="../eval/regression.html"> + + + <b>4.3.</b> + + Regression metrics + + </a> + + + + </li> + + <li class="chapter " data-level="4.4" data-path="../eval/rank.html"> + + <a href="../eval/rank.html"> + + + <b>4.4.</b> + Ranking Measures </a> @@ -758,12 +788,12 @@ </li> - <li class="chapter " data-level="4.3" data-path="../eval/datagen.html"> + <li class="chapter " data-level="4.5" data-path="../eval/datagen.html"> <a href="../eval/datagen.html"> - <b>4.3.</b> + <b>4.5.</b> Data Generation @@ -774,12 +804,12 @@ <ul class="articles"> - <li class="chapter " data-level="4.3.1" data-path="../eval/lr_datagen.html"> + <li class="chapter " data-level="4.5.1" data-path="../eval/lr_datagen.html"> <a href="../eval/lr_datagen.html"> - <b>4.3.1.</b> + <b>4.5.1.</b> Logistic Regression data generation @@ -2210,7 +2240,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":"Webspam tutorial","level":"6.6","depth":1,"next":{"title":"Data pareparation","level":"6.6.1","depth":2,"path":"binaryclass/webspam_dataset.md","ref":"binaryclass/webspam_dataset.md","articles":[]},"previous":{"title":"AROW","level":"6.5.2","depth":2,"path":"binaryclass/kdd2010b_arow.md","ref":"binaryclass/kdd2010b_arow.md","articles":[]},"dir":"ltr"},"config":{"plugins":["theme-api","edit-link","github","splitter","sitemap","etoc","callouts","toggle-chapters","anchorjs","codeblock-filename","expandable-chapters","multipart","codeblock-filename","katex","emphasize","localized-footer"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"emphasize":{},"callouts":{},"etoc":{"h2lb":3,"header":1,"maxdepth":3,"mindepth":1,"notoc":true},"github":{"url":"https://github.com/apache/incubator-hivemall/"},"sp litter":{},"search":{},"downloadpdf":{"base":"https://github.com/apache/incubator-hivemall/docs/gitbook","label":"PDF","multilingual":false},"multipart":{},"localized-footer":{"filename":"FOOTER.md","hline":"true"},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"katex":{},"fontsettings":{"theme":"white","family":"sans","size":2,"font":"sans"},"highlight":{},"codeblock-filename":{},"sitemap":{"hostname":"http://hivemall.incubator.apache.org/"},"theme-api":{"languages":[],"split":false,"theme":"dark"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"edit-link":{"label":"Edit","base":"https://github.com/apache/incubator-hivemall/docs/gitbook"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":true},"anchorjs":{"s elector":"h1,h2,h3,*:not(.callout) > h4,h5"},"toggle-chapters":{},"expandable-chapters":{}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Hivemall User Manual","links":{"sidebar":{"<i class=\"fa fa-home\"></i> Home":"http://hivemall.incubator.apache.org/"}},"gitbook":"3.x.x","description":"User Manual for Apache Hivemall"},"file":{"path":"binaryclass/webspam.md","mtime":"2016-12-02T08:02:42.000Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-07-14T17:59:22.591Z"},"basePath":"..","book":{"language":""}}); + gitbook.page.hasChanged({"page":{"title":"Webspam tutorial","level":"6.6","depth":1,"next":{"title":"Data pareparation","level":"6.6.1","depth":2,"path":"binaryclass/webspam_dataset.md","ref":"binaryclass/webspam_dataset.md","articles":[]},"previous":{"title":"AROW","level":"6.5.2","depth":2,"path":"binaryclass/kdd2010b_arow.md","ref":"binaryclass/kdd2010b_arow.md","articles":[]},"dir":"ltr"},"config":{"plugins":["theme-api","edit-link","github","splitter","sitemap","etoc","callouts","toggle-chapters","anchorjs","codeblock-filename","expandable-chapters","multipart","codeblock-filename","katex","emphasize","localized-footer"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"emphasize":{},"callouts":{},"etoc":{"h2lb":3,"header":1,"maxdepth":3,"mindepth":1,"notoc":true},"github":{"url":"https://github.com/apache/incubator-hivemall/"},"sp litter":{},"search":{},"downloadpdf":{"base":"https://github.com/apache/incubator-hivemall/docs/gitbook","label":"PDF","multilingual":false},"multipart":{},"localized-footer":{"filename":"FOOTER.md","hline":"true"},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"katex":{},"fontsettings":{"theme":"white","family":"sans","size":2,"font":"sans"},"highlight":{},"codeblock-filename":{},"sitemap":{"hostname":"http://hivemall.incubator.apache.org/"},"theme-api":{"languages":[],"split":false,"theme":"dark"},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"edit-link":{"label":"Edit","base":"https://github.com/apache/incubator-hivemall/docs/gitbook"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":true},"anchorjs":{"s elector":"h1,h2,h3,*:not(.callout) > h4,h5"},"toggle-chapters":{},"expandable-chapters":{}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Hivemall User Manual","links":{"sidebar":{"<i class=\"fa fa-home\"></i> Home":"http://hivemall.incubator.apache.org/"}},"gitbook":"3.x.x","description":"User Manual for Apache Hivemall"},"file":{"path":"binaryclass/webspam.md","mtime":"2017-07-20T09:43:22.000Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2017-09-13T14:07:31.053Z"},"basePath":"..","book":{"language":""}}); }); </script> </div>
