DavidK
DavidK

Reputation: 2564

Parameters of a Weka Classifier

I use Weka. I would like to access the parameters (the weights) of a classifier. What I want to do is to access the values of the parameters to determine how they have an influence on the attributes.

So, my questions are :

Upvotes: 6

Views: 3461

Answers (2)

Nashibukasan
Nashibukasan

Reputation: 2028

If you look at the Weka Documentation there is a section on building a classifier. I am not 100% what parameters you are wanting to set but I believe reading through this should help. I was not able to quickly find the list of Options available, but that would be a good place to look too as I recall some of the options being very useful when I was using Weka a few years back.

EDIT: I believe what you want then are 'attribute weights'. I don't have much experience with them, though I recall seeing these being applied by accompanying XRFF files to alter the data set prior to classification. To find the XRFF attribute weight page I came across this post which may prove useful.

Upvotes: 0

arutaku
arutaku

Reputation: 6087

Here is a related question about weights in WEKA: How to use weights in Weka

And here is an example of java code: http://weka.wikispaces.com/Add+weights+to+dataset

To find out about the relationship between attributes you can use Ranker as a searcher and PrincipalComponents as a evaluator in Selecte attributes tab. And you will get a correlation matrix like this one:

Correlation matrix
  1     -0.11   0.87   0.82 
 -0.11   1     -0.42  -0.36 
  0.87  -0.42   1      0.96 
  0.82  -0.36   0.96   1    

Upvotes: 2

Related Questions