Displaying 3 results from an estimated 3 matches for "svsymbol".
Did you mean:
cvsymbol
2008 Jan 04
3
Plot error
Hi all,
I'm trying to plot an svm model and I'm the following error:
> plot(model, data= dados[,-1], formula=formula(dados[,2]~dados[,3]),svSymbol = 1, dataSymbol = 2, symbolPalette = rainbow(4),color.palette = terrain.colors)
Error in terms.default(x) : no terms component
Anyone knows how to solve this???
Best regards,
Pedro Marques
2008 Jan 02
1
Plot.svm error
...C-classification
SVM-Kernel: radial
cost: 1
gamma: 0.083
Number of Support Vectors: 19665
( 8284 7579 1327 943 510 875 147 )
Number of Classes: 7
Levels: (as integer)
2 1 3 7 5 6 4
> class<-factor(dados[,1])
> plot(model, data= dados[,-1], formula= class~.,svSymbol = 1, dataSymbol = 2, symbolPalette = rainbow(4),color.palette = terrain.colors)
Error in Summary.factor(c(2L, 1L, 1L, 1L, 2L, 2L, 2L, 1L, 1L, 2L, 1L, :
min not meaningful for factors
I should be very grateful if someone could help me on this..
Best regards,
Pedro Marques
2008 Jan 03
0
Svm formula
...C-classification
SVM-Kernel: radial
cost: 1
gamma: 0.083
Number of Support Vectors: 19665
( 8284 7579 1327 943 510 875 147 )
Number of Classes: 7
Levels: (as integer)
2 1 3 7 5 6 4
> class<-factor(dados[,1])
> plot(model, data= dados[,-1], formula= class~.,svSymbol = 1, dataSymbol = 2, symbolPalette = rainbow(4),color.palette = terrain.colors)
Error in Summary.factor(c(2L, 1L, 1L, 1L, 2L, 2L, 2L, 1L, 1L, 2L, 1L, :
min not meaningful for factors
Best regards,
Pedro Marques