-
Notifications
You must be signed in to change notification settings - Fork 2
memonews/Mahout-Sentiment-Test
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Abstract: Preparation: cd src/test/resourcez tar -xjf review-imdb.tbz2 tar -xjf review-polarity.tbz2 Setup Eclipse: mvn eclipse:eclipse Import the project an run the train and test phase (Run -> Run configurations ...) Train: com.memonews.mahout.sentiment.SentimentModelTrainer src/test/resources/review-imdb/train target/model com.memonews.mahout.sentiment.SentimentModelTrainer src/test/resources/review-polarity/train target/model Output (imdb example): 25000 training files 0.00 0.00 0.00 0.00 0.0000000 0.0000000 1 0.000 0.00 none 0.00 0.00 0.00 0.00 0.0000000 0.0000000 2 0.000 0.00 none 0.00 0.00 0.00 0.00 0.0000000 0.0000000 3 0.000 0.00 none 0.00 0.00 0.00 0.00 0.0000000 0.0000000 4 0.000 0.00 none 0.00 0.00 0.00 0.00 0.0000000 0.0000000 6 0.000 0.00 none ... Test: com.memonews.mahout.sentiment.SentimentModelTester --input src/test/resources/review-imdb/test/ --model target/model com.memonews.mahout.sentiment.SentimentModelTester --input src/test/resources/review-polarity/test/ --model target/model
About
Mahout Sentiment Test
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published