Github user myui commented on the issue:
https://github.com/apache/incubator-hivemall/pull/66
@takuti If you are going to create predict UDAF, better to rename to `lda`
to `train_lda`.
Prediction expected to have feature vector as input and a predicted topic
(& a posterior pr
Github user myui commented on the issue:
https://github.com/apache/incubator-hivemall/pull/66
@takuti What's the usage to predict topics?
```sql
WITH test as (
select
docid,
word,
count(word) as value
from (
select 1 as docid, "Fr
Github user coveralls commented on the issue:
https://github.com/apache/incubator-hivemall/pull/66
[![Coverage
Status](https://coveralls.io/builds/10935088/badge)](https://coveralls.io/builds/10935088)
Coverage increased (+0.3%) to 37.008% when pulling
**e6c24af7487cfe63
Github user takuti commented on the issue:
https://github.com/apache/incubator-hivemall/pull/66
Requirements
```sql
drop temporary function if exists tokenize;
create temporary function tokenize as 'hivemall.tools.text.TokenizeUDF';
drop temporary function
Github user takuti commented on a diff in the pull request:
https://github.com/apache/incubator-hivemall/pull/66#discussion_r109611010
--- Diff: core/src/main/java/hivemall/lda/OnlineLDAModel.java ---
@@ -0,0 +1,464 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF)