[R] mlbench xor

Uwe Ligges ligges at statistik.uni-dortmund.de
Fri Jun 17 14:00:44 CEST 2005


Thorstensen Nicolas wrote:

> HI!
> 
> I have 2D feature vectors and 2 classes. I want to solve this 
> classification problem with SVM. I create an object XOR of the mlbench 
> library.
> Then I replace the values of the XOR object with my values. Then I do a 
> plot and I have my data plotted and coloured with the labels from the 
> XOR object. So I replace the class labels
> in the xor object with my class labels. But when I do a plot with the 
> new class labels every object is coloured in one colour. But half of the 
> points should be in different colour(because different class label). As 
> well when I apply svm on the xor object with th replaced data it finds 
> just one class.
> 
> someone any idea

No, almost impossible without having a reproducible example ....

Uwe Ligges

> thx
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list