search for: datatest

Displaying 14 results from an estimated 14 matches for "datatest".

2010 Jun 25
2
Assigning variable value as name to cbind column
Hi all, I have this (non-working) script: dataTest <- data.frame(col1=c(1,2,3)) new.data <- c(1,2) name <- "test" n.row <- dim(dataTest)[1] length(new.data) <- n.row names(new.data) <- name cbind(dataTest, name=new.data) print(dataTest) and would like to bind the new column 'new.data' to 'dataTest' by us...
2009 Apr 22
1
Multiple imputations : wicked dataset ? Wicked computers ? Am I cursed ? (or stupid ?)
...very few has no missing data. Most variables have 5-10% of missing data, but the whole dataset has only 15% complete cases (40% when dropping the 3 worst cases, which might be regained by other means). To try my hand at multiple imputation, I created a small extract of the original dataset : > DataTest<-Data2[c("ctr","cadredp","persmob","trea","taller","tbox","nbpradio","nbpventil","sitrea")] > dim(DataTest) [1] 231 9 > sapply(DataTest,data.class) ctr cadredp persmob trea taller...
2010 Feb 18
3
svm regression
Hi, I am trying to use svm for regression data. this is how my data looks like: >dataTrain x y z 1 4 6 2 5 4 3 7 5 >classTrain a 2 3 4 >dataTest x y z 1 7 2 2 8 3 >classTest a 3 4 5 building the model model<-svm(dataTrain,classTrain,type="nu-regression") pred <- predict(model, dataTest) > pred 1 2 3.008842 3.120078 I don't understand what the above value means.i need the results similar to...
2010 Sep 30
0
Problem comparing lme objects with anova using do.call
...`*tmp*`, value = c("structure(list(modelStruct = structure(list(reStruct = structure(list(", : invalid 'row.names' length The traceback() didn't provide clear feedback about what was wrong, at least to my ignorant eye. Here is a simple reproducible example: library(nlme) dataTest <- data.frame(y=c(rnorm(100, 0, 1), rnorm(100,5,1)), time=rep(0:3, each=50), id=rep(1:50, 4)) uncMeansModel <- lme(y ~ 1, data=dataTest, random=~1|id, method="ML") uncGrowthModel <- lme(y ~ 1 + time, data=dataTest, random=~time|id, method="ML") uncGrowthModel2 <- lme...
2011 Feb 23
0
svm(e1071) and scaling of weights
...ss[-testindex, ] > datatrain <- subset(trainset,select=-Type) > classestrain <- subset(trainset,select=Type) > Wts <- 1.0/table(Glass$Type); > model <- svm(datatrain,classestrain,type="C-classification",kernel="radial",cost=100,class.weights=Wts) > datatest = subset(testset,select=-Type) > classestest <- subset(testset,select=Type) > pred.test=predict(model,datatest) > table.test <- table(pred.test,t(classestest)) > table.test pred.test 1 2 3 5 6 7 1 11 2 0 0 0 0 2 1 12 0 0 0 0 3 1...
2007 Mar 27
1
gam parameter predictions --Sorry for double posting
...ery. Here is the original message: I'm applying a gam model (package mgcv) to predict relative abundances of a fish species. The covariates are year, month, vessel and statistical rectangle. The model looks like this: g1 <- gam(log(cpue) ~ s(rekt1) + s(year) + s(mon) + s(reg1), data = dataTest) Once the model is fitted to the data I want to get the mean model estimates by year. I do the following: obsPred <- data.frame(year = dataTest$year, pred = predict(g1, type = "response")) gamFit <- tapply(obsPred$pred, list(year = obsPred$ar), mean) Is this correct? Than...
2017 Nov 20
2
samba 4 ad member - idmap = ad for machine accounts
...ash template homedir = /data/home/%U winbind use default domain = yes allow dns updates = nonsecure username map = /etc/samba/user.map spoolss: architecture = Windows x64 dedicated keytab file = /etc/krb5.keytab kerberos method = secrets and keytab winbind refresh tickets = Yes # shares [datatest] vfs objects = acl_xattr map acl inherit = yes store dos attributes = yes path = /data/datatest read only = no [datasys] vfs objects = acl_xattr map acl inherit = yes store dos attributes = yes path = /data/datasys read only = no # testfolder [testfolfder] vfs...
2017 Nov 20
0
samba 4 ad member - idmap = ad for machine accounts
...d use default domain = yes > allow dns updates = nonsecure > username map = /etc/samba/user.map > spoolss: architecture = Windows x64 > dedicated keytab file = /etc/krb5.keytab > kerberos method = secrets and keytab > winbind refresh tickets = Yes > > # shares > [datatest] > vfs objects = acl_xattr > map acl inherit = yes > store dos attributes = yes > path = /data/datatest > read only = no > > [datasys] > vfs objects = acl_xattr > map acl inherit = yes > store dos attributes = yes > path = /data/datasys &...
2009 Sep 14
9
ActiveRecord::StatementInvalid (invalid date) with Oracle
Hello all. I am a novice Ruby on Rails programmer, starting my first project using a legacy Oracle 10 database. Using ''reverse_scaffold'' I have created the models/controllers/views for my existing Oracle tables. All seems to work well, using /model/index, /model/show for most of my tables, *except* when one of the tables contains a Oracle ''date'' column, for
2009 Nov 25
1
Sampling dataframe
Hi, I have a table like that: > datatest var1 var2 var3 1 1 1 1 2 3 1 2 3 8 1 3 4 6 1 4 5 10 1 5 6 2 2 1 7 4 2 2 8 6 2 3 9 8 2 4 10 10 2 5 I need to create another table based on that with the rules: take a random sample by var2==1 (...
2006 Dec 11
3
Problem with sas.get function in Hmisc
...e problem and find some benefit in the response. I used quite often the function sas.get in Hmisc library which I is very, very useful. But, as trying to reuse it today it seems not to function anymore. I tried everything I could imagine this afternoon, with no success. Here is my last test. 'datatest' is a very simple SAS dataset (V9.1) with only 3 variables, 100 obs, no format. Sas.get produces this ouput : > bs2m <- sas.get(library="C:/test","datatest") Syntaxe du nom de fichier, de r?pertoire ou de volume incorrecte. Error in sas.get(library = "C:/test&quot...
2007 Aug 16
3
Urgent Help needed
...ersity of Southern Maine 96 Falmouth Street P.O. Box 9300 Portland, ME 04104-9300 Tel: (207) 228-8389 Email: aaboueissa at usm.maine.edu aboueiss at yahoo.com Office: 301C Payson Smith -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: datatest.txt Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070816/34988702/attachment.txt
2018 Jan 30
1
Samba 4.6.2 does not inherit setgid bit (anymore)
...158, 0)] ../source3/smbd/dosmode.c:206(unix_mode)   unix_mode: unix_mode(sharetest/A/X/New folder (10)) returning 02770 ... [2018/01/30 19:05:18.064582,  5, pid=3294, effective(2002158, 2000513), real(2002158, 0)] ../source3/smbd/dosmode.c:206(unix_mode)   unix_mode: unix_mode(datatest/A/X/New folder (10)) returning 0770 Another efficient workaround could be to attach a simple script at some samba callback ( eg. file_created() ), but I don't know if exists such feature. I definitively too need to understand where the problem is because in my scenario I have a C folder r...
2017 Sep 18
5
samba 4 ad member - idmap = ad for machine accounts
Hi Rowland, >> File server config looks exactly like this, except more shares, all >> with same simple config. I know that "use defualt domain" isn't >> necessery, but it's not the issue for me right now. ... > 'SYSTEM' is a Windows group and is meaningless to Unix, it should be > mapped to a Unix ID only on a Samba AD DC and there it is an >