huajie.lee
12-19-2007, 02:14 AM
Hi,
I am currently trying to generate data using SVM. However, the function which i retrieve gives me attributes weights rather than each attribute single support vector.
Please advise how i can change to this settings in Weka. I tried different kernels yet still the same.
Another question, given that I have unbalanced data set of two different class label, can anyone help how could I adjust the weight of these two classes using SVM?
For example, using weather .arff i have 80% of my results are biased to Play=Yes and the rest is No. So how could I adjust these weight.
Please help. Thanks.
***********************************
Just edited:- for the cost, i assume you meant by misclassfying the minority class as:-
0 5 Yes
5 0 No
where my No class data is small. However, when after I have resized them, in the Classifer window while exectuing, the cost matrix i saw is
0 5
1 0
What is the reason for this scenario to appear?
Please advise. Thanks.
-Jason
I am currently trying to generate data using SVM. However, the function which i retrieve gives me attributes weights rather than each attribute single support vector.
Please advise how i can change to this settings in Weka. I tried different kernels yet still the same.
Another question, given that I have unbalanced data set of two different class label, can anyone help how could I adjust the weight of these two classes using SVM?
For example, using weather .arff i have 80% of my results are biased to Play=Yes and the rest is No. So how could I adjust these weight.
Please help. Thanks.
***********************************
Just edited:- for the cost, i assume you meant by misclassfying the minority class as:-
0 5 Yes
5 0 No
where my No class data is small. However, when after I have resized them, in the Classifer window while exectuing, the cost matrix i saw is
0 5
1 0
What is the reason for this scenario to appear?
Please advise. Thanks.
-Jason