[R] SVD, UV-Decomposition and NMF

2011-01-10 Thread noclue_
I am reading the Mining of Massive Datasets Book by Rajaraman and Ullman. It has a good explanation of Recommendation System at Chapter 9. But what are the relationship between 1) SVD (Singular Decomposition) 2) UV-Decomposition 3) NMF (Non-negative Matrix Factorization) In particular,

[R] biglm: how it handles large data set?

2010-10-31 Thread noclue_
I am trying to figure out why 'biglm' can handle large data set... According to the R document - biglm creates a linear model object that uses only p^2 memory for p variables. It can be updated with more data using update. This allows linear regression on data sets larger than memory. After

[R] R installation failed on SUSE Linux -- libreadline.so.6 needed

2010-10-18 Thread noclue_
I think that I have successfully installed libreadline.so.6. But still got an error -- libreadline.so.6 needed during R installation on SUSE Linux. help is really appreciated! === # ls -lt /usr/local/lib total 4088 -rw-r--r-- 1 root root 168858 Oct 18 07:15

[R] yum install - not working for installing R on Linux

2010-10-17 Thread noclue_
I am trying to install R on Linux (Redhat 4). But 'yum' does not seem to work... thanks for your help/hints/suggestions in advance! $ sudo cat /proc/version Linux version 2.6.34.6-54.24.amzn1.i686 (mockbu...@build-31003.build) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP

[R] How to install R on Linux via source compilation?

2010-10-17 Thread noclue_
How to install R on Linux via source compilation? Has anybody done it? I could not find step by step instructions online. I would appreciate if you could share your experience. Thanks. -- View this message in context:

Re: [R] yum install - not working for installing R on Linux

2010-10-17 Thread noclue_
Thanks. Marc! I tried using 'sudo yum install R' - but got the following error -- $ sudo yum install R Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile Setting up Install Process No package R available. Error: Nothing to do - will look into

Re: [R] Linux 64-bit R installation problem - Failed dependencies

2010-10-08 Thread noclue_
Hi. Marc, Thanks so much for your reply. Have a nice weekend! Tim -- Original Message -- From: Marc Schwartz-3 [via R] ml-node+2966675-202718177-75...@n4.nabble.com To: noclue_ tim@netzero.net Subject: Re: Linux 64-bit R installation problem - Failed dependencies Date: Thu

[R] Linux 64-bit R installation problem - Failed dependencies

2010-10-07 Thread noclue_
I am trying to install 64 bit R on Linux. But I got the following error - rpm -i R-core-2.10.0-2.fc11.x86_64.rpm warning: R-core-2.10.0-2.fc11.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 97d3544e error: Failed dependencies: /bin/bash is needed by R-core-2.10.0-2.fc11.x86_64

[R] R: rulefit error on Linux

2010-10-07 Thread noclue_
R version 2.8.1 (2008-12-22) on Linux 64-bit I am trying to run 'rulefit' function (Rule based Learning Ensembles). but I got the following error - rulefit(x,y) Warning: This program is an suid-root program or is being run by the root user. The full text of the error or warning message cannot

[R] Decision Tree in Python or C++?

2010-09-04 Thread noclue_
Have anybody used Decision Tree in Python or C++? (or written their own decision tree implementation in Python or C++)? My goal is to run decision tree on 8 million obs as training set and score 7 million in test set. I am testing 'rpart' package on a 64-bit-Linux + 64-bit-R environment. But

Re: [R] Looking for an image (R 64-bit on Linux 64-bit) on Amazon EC2

2010-08-28 Thread noclue_
Thanks! But how could I find out their names on Amazon EC2? -- View this message in context: http://r.789695.n4.nabble.com/Looking-for-an-image-R-64-bit-on-Linux-64-bit-on-Amazon-EC2-tp2338938p2357731.html Sent from the R help mailing list archive at Nabble.com.

[R] Looking for an image (R 64-bit on Linux 64-bit) on Amazon EC2

