RE: need help on using Linear SMO
Hasan, Quazi M <quazimainul.hasan <at> mavs.uta.edu>
2010-11-01 14:48:14 GMT
Thanks for your response. Below you will find your question's answers:
1. How many classes has your data got?
Ans:I have 100 class labels.
2. Have you tried different values for the complexity parameter (c), turning off normalization (or
normalizing the vector length with weka.filters.unsupervised.instance.Normalize)?
->For Complexity Parameter, I tried to use different values but, the highest accuracy I got after that is
49%. How will choose the value for "C" or on what basis do I need to vary the values of "C"?
->Normalization: I haven't tried normalization. What does normalization do? My features are numeric
values, which are frequency of words in text document.
3.How does NaiveBayesMultinomial perform on your data?
->With NaiveBayesMultinomial, I got 84% accuracy. Now to compare the result with NaiveBayes I'm using
SVM. SVM should perform better than NaiveBayes right?
4. Do I have to also set the epsilon value in Linear SVM? How will choose or try the different values of
Epsilon? Is there any boundary or base to select that value? Please help me.
From: wekalist-bounces <at> list.scms.waikato.ac.nz
[mailto:wekalist-bounces <at> list.scms.waikato.ac.nz] On Behalf Of Mark Hall
Sent: Monday, November 01, 2010 3:33 AM
To: Weka machine learning workbench list.
Subject: Re: [Wekalist] need help on using Linear SMO
On 30/10/10 9:07 AM, Hasan, Quazi M wrote:
> Hello Everyone,
> I am trying to use Linear SMO for my text classification. I did the
> following things to make it Linear:
> *SMO smoClassifier = new SMO();*
> *PolyKernel polyK = new PolyKernel();*
> *Evaluation eval = new Evaluation(trainData);*
> *eval.evaluateModel(smoClassifier, testInstances);*
> But, I'm getting very low *accuracy(26%).* Here the attributes in the
> arff file are all numeric values (the frequency of words). Could
> anyone tell me what I'm doing wrong?
> Thanks in advance.
How many classes has your data got? Have you tried different values for the complexity parameter (c),
turning off normalization (or normalizing the vector length with
How does NaiveBayesMultinomial perform on your data?
Wekalist mailing list
Send posts to: Wekalist <at> list.scms.waikato.ac.nz
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