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 equival
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
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:
http://n4.nabble.com/estimate
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
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 t
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 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
Hi. Marc,
Thanks so much for your reply.
Have a nice weekend!
Tim
-- Original Message --
From: "Marc Schwartz-3 [via R]"
To: noclue_
Subject: Re: Linux 64-bit R installation problem - "Failed dependencies"
Date: Thu, 7 Oct 2010 05:31:26 -0700 (PDT)
On
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
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:
http://r.789695.n4.nabble.com/How-to-install-R-on-Linux-via-source-compila
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 e
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 libhist
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
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, it
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.
> .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.
__
R-help@r-project.
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 Nabbl
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 conte
>> 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
Se
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.
___
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
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 Nabble.
22 matches
Mail list logo