Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Machine learning challenge: diagnosing program in java/groovy (datamining, machine learning)

Tags:

I'm planning to develop program in Java which will provide diagnosis. The data set is divided into two parts one for training and the other for testing. My program should learn to classify from the training data (BTW which contain answer for 30 questions each in new column, each record in new line the last column will be diagnosis 0 or 1, in the testing part of data diagnosis column will be empty - data set contain about 1000 records) and then make predictions in testing part of data :/

I've never done anything similar so I'll appreciate any advice or information about solution to similar problem.

I was thinking about Java Machine Learning Library or Java Data Mining Package but I'm not sure if it's right direction... ? and I'm still not sure how to tackle this challenge...

Please advise.

All the best!

like image 225
Registered User Avatar asked Dec 03 '09 00:12

Registered User


People also ask

What do you mean by machine learning explain the challenges of machine learning?

Machine learning (ML) is a type of artificial intelligence (AI) that allows software applications to become more accurate at predicting outcomes without being explicitly programmed to do so. Machine learning algorithms use historical data as input to predict new output values.


2 Answers

I strongly recommend you use Weka for your task
Its a collection of machine learning algorithms with a user friendly front-end which facilitates a lot of different kinds of feature and model selection strategies
You can do a lot of really complicated stuff using this without really having to do any coding or math
The makers have also published a pretty good textbook that explains the practical aspects of data mining
Once you get the hang of it, you could use its API to integrate any of its classifiers into your own java programs

like image 111
Aditya Mukherji Avatar answered Oct 13 '22 20:10

Aditya Mukherji


Hi As Gann Bierner said, this is a classification problem. The best classification algorithm for your needs I know of is, Ross Quinlan algorithm. It's conceptually very easy to understand.

For off-the-shelf implementations of the classification algorithms, the best bet is Weka. http://www.cs.waikato.ac.nz/ml/weka/. I have studied Weka but not used, as I discovered it a little too late.

I used a much simpler implementation called JadTi. It works pretty good for smaller data sets such as yours. I have used it quite a bit, so can confidently tell so. JadTi can be found at:

http://www.run.montefiore.ulg.ac.be/~francois/software/jaDTi/

Having said all that, your challenge will be building a usable interface over web. To do so, the dataset will be of limited use. The data set basically works on the premise that you have the training set already, and you feed the new test dataset in one step, and you get the answer(s) immediately.

But my application, probably yours also, was a step by step user discovery, with features to go back and forth on the decision tree nodes.

To build such an application, I created a PMML document from my training set, and built a Java Engine that traverses each node of the tree asking the user to give an input (text/radio/list) and use the values as inputs to the next possible node predicate.

The PMML standard can be found here: http://www.dmg.org/ Here you need the TreeModel only. NetBeans XML Plugin is a good schema-aware editor for PMML authoring. Altova XML can do a better job, but costs $$.

It is also possible to use an RDBMS to store your dataset and create the PMML automagically! I have not tried that.

Good luck with your project, please feel free to let me know if you need further inputs.

like image 25
srini.venigalla Avatar answered Oct 13 '22 19:10

srini.venigalla