Re: Embedding mahout in a java app

2011-11-03 Thread siem vaessen
On Nov 2, 2011 12:17 PM, Tharindu Mathew mcclou...@gmail.com wrote: I want to create a java UI tool (based on a web app) that can pick and apply different algorithms available in Mahout to different data sets. we have developed an administrator dashboard which does just that, or to more

Re: Embedding mahout in a java app

2011-11-03 Thread Lance Norskog
Cool! On Thu, Nov 3, 2011 at 7:47 AM, siem vaessen siemvaes...@gmail.com wrote: On Nov 2, 2011 12:17 PM, Tharindu Mathew mcclou...@gmail.com wrote: I want to create a java UI tool (based on a web app) that can pick and apply different algorithms available in Mahout to different data sets.

Embedding mahout in a java app

2011-11-02 Thread Tharindu Mathew
Hi, Is there an API that is available to easily embed Mahout in a java app, feed data and get output? PS: Forgive me if this is a noob question. Still trying to figure out Mahout. -- Regards, Tharindu blog: http://mackiemathew.com/

Re: Embedding mahout in a java app

2011-11-02 Thread Sean Owen
Mahout is written in Java, so 'yes' you can put it in any Java program trivially. Why would it have anything to do with an API? I think you need to be clearer about what you are doing, and probably first have a basic look at the project. On Nov 2, 2011 8:49 AM, Tharindu Mathew mcclou...@gmail.com

Re: Embedding mahout in a java app

2011-11-02 Thread Tharindu Mathew
Hi Sean, I guess with a proper API it just makes it easier. I was hoping you'd point me to a code sample or a tutorial. I only could find everything referring to quick starts which tell how to run a sample, such as

Re: Embedding mahout in a java app

2011-11-02 Thread Sean Owen
The wiki has examples of calling most of the code via Java, and javadoc ought to cover the rest. What are you looking for specifically? Mahout is not one thing. All of it is callable from Java. On Nov 2, 2011 9:21 AM, Tharindu Mathew mcclou...@gmail.com wrote: Hi Sean, I guess with a proper

Re: Embedding mahout in a java app

2011-11-02 Thread JAGANADH G
On Wed, Nov 2, 2011 at 2:51 PM, Tharindu Mathew mcclou...@gmail.com wrote: Hi Sean, I guess with a proper API it just makes it easier. I was hoping you'd point me to a code sample or a tutorial. Hi For detailed code samples and tutorials see the book Mahout in Action. You will get a

Re: Embedding mahout in a java app

2011-11-02 Thread Tharindu Mathew
I want to create a java UI tool (based on a web app) that can pick and apply different algorithms available in Mahout to different data sets. Hence the embedding with java. Obviously, I understand that everything is callable from Java since it's written in Java :). For example, I want to do a

Re: Embedding mahout in a java app

2011-11-02 Thread Sean Owen
I see, the Java interfaces vary from area to area since different algos are different things and sometimes take different input. Generally, the classifiers take in Mahout Vector input, and are Hadoop-based, so you'd be writing some code to run Mahout jobs on Hadoop from your GUI app. Not all are

Re: Embedding mahout in a java app

2011-11-02 Thread Tharindu Mathew
Thanks Sean. Looks like I'll have to dig into the code will start from MahoutDriver. Is there a mode that will work for all algorithms. For example, all algorithms can run on a single node mode or all algorithms run on a hadoop mode ( I know Hadoop has a local mode, but that's not what I'm

Re: Embedding mahout in a java app

2011-11-02 Thread Sean Owen
MahoutDriver is the closest thing to a single point of entry for all the algorithms. It's for command line use but you can see what it does after parsing args. In general, most algorithms use Hadoop, so in general no there is not a Hadoop free mode. Some bits have non Hadoop parts though that's

Re: Embedding mahout in a java app

2011-11-02 Thread Grant Ingersoll
On Nov 2, 2011, at 7:17 AM, Tharindu Mathew wrote: I want to create a java UI tool (based on a web app) that can pick and apply different algorithms available in Mahout to different data sets. Very cool! Keep us posted, as this would be immensely useful! Any chance it will be donated back?

Re: Embedding mahout in a java app

2011-11-02 Thread Tharindu Mathew
Thanks everyone for the encouraging replies. If it's possible I will work on and contribute a clean API that will ease the learning curve of applying Mahout. On Wed, Nov 2, 2011 at 9:40 PM, Matteo Moci mox...@gmail.com wrote: I just found this [1] project. It seems a bit old, and I don't know