Re: [R] Multiple regression in R

2014-05-29 Thread Safiye Celik
ula to mean "all other columns" so we don't have to specify them explicitly. On 29 May 2014 13:38, Safiye Celik wrote: > I want to perform a multiple regression in R and make predictions based > on the trained model. Below is an example code I am using: > > price =

[R] Multiple regression in R

2014-05-29 Thread Safiye Celik
I want to perform a multiple regression in R and make predictions based on the trained model. Below is an example code I am using: price = c(10,18,18,11,17) predictors = cbind(c(5,6,3,4,5),c(2,1,8,5,6)) predict(lm(price ~ predictors), data.frame(predictors=matrix(c(3,5),nrow=1))) So, based on th

[R] GotoBLAS2 with multiple cores

2013-11-24 Thread Safiye Celik
Hi, I am trying to use GotoBLAS2 on R 3.0 on Unix. I downloaded GotoBLAS2 source code from TACC web site, compiled it, and replaced libRblas.so with libgoto2.so, following the instructions at the link http://www.rochester.edu/college/gradstudents/jolmsted/files/computing/BLAS.pdf. The simple matri

[R] Deterministic initialization for k-means

2013-09-12 Thread Safiye Celik
Hi, I want to cluster my data points into K clusters using k-means algorithm, and I want to use a deterministic (non-random) initialization scheme which is also a "good" start. I found a paper by Ting Su and Jennifer Dy named "A Deterministic Method for Initializing K-means Clustering" and I wonde

Re: [R] Difference between Lloyd and Forgy algorithms used in R built-in kmeans clustering function

2013-06-20 Thread Safiye Celik
ibooks.org/wiki/**Data_Mining_Algorithms_In_R/** > Clustering/K-Means<http://en.wikibooks.org/wiki/Data_Mining_Algorithms_In_R/Clustering/K-Means> > > Regards, > Pascal > > > > On 20/06/13 15:57, Safiye Celik wrote: > >> Hi, >> >> Does anybody know the difference

[R] Difference between Lloyd and Forgy algorithms used in R built-in kmeans clustering function

2013-06-20 Thread Safiye Celik
Hi, Does anybody know the difference between the Lloyd and Forgy algorithms specified for R's kmeans clustering options? I know how Lloyd works, but I cannot access Forgy's paper and could not find any specific information on the web about how it really differs from Lloyd's method. I appreciate y