2010-08-25 Thread noclue_
I have found an existing image on Amazon EC2 including R. But unfortunately, it is 32-bit R on 32-bit Linux. Does anybody know if there exists an mage (R 64-bit on Linux 64-bit) on Amazon EC2? Or how can I install 64-bit R on my own Linux instance there? Thanks. -- View this message in

Re: [R] Looking for an image (R 64-bit on Linux 64-bit) on Amazon EC2

2010-08-25 Thread noclue_
You have a 64 bit Linux? If so... Dowload the sources Do you mean download Linux kernel source code and then compile it on Amazon EC2? -- View this message in context: http://r.789695.n4.nabble.com/Looking-for-an-image-R-64-bit-on-Linux-64-bit-on-Amazon-EC2-tp2338938p2339072.html Sent

Re: [R] 64-bit R on 64-bit Windows box... Still not enough memory?!

2010-08-06 Thread noclue_
.Machine$sizeof.pointer [1] 4 -- View this message in context: http://r.789695.n4.nabble.com/64-bit-R-on-64-bit-Windows-box-Still-not-enough-memory-tp2315742p2316493.html Sent from the R help mailing list archive at Nabble.com. __

Re: [R] 64-bit R on 64-bit Windows box... Still not enough memory?!

2010-08-06 Thread noclue_
sorry I opened a previous R version. Here is my 64-bit R session - .Machine$sizeof.pointer [1] 8 -- View this message in context: http://r.789695.n4.nabble.com/64-bit-R-on-64-bit-Windows-box-Still-not-enough-memory-tp2315742p2316970.html Sent from the R help mailing list archive at

[R] 64-bit R on 64-bit Windows box... Still not enough memory?!

2010-08-05 Thread noclue_
I have a 64-bit windows box - Intel Xeon CPU E7340 @ 2.4GHz 31.9GB of RAM I have R 2.11.1 (64bit) running on it. My csv data is 3.6 GB (with about 15 million obs, 120 variables.) I have successfully imported the data above into R. No problem.

[R] How to generate PDF help file for our internal R package?

2010-07-17 Thread noclue_
Currently, we have developed an R package for our company's internal use (at least for now). I have successfully built the package and generated zip file which can be easily installed. However, I am not sure how to generate the big HELP file in PDF. Right now, I have about 30+ Rd files for

[R] R: Collaborative Filtering

2010-06-10 Thread noclue_
Is Collaborative Filtering available in R? It seems I could not find any R package implementing Collaborative Filtering? Thanks! -- View this message in context: http://r.789695.n4.nabble.com/R-Collaborative-Filtering-tp2249934p2249934.html Sent from the R help mailing list archive at

[R] kknn and logistic regression: how to cross-validate binary prediction

2010-03-15 Thread noclue_
I am comparing kknn and logistic regression for binary outcome prediction - For kknn, I can do - kknn_-kknn(out_come ~ age + gender , learn_, valid_) fit-fitted(kknn_) table(valid_$out_come, fit) to get validation results in cross-tabulation. - For logistic, how can I do the

[R] binary response: from p_hat to 0, 1

2010-03-15 Thread noclue_
I am using PROC LOGISTIC to model binary outcomes. I have observed Y (1 or 0) from original data. I also have got predicted probability for each observation (i.e. predicted probability of event Y=1) from PROC LOGISTIC. Let us call it - p_hat. for example, I would have two columns - Y p_hat

[R] How to dynamically display title for a graph

2010-01-04 Thread noclue_
I have written a function (see below) which encloses a boxplot. My function xbox takes in a variable name (such as age), and do a boxplot. Now I would like to add a title for the graph dynamically displaying the variable name as part of title. But, in reality, the title displays VALUES of my

[R] estimate inverse gaussian in R

2009-12-06 Thread noclue_
I have a one-variable data set in R. The plot of histogram of my numerical variable suggests an inverse gaussian distribution. How can I obtain best estimation for the two parameters of inverse gaussian based on my data? Thanks. -- View this message in context: