similar to: how to handle missing values in the data?

Displaying 20 results from an estimated 100 matches similar to: "how to handle missing values in the data?"

2005 Oct 06
1
how to use tune.knn() for dataset with missing values
Hi Everybody, i again have the problem in using tune.knn(), its giving an error saying missing values are not allowed.... again here is the script for BreastCancer Data, library(e1071) library(mda) trdata<-data.frame(train,row.names=NULL) attach(trdata) xtr <- subset(trdata, select = -Class) ytr <- Class bestpara <-tune.knn(xtr,ytr, k = 1:25, tunecontrol = tune.control(sampling
2005 Oct 24
2
Is 64-bit linux compatible version of 'R' available?
Hi, Is there any 64-bit compatible version of 'R' available? Thanks & Regards, Uttam Phulwale Tata Consultancy Services Limited Mailto: uttam.phulwale@tcs.com Website: http://www.tcs.com [[alternative HTML version deleted]]
2005 Oct 05
1
prediction with nnet function for regression in R
Hi, Good Day Everybody..... Can anybody help me.... I am working with R ...and i am using nnet() function for regression, but after trained model, i m getting all predictions as 0.999999 or 1.0000, why is so, i dont understand? can anybody suggest something...??? Thanks & Regards, Uttam Phulwale Tata Consultancy Services Limited Mailto: uttam.phulwale@tcs.com Website: http://www.tcs.com
2012 Feb 13
0
samba Digest, Vol 110, Issue 12
Hello Williams Thanks for your prompt help, well valid user and write-list were define as got to read but still got confused so can you share me the link of the standard document or mail me that document so that i can go through it and implement on the given scenario. Or if you can share any example configuration then it will be great. I hope for help from you and all experts. Thank You Regards
1999 Nov 03
3
Share problems
First off, here is my smb.conf file: # Samba config file created using SWAT # from gerrym (10.1.1.17) # Date: 1999/11/03 10:53:06 # Global parameters netbios name = PENGUIN security = SERVER encrypt passwords = Yes smb passwd file = /usr/local/samba/bin/smbpasswd log file = /usr/local/samba/lib/samba.log.%m domain groups = adm domain admin group = adm domain admin users = gerrym, root,
2010 Jun 01
1
BreastCancer Dataset for Classification in kknn
Dear All, I'm getting a error while trying to apply the BreastCancer dataset (package=mlbench) to kknn (package=kknn) that I don't understand as I'm new to R. The codes are as follow: rm = (list = ls()) library(mlbench) data(BreastCancer) library(kknn) BCancer = na.omit(BreastCancer) d = dim(BCancer)[1] i1 = seq(1, d, 2) i2 = seq(2, d, 2) t1 = BCancer[i1, ] t2 =
2011 Feb 17
1
missing values in party::ctree
After ctree builds a tree, how would I determine the direction missing values follow by examining the BinaryTree-class object? For instance in the example below Bare.nuclei has 16 missing values and is used for the first split, but the missing values are not listed in either set of factors. (I have the same question for missing values among numeric [non-factor] values, but I assume the answer
2005 Apr 12
7
Samba question
1. Does anyone know what may be happening here? When I try to map a drive from a PC, I get the following error: "The account is not authorized to log in from this station.". I can map the drive just fine from my PC. Does anyone know what may be going on here? Any help would be greatly appreciated. 2. Also, whenever I use SWAT, it takes a long time for the information to be
2009 Apr 01
0
smv() in "e1071" and the BreastCancer data from "mlbench"
R-help, I am trying to perform a basic anlaysis of the BreastCancer data from "mlbench" using the svm() function in "e1071". I use the following code library("e1071") library("mlbench") data(BreastCancer) BC <- subset(BreastCancer, select=-Id) pairs(BC) model <- svm(Class ~ ., data=BC, cross=10) ## plot(model, BC, ) tobj <- tune.svm(Class ~ .,
2009 Nov 16
3
Sum over indexed value
I am sure this is easy but I am not finding a function to do this. I have two columns in a matrix. The first column contains multiple entries of numbers from 1 to 100 (i.e. 10 ones, 8 twos etc.). The second column contains unique numbers. I want to sum the numbers in column two based on the indexed values in column one (e.g. sum of all values in column two associated with the value 1 in column
2010 Apr 30
0
ROC curve in randomForest
require(randomForest) rf.pred<-predict(fit, valid, type="prob") > rf.pred[1:20, ] 0 1 16 0.0000 1.0000 23 0.3158 0.6842 43 0.3030 0.6970 52 0.0886 0.9114 55 0.1216 0.8784 75 0.0920 0.9080 82 0.4332 0.5668 120 0.2302 0.7698 128 0.1336 0.8664 147 0.4272 0.5728 148 0.0490 0.9510 153 0.0556 0.9444 161 0.0760 0.9240 162 0.4564 0.5436 172 0.5148 0.4852 176 0.1730
1999 Dec 13
0
Logon scripts w/samba
I have a logon script for windows clients to preform net time w/my samba server when they logon. The script is called gerry.bat and it is located in the logon directory. But, when any user logs on.... The script is never called. I've attached my smb.conf file. (by the way Im running RH6.0 on an AMD K-7 w/Samba 2.0.5a. THANKS IN ADVANCE!!!! # Samba config file created using SWAT # from
2009 Mar 11
0
problem with rfImpute (package randomForest)
Hello everybody, this is my first request about R so I am sorry if I send it to a bad mail or if I am not very clear. So my problem is about the use of rfImpute from randomForest package. I am interested in imputations of missing values and I read that randomForest can make it. So i write the following code : set.seed(100); library(mlbench) library(randomForest) data(BreastCancer)
2006 Jan 18
0
Loading of namespace on load of .Rdata (was strange behaviourof load)
Apologies - I was not trying to correct you Brian, but to explore how the situation could arise. I'm sure you had a good idea why the namespace (or a reference to it) had been saved, but this was not clear to me and I thought, possibly not to others either. Thanks for putting me right over parent environments vs. enclosures - again I was not trying to correct you with the point I made there,
2006 Jan 18
2
Loading of namespace on load of .Rdata (was strange behaviour of load)
Last week Giovanni Parrinello posted a message asking why various packages were loaded when he loaded an .Rdata file. Brian Ripley replied saying he thought it was because the saved workspace contained a reference to the namespace of ipred. (Correspondence copied below). This begs the question: how did the reference to the namespace of ipred come to be in the .Rdata file? Brian did say it is
2006 Jan 18
0
Loading of namespace on load of .Rdata (was strange behaviour of load)
Last week Giovanni Parrinello posted a message asking why various packages were loaded when he loaded an .Rdata file. Brian Ripley replied saying he thought it was because the saved workspace contained a reference to the namespace of ipred. (Correspondence copied below). This begs the question: how did the reference to the namespace of ipred come to be in the .Rdata file? Brian did say it is
2009 Nov 16
8
extracting the last row of each group in a data frame
Hi, I would like to extract the last row of each group in a data frame. The data frame is as follows Name Value A 1 A 2 A 3 B 4 B 8 C 2 D 3 I would like to get a data frame as Name Value A 3 B 8 C 2 D 3 Thank you for your suggestions in advance Jeff
2008 Apr 03
2
coding for categorical variables with unequal observations
Hi, I am doing multiple regression, and have several X variables that are categorical. I read that I can use dummy or contrast codes for that, but are there any special rules when there're unequal #observations in each groups (4 females vs 7 males in a "gender" variable)? Also, can R generate these codes for me? THanks.
2013 Aug 15
12
[Bug 845] New: checking for LIBNFNETLINK... configure: error: Package requirements (libnfnetlink >= 0.0.41) were not met:
https://bugzilla.netfilter.org/show_bug.cgi?id=845 Summary: checking for LIBNFNETLINK... configure: error: Package requirements (libnfnetlink >= 0.0.41) were not met: Product: libnetfilter_queue Version: unspecified Platform: i386 OS/Version: RedHat Linux Status: NEW Severity: normal
2018 Sep 20
3
A different error in sample()
Good day, The use of "rounding" also doesn't make sense. If The number is halfway between two integers, it is rounded to the nearest even integer. > round(2.5) [1] 2 -------------------------------------- Dario Strbenac University of Sydney Camperdown NSW 2050 Australia