Displaying 9 results from an estimated 9 matches similar to: "knncat broken on R 2.14?"
2007 Mar 12
1
knncat question
I use knncat to make a predictive model
and get misclass rate
> knncat.m<-knncat(training.new,k=c(10,20),classcol=5)
> knncat.m
Training set misclass rate: 36.88%
then I try to calculate prediction accuracy by the following:
> pr.knncat.train <- predict
(knncat.m,training.new,training.new,train.classcol=5,newdata.classcol=5)
> tb.knncat.train <-table (pr.knncat.train,
2004 Nov 15
1
installing knncat package
Hi all,
I am wondering if anyone has problem installing 'knncat' package. I tried to
install using 'Rcmd INSTALL knncat_1.1.1.tar.gz', error message appeared. I
attached the message in the end. I allso tried to install from RGui, but it
was not listed.
Thanks in advance.
Regards, jenny
---------- Making package knncat ------------
adding build stamp to DESCRIPTION
2009 Oct 19
1
Convert data frame entries to numbers
Hello,
I figure this is quite a simple problem really, but since I'm quite
new to R I need to ask:
If I have a data frame:
str(test) :
$ classcol: Factor w/ 3 levels "1","2","3"
How do I convert the entries in this column to numbers. I.e., I want
to be abl to do simple calculations like test[1,the_column] - test
[2,the_column] without errors.
2004 Jul 08
1
k nearest neighbor prediction
Hi there fellow R-users,
Does anyone know if there is a package for k nearest neighbours prediction
as opposed to classification? I have found the package knncat but can't see
a way to adjust it to predict a continuous variable.
Any help would be great,
Regards
Wayne Jones
KSS Ltd
Seventh Floor St James's Buildings 79 Oxford Street Manchester M1 6SS England
Company
2010 Mar 07
1
category k-means package?
What happened to the category k-means package for performing k-means
clustering on categorical variables? I expected it to become more
prominent after the Netflix Challenge recommendation engine contest
concluded, but instead it seems to have dropped from view. Where was
it and where is it now, and why did it become less visible?
2006 Feb 20
1
Using LAPACK in C-code to be loaded in R - getting-started-help
I want to speed up computations (involving matrices) by writing some C-code to be loaded. In the C-code, I need to invert matrices etc. As I've understood the "writing R extensions" doc, I can use use #include <R_ext/Linpack.h> in my .c-file and get access to linpack's facilities within my C-code.
Is that correct?
If so, can anyone point me to examples on how this is
2006 Jan 20
2
cron job install/update problems: tcltk can't find display (installing e.g., pbatR)
On Fedora Core Linux 4, I have a cron job that causes R to update all
packages and install new ones. Lately, I notice in the log that some
packages fail to install. These are ones that assume X is running.
For example, the pbatR install requires tcltk to be loaded, and then
the install fails because in a cron job, there is no DISPLAY
environment. I suppose the same happens if you try to
2006 Jan 20
2
cron job install/update problems: tcltk can't find display (installing e.g., pbatR)
On Fedora Core Linux 4, I have a cron job that causes R to update all
packages and install new ones. Lately, I notice in the log that some
packages fail to install. These are ones that assume X is running.
For example, the pbatR install requires tcltk to be loaded, and then
the install fails because in a cron job, there is no DISPLAY
environment. I suppose the same happens if you try to
2007 Mar 26
1
Problem in loading all packages all at once
Hi All
Please see the Rprofile file which i have modified as follows and after
that when I start R then I see that R says to me "TRUE" for all the
packages implying that all loaded at once.
But when i try to use commands as simple as help("lm"), it doesnt work nor
any of the menu "Packages" is not working.
Although the regression using lm ( Y ~ X ) is working