Re: classification in standalone application in Apache Mahout 0.9

2014-03-03 Thread Sebastian Schelter
Its certainly possible to run Hadoop on a single machine, but it will give you terrible performance. We don't have a single machine implementation of naive bayes, so I'd really suggest you use the logistic regression code. --sebastian On 03/03/2014 03:15 PM, Hollow Quincy wrote: You are righ

Re: classification in standalone application in Apache Mahout 0.9

2014-03-03 Thread Hollow Quincy
You are right. I want to call my program on single machine in classic "public static void main()" standalone application. In my opinion Naive Bayes Classification would suit great to my problem. Is there a way to call it from my java code ? I cannot find any example.. Thanks for help 2014-03-03 1

Re: classification in standalone application in Apache Mahout 0.9

2014-03-03 Thread Sebastian Schelter
If you don't want to call a shell, I assume you don't want to use a Hadoop cluster, right? In that case, you should rather try Mahout's logistic regression classifier, which is tuned for usage on a single machine. --sebastian On 03/03/2014 03:07 PM, Hollow Quincy wrote: I am looking for simp

classification in standalone application in Apache Mahout 0.9

2014-03-03 Thread Hollow Quincy
I am looking for simple example in Java (without any shell call) how to use NaiveBayesClassifier in Apache Mahout 0.9. I have a samples of text. I want to learn algorithm base on this data and that I want to classify a new text. class Main { public static void main(String[] args) { //