similar to: How to get w and b in SVR? (package e1071)

Displaying 20 results from an estimated 2000 matches similar to: "How to get w and b in SVR? (package e1071)"

2009 May 29
3
How to replace Inf by zero?
Hi R users, Someone knows how to replace Infinite value by zero. I have a vector with some Inf value and I want to substitute these values by zero to get the mean of the components of the vector. Any idea? Many thanks, Marlene. [[alternative HTML version deleted]]
2011 Sep 16
2
problems to report indexes when I have two min value
Hi, I need to repor the index of a min value of each row in a matrix, but I don't know how to do that when I have more than one min value. Here is my example > dat <- matrix(c(5.4,4.8,5.6,4.8,NA,4.4,4.6,3.4,NA,NA,4,2.4,NA,NA,NA,2),byrow=TRUE,ncol=4) > dat [,1] [,2] [,3] [,4] [1,] 5.4 4.8 5.6 4.8 [2,] NA 4.4 4.6 3.4 [3,] NA NA 4.0 2.4 [4,] NA NA NA 2.0
2010 Feb 01
2
programing problem with for( )
Hi R-users I'm writing a code to run a fuction but I found an error that I can't fix. I reproduced the error with a simple example. The correct answer is k but I can't fill my s matrix. What I'm doing wrong? s<-matrix(data=NA,nrow=1,ncol=5 ) s for(i in 1:5) { k=sqrt(i) s[,i]<-k[i] print(k) } s Thanks in advance, Marlene. [[alternative
2009 Jul 23
0
How to get w in SVR with e1071 package
> > Hi all, > > I need some help about how to calculate w in a SVR in package e1071. > > I have a regression y_i=f(x_i)+e > > where f(*x*)=(w,phi(x))+b > > then go on with the SVR calculation I know that w*=Sum_i=1^n [(á_i - > á*_i)K(x,x_i) ] where á_i and á*_i are the lagrangian multipliers of the > dual form. > > o.k but how I will get it in R? > >
2009 Sep 30
3
programming to calculate variance
Dear R-user Suppose I have the following data y=c(2,1,5,8,11,3,1,7,50,21,33,7,60) x=data.frame(y) for(i in 4:nrow(x)) x[i,] =var(x[i-3:i-1,]) I'm trying to get a new variable with the variance of the 3 previous values (just an example) and with NA in the three first positions. I know that my for() is wrong but I'm not able to find my error. Any idea? Thanks, Marlene.
2012 Feb 07
1
Nuevo paquete SCperf en CRAN
Queridos miembros de la lista, Me gustaría anunciar que el paquete ''SCperf " ya está disponible en CRAN. El paquete implementa diferentes modelos de inventario, el efecto látigo y otras variables de desempeño de la cadena de suministro. Esta es la primera versión del paquete y también es mi primer paquete para R. Sugerencias, informes de errores y otros comentarios son
2010 Jul 19
1
hola
Hola amor! Finalmente llegué a D.C. Ya estoy en el albergue pero el cuarto solo va a ser liberado a la una o tal vez dos de la tarde. Pero no importa al menos ya estoy aqui, ya tomé desayuno que por cierto es horrible. Voy a poder tomar baño y usar un locker por un dolar. Entonces voy a tomar baño guardar mis cosas y salir ya que aqui no hago nada. Cómo fue tu domingo? Cómo está Esteban? El
2011 Dec 01
0
Problemas al instalar R 2.14 en Ubuntu 11.10 - Resuelto!
Disculpen se me escapó el portugués. 2011/11/30 Carlos J. Gil Bellosta <cgb@datanalytics.com> > El problema es que si tienes R instalado en tu $HOME, dependiendo de > la variable de entorno $PATH, uno de los ejecutables se llama primero > al llamar a R. > > Lo más natural sería eliminar R de $HOME ya que tienes instalada la > versión actual "como Dios manda".
2004 Jul 14
2
constrOptim and function with additional parameters?
How can I use a function with some additional input parameters in constrOptim? For example, something like fr <- function(x,a) { ## Rosenbrock Banana function x1 <- x[1] x2 <- x[2] a * (x2 - x1 * x1)^2 + (1 - x1)^2 } where the optimum is to be found w.r.t. x. Calling optim(c(-1.2,1), fr, NULL, a=100) works as expected, but I fail to provide the a=100 in the constrained case:
2011 Apr 29
6
Bigining with a Program of SVR
Hi: I'm starting a research of Support Vector Regression. I want to obtain a model to predict a property A with a set of property B, C, D, ... This problem is very common for example in QSAR models. I want to know some examples and package that could help me in this way. I know about caret and e1071. But I' don't know if this package can work with continues variables.?
2016 Jun 15
5
Hadoop
Hola buenas, me preguntaba si alguno usa hadoop Spark en su día día y si me podíais recomendar un buen curso para empezar. Estuve en la charla de meetup de madrid hace unos meses de Rspark y estuvo bien, ahora me preguntaba si es posible profundizar. Pero me gustaría tener recomendaciones de cualquier material que podáis recomendar, cursos de coursera que hayais hecho, libros que hayais leido,
2011 Jan 13
1
question about svm(e1071)
Dear all, I executed svm calculation using e1071 library with a microarray data (http://www.iu.a.u-tokyo.ac.jp/~kadota/R/data_Singh_RMA_3274.txt). Then, I shuffled the data samples and executed svm calculation again. The results of 2 calculation were different (in SV, coefs and weights). I attached the script below. Could please tell me why this happens? If possible please tell me how to make
2009 Jun 23
9
Learning FXRuby please help!
Hi all, I''m trying to get text on to the screen in response to pressing a button. This code doesn''t work, and I don''t know why. My puts command says that the window is shown, but it''s not displayed. Also, it seems to me that there should be an easier way to get text on a screen in response to pressing a button. Any hints? Thanks! Marlene require
2010 Jul 09
1
interpretation of svm models with the e1071 package
Dear all, after having calibrated a svm model through the svm() command of the e1071 package, is there a way to i) represent the modeled relationships between the y and X variables (response variable vs. predictors)? ii) rank the influence of the predictors used in the model? Right now I am more interested in regression models, but I guess this would be useful for classification too. Thank
2003 Jan 31
1
svm regression in R
Hallo, I have a question concerning SVM regression in R. I intend to use SVMs for feature selection (and knowledge discovery). For this purpose I will need to extract the weights that are associated with my features. I understand from a previous thread on SVM classification, that predictive models can be derived from SVs, coefficiants and rhos, but it is unclear for me how to transfer this
2018 Mar 02
0
release of SCperf 1.1.1 and bullwhipgame packages
Dear R users. I'm pleased to announce the release of *SCperf* 1.1.1 and *bullwhipgame* packages on CRAN. The *SCperf* package implements functions for planning and managing Inventories in a Supply Chain: https://CRAN.R-project.org/package=SCperf <https://cran.r-project.org/package=SCperf> And the *bullwhipgame* is a shiny app demo of the bullwhip effect, the increase in demand
2018 Mar 02
0
release of SCperf 1.1.1 and bullwhipgame packages
Dear R users. I'm pleased to announce the release of *SCperf* 1.1.1 and *bullwhipgame* packages on CRAN. The *SCperf* package implements functions for planning and managing Inventories in a Supply Chain: https://CRAN.R-project.org/package=SCperf <https://cran.r-project.org/package=SCperf> And the *bullwhipgame* is a shiny app demo of the bullwhip effect, the increase in demand
2005 Jul 24
1
RPC protocol error with one user on login (64 bit svr 2003 client - samba 3.0.14a PDC)
This user is attemting to log in on a win2003 64 bit client to a PDC running 3.0.14a. The user is able to log on on another machine (32 bit, I don't have another 64 bit machine) There was a local user with the same username but that user was deleted after adding the machine to the domain. I cannot see an error in a level 5 log from the client. I see nothing in the windows event log. I did
2009 Feb 20
0
e1071 package for SVM
Dear all, I got a code for e1071 package in R for SVM regression. I have used *m$coefs* for extracting the coefficients but I am getting only 72 . How can I extract coefficients of the predictors set? Does it mean that I will get only 72 as *Number of Support Vectors: 72. * ** Thanks in advance Code: -------------- library(e1071) > # create data > x <- seq(0.1, 5,
2003 Nov 16
2
Can not add users to samba 3.0
Hello, I can not seem to get smbpsswd to add any users to samba. No matter if I use the CLI, the Webmin module or SWAT I always get this response when trying to add any user [root@matrix1 samba]# smbpasswd -m -a gerard Failed initialise SAM_ACCOUNT for user gerard$. Failed to modify password entry for user gerard$ I take it this has somehting to do with PAM & or shadow passwords, & I