Skip to content
Snippets Groups Projects
Select Git revision
  • b34772faeb86209615df44b706d54cc33dbaad5f
  • master default
  • ember-ui
3 results

main-lda-m-step.c

Blame
  • user avatar
    Eike Cochu authored
    added patched version of dtm project
    updated dtm analyzer, unfinished
    added sequence to models, topicfull, stores a single sequence
    0aa855ed
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    main-lda-m-step.c 512 B
    #include "gflags.h"
    
    #include "lda.h"
    #include "main.h"
    #include "c2_lib.h"
    
    
    DEFINE_string(model,
    	      "dim",
                  "The function to perform. "
    	      "Can be dtm or dim.");
    DEFINE_string(sentinel_filename,
    	      "",
                  "A sentinel filename.");
    
    DEFINE_string(outname, "", "");
    
    using namespace dtm;
    
    int main(int argc, char* argv[]) {
      google::ParseCommandLineFlags(&argc, &argv, 0);
      
      double l_hood = RunMStep();
      CreateSentinel(FLAGS_sentinel_filename,
    		 l_hood);
    
      return(0);
    }