From bb0dda9240c5acca0c46cefa059c100360035401 Mon Sep 17 00:00:00 2001 From: mimno Date: Wed, 11 Nov 2015 14:03:00 -0500 Subject: [PATCH] moving windows .bat to new topic trainer --- bin/mallet | 3 +-- bin/mallet.bat | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/bin/mallet b/bin/mallet index a450d4d73..0c3691e96 100755 --- a/bin/mallet +++ b/bin/mallet @@ -30,9 +30,9 @@ Mallet 2.0 commands: train-topics train a topic model from Mallet data files infer-topics use a trained topic model to infer topics for new documents evaluate-topics estimate the probability of new documents under a trained model - hlda train a topic model using Hierarchical LDA prune remove features based on frequency or information gain split divide data into testing, training, and validation portions + bulk-load for big input files, efficiently prune vocabulary and import docs Include --help with any option for more information EOF @@ -52,7 +52,6 @@ case $CMD in train-topics) CLASS=cc.mallet.topics.tui.TopicTrainer;; infer-topics) CLASS=cc.mallet.topics.tui.InferTopics;; evaluate-topics) CLASS=cc.mallet.topics.tui.EvaluateTopics;; - hlda) CLASS=cc.mallet.topics.tui.HierarchicalLDATUI;; prune) CLASS=cc.mallet.classify.tui.Vectors2Vectors;; split) CLASS=cc.mallet.classify.tui.Vectors2Vectors;; bulk-load) CLASS=cc.mallet.util.BulkLoader;; diff --git a/bin/mallet.bat b/bin/mallet.bat index 4668395e0..7e8ae664e 100755 --- a/bin/mallet.bat +++ b/bin/mallet.bat @@ -26,10 +26,9 @@ if "%CMD%"=="train-classifier" set CLASS=cc.mallet.classify.tui.Vectors2Classify if "%CMD%"=="classify-dir" set CLASS=cc.mallet.classify.tui.Text2Classify if "%CMD%"=="classify-file" set CLASS=cc.mallet.classify.tui.Csv2Classify if "%CMD%"=="classify-svmlight" set CLASS=cc.mallet.classify.tui.SvmLight2Classify -if "%CMD%"=="train-topics" set CLASS=cc.mallet.topics.tui.Vectors2Topics +if "%CMD%"=="train-topics" set CLASS=cc.mallet.topics.tui.TopicTrainer if "%CMD%"=="infer-topics" set CLASS=cc.mallet.topics.tui.InferTopics if "%CMD%"=="evaluate-topics" set CLASS=cc.mallet.topics.tui.EvaluateTopics -if "%CMD%"=="hlda" set CLASS=cc.mallet.topics.tui.HierarchicalLDATUI if "%CMD%"=="prune" set CLASS=cc.mallet.classify.tui.Vectors2Vectors if "%CMD%"=="split" set CLASS=cc.mallet.classify.tui.Vectors2Vectors if "%CMD%"=="bulk-load" set CLASS=cc.mallet.util.BulkLoader @@ -49,9 +48,9 @@ echo classify-svmlight classify data from a single file in SVMLight format echo train-topics train a topic model from Mallet data files echo infer-topics use a trained topic model to infer topics for new documents echo evaluate-topics estimate the probability of new documents given a trained model -echo hlda train a topic model using Hierarchical LDA echo prune remove features based on frequency or information gain echo split divide data into testing, training, and validation portions +echo bulk-load for big input files, efficiently prune vocabulary and import docs echo Include --help with any option for more information