hpandeycodeit commented on issue #432: MADLIB-1351 : Added stopping criteria on 
perplexity to LDA
URL: https://github.com/apache/madlib/pull/432#issuecomment-547549917
 
 
   > DROP TABLE IF EXISTS documents_tf, documents_tf_vocabulary;
   > 
   > SELECT madlib.term_frequency('documents',    -- input table
   >                              'docid',        -- document id column
   >                              'words',        -- vector of words in document
   >                              'documents_tf', -- output documents table 
with term frequency
   >                              TRUE);
   
   @fmcquillan99 I don't see a verbose output when I am running the above 
query. Are you running it in  GPDB or postgres?
   
   ```
   postgres=# DROP TABLE IF EXISTS documents_tf, documents_tf_vocabulary;
   DROP TABLE
   postgres=# 
   postgres=# SELECT madlib.term_frequency('documents',    -- input table
   postgres(#                              'docid',        -- document id column
   postgres(#                              'words',        -- vector of words 
in document
   postgres(#                              'documents_tf', -- output documents 
table with term frequency
   postgres(#                              TRUE);          
                                         term_frequency                         
             
   
------------------------------------------------------------------------------------------
    Term frequency output in table documents_tf, vocabulary in table 
documents_tf_vocabulary
   (1 row)
   
   postgres=# 
   
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to