search for: symbolpalett

Displaying 5 results from an estimated 5 matches for "symbolpalett".

Did you mean: symbolpalette
2006 Jan 18
2
Help with plot.svm from e1071
...,2]) > m <- svm(class~., data=spiral) > plot(m, spiral) Error in -x$index : invalid argument to unary operator So we delve into e1071:::plot.svm. When I run the code in plot.svm everything is fine up until points(formula, data = data[-x$index, ], pch = dataSymbol, col = symbolPalette[colind[-x$index]]) That gives me the same error message, "Error in -x$index : invalid argument to unary operator". The weird thing is that I can run either of the those statements in isolation data[-x$index, ] symbolPalette[colind[-x$index]] and neither gives me an error. I looked in the...
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
...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
2006 Jan 19
0
Using svm.plot with mlbench.spirals.
...[,2]) > m <- svm(class~., data=spiral) > plot(m, spiral) Error in -x$index : invalid argument to unary operator So we delve into e1071:::plot.svm. When I run the code in plot.svm everything is fine up until points(formula, data = data[-x$index, ], pch = dataSymbol, col = symbolPalette[colind[-x$index]]) That gives me the same error message, "Error in -x$index : invalid argument to unary operator". The weird thing is that I can run either of the those statements in isolation data[-x$index, ] symbolPalette[colind[-x$index]] and neither gives me an error. I looked in the...
2008 Jan 03
0
Svm formula
...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