1 Nov 2010 09:33
Re: need help on using Linear SMO
Mark Hall <mhall <at> pentaho.com>
2010-11-01 08:33:23 GMT
2010-11-01 08:33:23 GMT
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();* > > ** > > *polyK.setUseLowerOrder(false);* > > *polyK.setExponent(1.0);* > > *smoClassifier.setKernel(polyK);* > > *smoClassifier.buildClassifier(data);* > > *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.(Continue reading)
RSS Feed