How do I use a Classificator?

Try this example:

ClassificationDataSet dataSet = DataSetFactory.IRIS();
 
SVMClassifier svm = new SVMClassifier();
 
svm.train(dataSet);
svm.predict(dataSet);
 
dataSet.showGUI();

If you get an error, you probably need LibSVM in your classpath.

One Comment

  1. REX says:


    MedicamentSpot.com. Canadian Health&Care.No prescription online pharmacy.Special Internet Prices.Best quality drugs. No prescription pills. Order drugs online

    Buy:SleepWell.Seroquel.Cozaar.Zocor.Zetia.Nymphomax.Lipothin.Wellbutrin SR.Lipitor.Female Cialis.Prozac.Female Pink Viagra.Ventolin.Aricept.Acomplia.Advair.Benicar.Lasix.Amoxicillin.Buspar….

Leave a Reply

You must be logged in to post a comment.