« Return to Thread: Getting class probabilities w/ SMO

Re: Getting class probabilities w/ SMO

by Mark Hall-9 :: Rate this Message:

Reply to Author | View in Thread

On 2/7/09 5:11 AM, prog_lady wrote:

> First of all, sorry for the naive question i'm new to weka and
> to classification so...
>
> I have trained text data using SMO to classify as positive and negative
> when I test an instance, I would like to get the probability of the
> prediction,
> I was reading that I could do this using -M however when I use this
> option for training, when I do the test I still get the output below,
> which doesn't give a probability of the class prediction, just the
> prediction
> itself.  What am I doing wrong here???
>
> btw this is the command I am using to build the model...
> java -Xmx2048m -classpath /Users/lisa/Desktop/weka-3-5-8/weka.jar
> weka.classifiers.functions.SMO -d /tmp/movie_model.model -c first -t
> movie_training.arff -M

I can't see a problem with how you are applying SMO. Can you post the command
you use to load the model and apply it to your test data?

Cheers,
Mark.



--
Mark Hall
Senior Developer/Consultant, Pentaho Open Source Business Intelligence
Citadel International, Suite 340, 5950 Hazeltine National Dr., Orlando, FL
32822, USA
+64 7 847-3537 office, +64 21 399-132 mobile, +1 815 550-8637 fax,
Skype: mark.andrew.hall, Yahoo: mark_andrew_hall
Download the latest release today <http://www.sourceforge.net/projects/pentaho>


_______________________________________________
Wekalist mailing list
Send posts to: Wekalist@...
List info and subscription status: https://list.scms.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html

 « Return to Thread: Getting class probabilities w/ SMO