Nikolaos Lampovas | 22 Aug 12:40 2014
Picon

Unable to get the values of Support Vectors in SVM Regression

Dear Sir/Madam,

In our application (opentox.ntua.gr), we are using the SVMreg classifier from weka v3.6.0 library for our SVMRegression algorithm.
For the models of this algorithm we would like to be able to produce their pmml files.
Using the .toString() function of the SVMreg classifier we get the coefficients properly but we also need to get the values of the support vectors.
In PMML (http://www.dmg.org/v4-1/SupportVectorMachine.html) they are defined by the <VectorInstance> tag.
We have tried the libSVM classifier and also the SMOreg classifier from the new weka library v3.7.11 but as far as we have seen the support vectors are not available.
How can we solve this issue?


Thank you for any help you can provide
Lampovas Nikolaos
NTUA University
_______________________________________________
Wekalist mailing list
Send posts to: Wekalist <at> list.waikato.ac.nz
List info and subscription status: http://list.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
Suleman Rai | 21 Aug 16:47 2014
Picon

Problem evaluating classifier C<=0 error

I am using LIBSVM as my classifier and using a linear kernel for my testing. I am trying to loop through the cost parameter changing it from 1.0 to 1.2 with a step size of 0.1. I am using the following parameters "C 1.0 1.2 0.1" in the CV parameter list. I am getting the above mentioned error. Below is the error log : 


Zero Weights processed. Default weights will be used 
java.lang.Exception: Error: C <= 0 
        weka.classifiers.functions.LibSVM.buildClassifier(LibSVM.java:1690) 
        weka.classifiers.meta.CVParameterSelection.findParamsByCrossValidation(CVParameterSelection.java:377) 
        weka.classifiers.meta.CVParameterSelection.findParamsByCrossValidation(CVParameterSelection.java:354) 
        weka.classifiers.meta.CVParameterSelection.buildClassifier(CVParameterSelection.java:628) 
        weka.gui.explorer.ClassifierPanel$16.run(ClassifierPanel.java:1436) 

        at weka.classifiers.functions.LibSVM.buildClassifier(LibSVM.java:1690) 
        at weka.classifiers.meta.CVParameterSelection.findParamsByCrossValidation(CVParameterSelection.java:377) 
        at weka.classifiers.meta.CVParameterSelection.findParamsByCrossValidation(CVParameterSelection.java:354) 
        at weka.classifiers.meta.CVParameterSelection.buildClassifier(CVParameterSelection.java:628) 
        at weka.gui.explorer.ClassifierPanel$16.run(ClassifierPanel.java:1436) 


Can someone please help me with this error? I will really appreciate it.
_______________________________________________
Wekalist mailing list
Send posts to: Wekalist <at> list.waikato.ac.nz
List info and subscription status: http://list.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
Sebastian Müller | 21 Aug 15:14 2014
Picon

Unseen nominal values in testing set

Hi

I use Weka to evaluate a classifier. I my training set, I have a nominal class attribute that can have three values: {-1, 0, 1}. In the testing set, it can be that from these three possible values, only two are available: {-1, 1}.

If this is the case, Weka throws an Exception and I can't evaluate the classifier. Why is this the case? I would understand it if my testing set has values that are not in the training set, but here it is the other way round. Are there any workarounds? What can I do?

Best regards
Sebastian


_______________________________________________
Wekalist mailing list
Send posts to: Wekalist <at> list.waikato.ac.nz
List info and subscription status: http://list.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
Lucas de Andrade | 21 Aug 19:27 2014
Picon

RandomForest for Regression

Is there any implementation of RandomForest for Regression on Weka?

Best Regards
 
Lucas Andrade
 
 
_______________________________________________
Wekalist mailing list
Send posts to: Wekalist <at> list.waikato.ac.nz
List info and subscription status: http://list.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
Nizar Mabroukeh | 21 Aug 17:09 2014
Picon

periodicity in weka timeseries forecasting

Hi

I am trying to use the timeseries forecasting package in my jython code and I cannot find the methods in the API to set the periodicty (similar to the GUI periodicity options).
I can see the setMinLag and setMaxLag, are these used to set the periodicity? what about auto detection of periodicity?

Can you please advise?

Thank you,

Nizar

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

image processing using Weka

Hi there


It is my first time to use Weka.


I am doing a project which requires the use Weka for image processing. I need to use the Haralick features.

What I realised  Weka processes texts and number.​ Can you help me on how to do that?


Thank you


OM
_______________________________________________
Wekalist mailing list
Send posts to: Wekalist <at> list.waikato.ac.nz
List info and subscription status: http://list.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
khlil ibrahim | 20 Aug 17:47 2014
Picon

(no subject)

I like to deleat me from waika list

_______________________________________________
Wekalist mailing list
Send posts to: Wekalist <at> list.waikato.ac.nz
List info and subscription status: http://list.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
ch raju | 20 Aug 15:40 2014
Picon

Cannot handle numeric attributes!

Hi,
I am facing issues in classifying the text data. I am using HNB algorithm for classification and following filters for preprocessing the data.

NominalToString
StringToWordVector
NumericToNominal for converting class attribute to nominal(0,1)
 
Getting the following error while evaluating the model
weka.core.UnsupportedAttributeTypeException: weka.classifiers.bayes.HNB: Cannot handle numeric attributes!
at weka.core.Capabilities.test(Capabilities.java:973)
at weka.core.Capabilities.test(Capabilities.java:887)
at weka.core.Capabilities.test(Capabilities.java:1108)

Attaching the java file and data file for reference.

Weka version: 3.7.11

--
Thanks & Regards,
Raju Chinthala

Attachment (sample3.csv): text/csv, 3918 bytes
Attachment (Classifier.java): text/x-java, 3327 bytes
_______________________________________________
Wekalist mailing list
Send posts to: Wekalist <at> list.waikato.ac.nz
List info and subscription status: http://list.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
Blandine Ouikotan | 19 Aug 21:31 2014

question

Dear,
I would like to ask a question. I am a beginner in Weka and I want to know how to convert a dataset in Excel to an artff file to be used by Weka
 
Blandine Ouikotan
_______________________________________________
Wekalist mailing list
Send posts to: Wekalist <at> list.waikato.ac.nz
List info and subscription status: http://list.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
Alicja Piotrkowicz | 19 Aug 09:22 2014
Picon

CVParameterSelection not working with LibSVM on command line

Hello,

I'm trying to learn parameters for LibSVM using CVParameterSelection,
but when I run the following commands (copied from the Explorer and
added training file etc.) in the command line:

java weka.classifiers.meta.CVParameterSelection -t train-file -P "C
500.0 1500.0 3.0" -X 10 -S 1 -W weka.classifiers.functions.LibSVM -- -S
0 -K 2 -D 3 -G 0.0 -R 0.0 -N 0.5 -M 40.0 -C 1.0 -E 0.001 -P 0.1 -model
model-home -seed 1 > out-file

and 

java weka.classifiers.meta.CVParameterSelection -t train-file -P "C
500.0 1500.0 3.0" -X 10 -S 1 -W weka.Run LibSVM -- -S 0 -K 2 -D 3 -G 0.0
-R 0.0 -N 0.5 -M 40.0 -C 1.0 -E 0.001 -P 0.1 -model model-home -seed 1 >
out-file

I get these error messages:

Weka exception: Can't find class called:
weka.classifiers.functions.LibSVM

and 

Weka exception: Can't find class called: weka.Run

I have LibSVM installed and I can run CVParameterSelection on LibSVM
with the same parameters in the Explorer, but it doesn't work on the
command line. 

I'm using Weka 3.7.11.

Best,

Alicja

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

sayeh | 18 Aug 07:33 2014

network traffic classification

Hi everybody,
I'm working on a project and I want to perform network traffic
classification by using weka.could extract flow-level features using
netmate, but I don't know how to classify the traffic. In ather words, which
feature should traffic be cassified on? and how to extract it?
thanks in advance
sayeh 

--
View this message in context: http://weka.8497.n7.nabble.com/network-traffic-classification-tp31926.html
Sent from the WEKA mailing list archive at Nabble.com.
_______________________________________________
Wekalist mailing list
Send posts to: Wekalist <at> list.waikato.ac.nz
List info and subscription status: http://list.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html


Gmane