similar to: Help,Suggest me some methods to identify training set and test set!!!

Displaying 20 results from an estimated 100 matches similar to: "Help,Suggest me some methods to identify training set and test set!!!"

2013 Apr 07
2
Working with createFolds
Hello! I have a question. I am working with createFolds: folds<- trainControl(method='cv', index=createFolds(data$Score,list = TRUE)) I need to iterate over folds to extract the indexes from each fold. For example, if I do folds$index$Fold01, it contains: 5 11 17 29 44 50 52 64 65 I need to iterate over each $Fold_i to extract the indexes, but I can't do it because I
2011 Oct 02
1
difference between createPartition and createfold functions
Hello, I'm trying to separate my dataset into 4 parts with the 4th one as the test dataset, and the other three to fit a model. I've been searching for the difference between these 2 functions in Caret package, but the most I can get is this-- A series of test/training partitions are created using createDataPartition while createResample creates one or more bootstrap samples.
2011 May 05
1
[caret package] [trainControl] supplying predefined partitions to train with cross validation
Hi all, I run R 2.11.1 under ubuntu 10.10 and caret version 2.88. I use the caret package to compare different models on a dataset. In order to compare their different performances I would like to use the same data partitions for every models. I understand that using a LGOCV or a boot type re-sampling method along with the "index" argument of the trainControl function, one is able to
2012 Sep 26
3
DUDA SOBRE PARTICIÓN DE DATOS PARA VALIDACIÓN CRUZADA
> > Estimados muy buenas quería hacerles unas consulta: Estoy trabajando en mi tesis sobre mejoramiento animal y mi objetivo es evaluar la habilidad predictiva de modelos estadísticos mediante validación cruzada. Pero antes la intención es dividir mi base de datos en 3 partes y quisiera que todos los efectos incluidos en el estudio y cada uno de sus niveles, estén lo más equitativamente
2011 Dec 27
2
How to create a loop and then extract values from the list generated by cor.test
Dear all, I would like to conduct a Pearson's correlation using cor.test separately for each individual in my data set. Each individual has nine observations of the measurement variable 'Delta13C'. I can figure our how to do it manually one 'Individual_ID' at a time, but I cannot figure out how to automate the process (a loop I am guessing). In addition, I would like to
2010 Jan 21
3
cross validation function translated from stata
Hi, everyone: I ask for help about translating a stata program into R. The program perform cross validation as it stated. #1. Randomly divide the data set into 10 sets of equal size, ensuring equal numbers of events in each set #2. Fit the model leaving out the 1st set #3. Apply the fitted model in (2) to the 1st set to obtain the predicted probability of a prostate cancer diagnosis. #4. Repeat
2005 Nov 03
1
Problems with abline adding regression line to a graph
Hello all, R2.1.1, W2k I try to make a plot of a simple regression model in this way: > with(njfA_bcd, { + plot(TC_OS.G31,Prot,cex = 2, col = "red", xlab= "TC/OS at GS32", + ylab="Grain crude protein (CP)") + }) This part works well and produces the datapoints as red circles. When I try to add a line, using a fitted linear model in a way that works perfect
2011 Dec 30
3
good method of removing outliers?
Happy holidays all! I know it's very subjective to determine whether some data is outlier or not... But are there reasonally good and realistic methods of identifying outliers in R? Thanks a lot! [[alternative HTML version deleted]]
2010 Apr 12
1
rpart: Writing values of the leaves to a dateset
I'm fitting a regression tree with rpart and I want to write the values for every leaf in a dataset. As an example take the variable turnover. Let's suppose my tree for turnover has 30 leaves and I want to have 30 datasets with dataset 1 containing the turnover values of the units in leaf 1, dataset 2 containing turnover values for the observations in leaf 2 and so on. How can I do
2007 Oct 01
3
export csv
Hello, I wanna know how to export a data frame to Excel. For example I wanna export this data frame > M[1:5,] var1 var2 distance 1 41 42 0.2 2 41 43 0.304347826086957 3 41 46 0.19047619047619 4 41 47 0.155555555555556 5 41 48 0.209302325581395 I don't know how to use write.table or write.csv to do this. Can you help me please? Thanks.
2013 Feb 19
0
CARET. Relationship between data splitting trainControl
I have carefully read the CARET documentation at: http://caret.r-forge.r-project.org/training.html, the vignettes, and everything is quite clear (the examples on the website help a lot!), but I am still a confused about the relationship between two arguments to trainControl: "method" "index" and the interplay between trainControl and the data splitting functions in caret
2005 May 04
1
Unstable connection to AD
Hi! We got a problem when authenticating our user on our samba-server. It seems like the connection to our ADS drops now and then. When being up it runs very nice. Running "getent passwd" works well and also seems to establish the contact again for a while, atleast winbind stops reporting that users doesn't exist. We have reasonally had reason to reboot our firewall because the
2009 Jan 11
2
Republic The Revolution won't install
Hey, when I try to run the setup for Republic the Revolution using the latest version of wine and intrepid I get this output from the terminal > ~$ wine /media/cdrom/setup.exe > fixme:advapi:LookupAccountNameW (null) L"chris" (nil) 0x32bdf0 (nil) 0x32bdf4 0x32bde8 - stub > fixme:advapi:LookupAccountNameW (null) L"chris" 0x180f30 0x32bdf0 0x181300 0x32bdf4 0x32bde8 -
2012 Apr 17
1
Function with multiple indices
Hi, I wrote a function which works for one group but not for multiple groups in several years. Could anyone help me out? The dateset has 3 variables, year, group, and sales. I want to calculate the annual group median adjusted sales performance for observation i in group j and year yr, I do the following procedure. For each yar, 1. exclude observation i from group j 2. calculate the sales median
2012 May 09
0
Survival data with time dependent covariate
http://r.789695.n4.nabble.com/file/n4619765/survival_file.png Hi everyone, This is what my data looks like, I haven't included the covariates, the example would get too large. uid id date feverstart dumfever 130 75 346465 2011-04-11 <NA> 0 131 75 360287 2011-04-18 <NA> 0 132 75
2009 Feb 10
1
Error trying to Install ZBrush 3.1 under 1.1.14
I'm trying to get ZBrush running through Wine. It's the only reason I keep Windows dual booted, and I'd like to get rid of that dependency. Anyway, when I attempt to run the installer through Wine, it runs through to "Copying new files" then stops, saying that it has encountered an error before all of the files could be copied. In the terminal, I get these errors:
2009 May 07
3
Altium license server Error
Hi, i'm trying to set up an Altium License Server using wine (wine-1.0.1-174-gc4039bd) without success. The process hangs during service start: Code: wine: Unhandled page fault on read access to 0x00000000 at address 0x48f969 (thread 002b), starting debugger... fixme:shell:DllCanUnloadNow stub Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x0048f969). Register
2009 Jul 16
1
Softoken II issues during install
Hi, I'm trying to run Softoken II in wine but having very little success. When installing using the softoken msi file it doesn't seem to get as far as it does on a windows machine. But there still seems to be some part of the install completed as I can run Softoken exe afterwards, although it gives me problems. I run the msi using: Code: wine start softoken/setup.msi And I get the
2009 Jul 22
1
Re: Install of Rite Series 1.5
Don't post that much log, especially when using warn+all. Put it on pastebin and link it here.
2014 Dec 21
2
Home auto creation
I want to auto create home directories for users when they login for the first time . I need kerbos authentication is possible to set it up on same host as domain controller so ad users can take ownership of home folder -- Join my framily E02705708hn 3032 last name BURGHARDT state is co Cheapest sprint service only 25 a month.