search for: train1

Displaying 13 results from an estimated 13 matches for "train1".

Did you mean: train
2011 Jan 24
5
Train error:: subscript out of bonds
...code produced result only for 8 iterations and for 9th iteration it reaches to an error that ?subscript out of bonds? error. I don?t understand why Any help would be great thanks ####### for (i in 1:10) { fit1<-NULL; x<-NULL; x<-which(number==i) trainset<-d[-x,] testset<-d[x,] train1<-trainset[,-ncol(trainset)] train1<-train1[,-(1)] test_t<-testset[,-ncol(testset)] species_test<-as.factor(testset[,ncol(testset)]) test_t<-test_t[,-(1)] #### #CARET::TRAIN #### fit1<-train(train1,as.factor(trainset[,ncol(trainset)]),"svmpoly",trControl = train...
2010 Nov 23
5
cross validation using e1071:SVM
...########################################## Code ######################################### x<-NULL index<-cvsegments(nrow(data),10) for(i in 1:length(index)) { x<-matrix(index[i]) testset<-data[x[[1]],] trainset<-data[-x[[1]],] species<-as.factor(trainset[,ncol(trainset)]) train1<-trainset[,-ncol(trainset)] train1<-train1[,-(1)] test_t<-testset[,-ncol(testset)] species_test<-as.factor(testset[,ncol(testset)]) test_t<-test_t[,-(1)] model_true1 <- svm(train1,species) pred_true1<-predict(model_true1,test_t) stat_result<- confusionMatrix(pred_tru...
2010 Jul 16
3
Help with Sink Function
...iceSample <- sample(combined[,-c(1,2)],nvars, replace=FALSE) miceSample$pID50 <- combined$pID50 miceTestSample <- miceSample[47:55,] miceTrainSample <- miceSample[1:46,] fit.kknn <- kknn(pID50~., miceTrainSample, miceTestSample) table(miceTestSample$pID50, fit.kknn$fit) (fit.train1 <- train.kknn(pID50~., miceTrainSample, kmax=15, kernel=c("rectangular"), distance=1)) predictedTrain <- predict(fit.train1, miceTrainSample, miceTrainSample$pID50) pID50Train <- miceTrainSample$pID50 lmTrain <- lm(predictedTrain~pID50Train) slm <- summary(lmTrain) st...
2017 Apr 10
0
[PATCH 07/11] nvkm/ramgf100: Reinstate default ram train pattern
...j, 0x00000100 | - train->type09.data[i] << 4 | - train->type07.data[i]); - nvkm_wr32(device, 0x10f918 + j, train->type01.data[i]); + static const u8 train0[] = { + 0x00, 0xff, 0x55, 0xaa, 0x33, 0xcc, + 0x00, 0xff, 0xff, 0x00, 0xff, 0x00, + }; + + static const u32 train1[] = { + 0x00000000, 0xffffffff, + 0x55555555, 0xaaaaaaaa, + 0x33333333, 0xcccccccc, + 0xf0f0f0f0, 0x0f0f0f0f, + 0x00ff00ff, 0xff00ff00, + 0x0000ffff, 0xffff0000, + }; + + if ((train->mask & 0x03c3) == 0x03c3) { + for (i = 0; i < 0x30; i++) { + for (j = 0; j < 8; j += 4) { +...
2005 Jul 13
1
read.table
Hi, I have a question on read.table. I have a dataset with 273,000 lines and 195 columns. I used the read.table to load the data into R: trn<-read.table('train1.dat', header=F, sep='|', na.strings='.') I found it takes forever. then I run 1/10 of the data (test) using read.table again. And this time it finished quickly. So, there might be something wrong in my data format causing that problem. then, my question is, is there a way in R...
2004 Sep 22
5
Issue with predict() for glm models
[This email is either empty or too large to be displayed at this time]
2017 Apr 10
0
[PATCH 04/11] nvkm/ramgt215: Move ram training up the chain
...4 size, u32 align, u32 ncmin, } static int -gf100_ram_init(struct nvkm_ram *base) +gf100_ram_train_init_0(struct nvkm_ram *ram, struct gt215_ram_train *train) { - static const u8 train0[] = { - 0x00, 0xff, 0x55, 0xaa, 0x33, 0xcc, - 0x00, 0xff, 0xff, 0x00, 0xff, 0x00, - }; - static const u32 train1[] = { - 0x00000000, 0xffffffff, - 0x55555555, 0xaaaaaaaa, - 0x33333333, 0xcccccccc, - 0xf0f0f0f0, 0x0f0f0f0f, - 0x00ff00ff, 0xff00ff00, - 0x0000ffff, 0xffff0000, - }; - struct gf100_ram *ram = gf100_ram(base); - struct nvkm_device *device = ram->base.fb->subdev.device; - int i; + struct...
2017 Apr 10
11
Preparations for Fermi DRAM clock changes
No, no, these will not implement Fermi reclocking. This set of patches contains some of the preparatory work that I deem stable enough to move upstream. Notable changes - Training pattern upload routines from GK104+ now shared with GT215+ - Timing calculation for Fermi - GDDR5 MR calculation from VBIOS timing table v1.0. Also useful for that pesky GT 240. - A routine to translate a VBIOS init
2017 Apr 10
14
RESEND Preparations for Fermi DRAM clock changes
Two patches went missing as a result of PEBCAK. No v2 marks as nothing changed really. Just resending for easier enforcement of patch order in other people's trees. Sorry for the noise. Original message: No, no, these will not implement Fermi reclocking. This set of patches contains some of the preparatory work that I deem stable enough to move upstream. Notable changes - Training pattern
2004 Sep 23
0
followup: Re: Issue with predict() for glm models
...gt;>> >>>>>#> log.reg >>>>> >>>>>#Call: glm(formula = train.class.var ~ predictors.train, family = >>>>>#binomial(link = "logit")) # >>>>>#Coefficients: >>>>># (Intercept) predictors.train1 predictors.train2 >>>>># 0.5105 -0.2945 -1.0811 >>>>># >>>>>#Degrees of Freedom: 39 Total (i.e. Null); 37 Residual >>>>>#Null Deviance: 55.45 >>>>>#Residual Deviance: 41.67...
2018 Jan 04
2
Samba 4.4.16 %g translation fails for some users
...sk = 0777 valid users = +libsys +libmgmt +libacq +libtech +libarc +libcat +libcirc +librs +librss +libmdgc +libgift +libcoll +libtrain +libill +libgis +libarch +libstack +libaxs +libssc +studemp +studempl +eserials +pserials +syshead +ebooks mmcclint refstud catstud invalid users = +circdesk train1 train2 train3 train4 train5 train6 train7 train8 train9 train10 train11 train12 train13 train14 train15 train16 train17 train18 circstud madstud ssdata1 edox1 circdesk mlspine +librsch ~~~~~~~~~~~~~~~~~~~~~~~~ Daulton Theodore Carleton University Library, Systems Department Vmail: (613) 520-2600,...
2005 Apr 20
1
Samba 3 Upgrade Questions
...files1/user/common browseable = yes writeable = yes create mask = 0777 force create mode = 0777 directory mask = 0777 valid users = +libsys +libmgmt +libacq +libarc +libcat +libcirc +librs +libmdgc +libgift +libcoll +libtrain +libill +libcof +libgis invalid users = +circdesk train1 train2 train3 train4 train5 train6 train7 train8 train8 train10 train11 train12 train13 train14 train15 train16 train17 train18 # --------------------------------------- # Training Room # --------------------------------------- [training] comment = Training Shared Directory path...
2006 Jan 26
0
Upgrading Samba
...files1/user/common browseable = yes writeable = yes create mask = 0777 force create mode = 0777 directory mask = 0777 valid users = +libsys +libmgmt +libacq +libarc +libcat +libcirc +librs +libmdgc +libgift +libcoll +libtrain +libill +libcof +libgis invalid users = +circdesk train1 train2 train3 train4 train5 train6 train7 train8 train8 train10 train11 train12 train13 train14 train15 train16 train17 train18 # ------------------------------------ # Circulation Shared directory - 20051123 for dgavin # ------------------------------------ [circshr] comment = Circ Shared...