search for: step1

Displaying 20 results from an estimated 99 matches for "step1".

Did you mean: step
2017 Jan 13
4
Wrong code bug after GVN/PRE?
...mplifyCFG] Change the algorithm in SinkThenElseCodeToEnd 2016-09-01, but that commit doesn't change GVN/MemoryDependenceResults so I suppose it just changes the input to GVN so the problem suddenly surfaces. Finally, the problem that I see is: In the input we have something like for (int step1 = 0; step1 < LOOP_AMOUNT; step1++) { lb[step1] = step1 + 7; ub[step1] = (step1 == 0 ? 10: ub[step1-1]*10); switch(lb[step1]) { case 7: CVAL_VERIFY(step1 == 0); CVAL_VERIFY(ub[step1] == 10); __label(511); break; case 8: CVAL_VERIFY(step1 == 1); CVAL_V...
2017 Jan 13
2
Wrong code bug after GVN/PRE?
...6-09-01, but that commit doesn't change GVN/MemoryDependenceResults so >> I suppose it just changes the input to GVN so the problem suddenly surfaces. >> >> Finally, the problem that I see is: >> >> In the input we have something like >> >> for (int step1 = 0; step1 < LOOP_AMOUNT; step1++) >> { >> lb[step1] = step1 + 7; >> ub[step1] = (step1 == 0 ? 10: ub[step1-1]*10); >> >> switch(lb[step1]) { >> case 7: CVAL_VERIFY(step1 == 0); >> CVAL_VERIFY(ub[step1]...
2012 Aug 27
2
simplest way (set of functions) to parse a file
...4 obs. of 4 variables: $ n : num 1 1 2 2 $ iter : num 1 2 1 2 $ step : Factor w/ 3 levels "Step 1","Step 2",..: 1 3 1 2 $ value: num 10 10 10 10 n=extracted from the file name "logdet_two_moons_n>>>>10<<<<.txt" iter=iter step=column Step1, Step2, Step3, Step4 value=value of the specific Step column And this is one possible data frame variation to be able to plot the time proportions for the different steps of my algorithm. TIA, Best regards, Giovanni Iteration Jmin Error Elapsed Corral Duality Gap Step1 Step2 Step3 Step4 2 2 0....
2011 Sep 29
2
String manipulation with regexpr, got to be a better way
...rd, 4th or 5th instance) of a certain string?    #first find the first occurence of "/" and create a variable for this firstslash <- unlist(regexpr("/", dates, fixed = TRUE)) #then use frist/ to cut the string field into an intermediate variable e.g., from 1/1/2008 to 1/2008. step1 <- substr( dates, (firstslash + 1), nchar(dates) ) #then repeat steps 1 and 2...there's got to be a better way step2 <- unlist(regexpr("/", step1, fixed = TRUE)) #then use step2 to cut string into final product e.g., from 1/2008 to 2008. final <- substring(step1,step2 + 1, n...
2011 May 12
2
DCC-GARCH model and AR(1)-GARCH(1,1) regression model
...no function for AR(1)-GARCH(1,1) regression model. That's why it has to be done in two steps: 1) estimate the AR parameters 2) estimate the GARCH part of the model on the residuals from the AR model And this would be my rather poor idea of how to do it... library(timeSeries) library(fSeries) step1 = arma(DCCrho, order = c(1,0), include.intercept = TRUE) step1$res step11 = na.remove(step1$res) step2 = garch (step11, order = c(1,1), include.intercept = TRUE) To be honest I have no clue how to do it. I don't even now why do I get a missing value as a result of step1 (step1$res[1]) and how...
2011 Nov 18
1
couting events by subject with "black out" windows
...event = c(1L, 1L, 1L, 0L, 1L,1L, 0L, 1L, 1L, 0L, 1L, 1L, 0L, 1L)), .Names = c("ID", "Date","event"), class = "data.frame", row.names = c(NA, 14L)) ##     remove non events data2 <- data1[data1$event==1,] library(doBy) ##     create a table of first events step1 <- summaryBy(Date~ID, data = data2, FUN=min) step1$Date30 <- step1$Date.min+30                                     step2 <- merge(data2, step1, by.x="ID", by.y="ID") ##     use an ifelse to essentially remove any events that shouldn't be counted step2$event <- i...
2009 Jun 03
2
Regular expression \ String Extraction help
...chhikers Guide To The Galaxy\2009-04-10 1400 Fri Hitchhikers Guide To The Galaxy42.txt My main issue is the conversion for 'Hitchkikers Guide To The Galaxy54' because of the spaces in the Name. So far this is what i have: > txt <- '2009-04-10 1400 Fri Universities1.txt' > step1 <- unlist(strsplit(txt, '\\.')) > step2 <- unlist(strsplit(step1[1], ' ')) > Name <- gsub('[0-9]',replacement='', step2[4]) > step3 <- paste(step2[1], step2[2], step2[3], sep=' ') > paste('C:\\test\\', Name, '\\', step3...
2011 Sep 09
2
NMDS plot and Adonis (PerMANOVA) of community composition with presence absence and relative intensity
...covaries with the environment, I can produce a plot but don't understand how to interpret it and I get an error message. Then I want to make a PerMANOVA analysis comparing the different treatments with each other. I tried to look at similar problems but I get error messages. Any ideas? #NMDS step1<-read.delim2("day20.txt", row.names=1) library(clusterSim) step2<-data.Normalization(step1,type="n10") step3<-asin(sqrt(step2))*57.3 step4<-t(step3) library(vegan) step5<-data.matrix(vegdist(step4,method="bray")) step6<-metaMDS(step5, autotransform=FA...
2011 May 10
0
DCC-GARCH model and AR(1)-GARCH(1, 1) regression model - help needed..
...no function for AR(1)-GARCH(1,1) regression model. That's why it has to be done in two steps: 1) estimate the AR parameters 2) estimate the GARCH part of the model on the residuals from the AR model And this would be my rather poor idea of how to do it... library(timeSeries) library(fSeries) step1 = arma(DCCrho, order = c(1,0), include.intercept = TRUE) step1$res step11 = na.remove(step1$res) step2 = garch (step11, order = c(1,1), include.intercept = TRUE) To be honest I have no clue how to do it. I don't even now why do I get a missing value as a result of step1 (step1$res[1]) and how...
2006 Mar 29
1
Help: Input of form 1 to hidden field in form 2?
...'form1'' %> <%= submit_tag "Register Tag" %> <%= end_form_tag %> Here is the partial (form1): <!--[form:tag]--> <p> <%= text_field ''tag'', ''tag'' %></p> <!--[eoform:tag]--> CONTROLLER: def step1 @tag = Tag.new render :action => ''step1'' end def step2 @newtag = (@params[:tag]) @tag = Tag.new render :action => ''step2'' end FORM 2: ... <input id="tag" name="tag" type="hidden" value="<...
2017 Nov 20
4
Reg an issue with smoothing factor in VAD implementation
...estimated. Below is the part of the code I am talking about. > > /*********************************/ > /* Speech Probability Estimation */ > /*********************************/ > SA_Q15 = silk_sigm_Q15( silk_SMULWB( VAD_SNR_FACTOR_Q16, pSNR_dB_Q7 ) - > VAD_NEGATIVE_OFFSET_Q5 ); // step1: Calculate speech probability : comment > by me > > /* Power scaling */ > if( speech_nrg <= 0 ) { // step2: update speech probability based on > speech energy : comment by me > SA_Q15 = silk_RSHIFT( SA_Q15, 1 ); > } else if( speech_nrg < 32768 ) { > if( psEncC->fram...
2006 Jan 12
5
file_column preview in multistage forms
i have a 2 step form which contains 1 file_column field. The second form is just "This is how your post will look" kind of form and the user can click Edit (to take them back to form1) or Submit. If the user clicks edit it takes them back to the first form with fields populated. I have it working with all text fields, I just dont know how to do this with file_column field (showing the
2013 Jan 16
1
Mean calculation by two variables
...ith food item weight for fish species. I need to calculate the Mean proportion by weight of each food item for each specie, as show in solution data frame (dput information below). I use the ddply function (plyr package) in two steps. First calculate the proportion of weight for each individual: step1 = ddply (example, .(ID), transform, Wi = round (Weight/sum (Weight), 2)) Then, I use lenght (unique (ID)) to calculate the mean of each food item for each specie: step2 = ddply (step1, .(Specie, Food.item), summarise, MWi = sum (Wi)/length (unique(ID))) I do not understand why this didn't wo...
2010 Sep 30
1
Can this code be written more efficiently?
...aindata, method = "C-classification", kernel = "radial", cost = mygrid[i,1], gamma = mygrid[i,2], probability=TRUE) }) ### Predict on test set pred.step3 <- numeric(length(svm.models)) for (i in 1:length(svm.models)) { pred.step1 <- predict(svm.models[[i]], myvaliddata, decision.values = F, probability=T) pred.step2 <- prediction(predictions=attr(pred.step1,"probabilities")[,1], labels=myvaliddata$churn) pred.step3[i] <- performance(pred.step2, "auc")@y.values[[1]] } pred.step...
2010 Dec 31
6
happy new year :D i have a problem to upgrade my glibc to 2.7 on centos 5.5
Happy new year :D i have just installed centos 5.5 on my vmware to test my server,i found that i need nasm x64 to compile my assembly code,the yum database only has 0.98 version which does not support 64bit. the nasm version 2(rpm from offcial site) requires glibc 2.7, i know its a core component, but is there a way to upgrade it without break system? thanks for your time :D NamoBhagavan Max
2017 Nov 27
3
Reg an issue with smoothing factor in VAD implementation
...ed based on which SNR is estimated. Below is the part of the code I am talking about. /*********************************/ /* Speech Probability Estimation */ /*********************************/ SA_Q15 = silk_sigm_Q15( silk_SMULWB( VAD_SNR_FACTOR_Q16, pSNR_dB_Q7 ) - VAD_NEGATIVE_OFFSET_Q5 ); // step1: Calculate speech probability : comment by me /* Power scaling */ if( speech_nrg <= 0 ) { // step2: update speech probability based on speech energy : comment by me SA_Q15 = silk_RSHIFT( SA_Q15, 1 ); } else if( speech_nrg < 32768 ) { if( psEncC->frame_length == 10 * psEncC->fs_kHz...
2018 Mar 09
3
SELinux breaks Squid's ssl_crtd helper
...\ cert=/etc/squid/ssl_cert/nestor.microlinux.lan.pem \ generate-host-certificates=on dynamic_cert_mem_cache_size=4MB # Emplacement de ssl_crtd et du cache des certificats TLS sslcrtd_program /usr/lib64/squid/ssl_crtd -s /var/lib/ssl_db -M 4MB sslcrtd_children 8 startup=1 idle=1 # SSL-Bump acl step1 at_step SslBump1 ssl_bump peek step1 ssl_bump bump all # Taille du cache dans la RAM cache_mem 2048 MB # Emplacement et taille du cache sur le disque # cache_dir ufs /var/spool/squid 100 16 256 # Vidage syst?me coredump_dir /var/spool/squid # Dur?e de vie des fichiers sans date d'expiration...
2019 Jul 09
2
[LLVM] Infinite loop during LLVM InstructionCombining pass optimization
...; > [After] <badref> = fmul double %129, fsub (double -0.000000e+00, double bitcast (i64 ptrtoint (i8** getelementptr inbounds ({ [2 x i8*] }, { [2 x i8*] }* @_ZTV5PointILi3EE, i64 0, inrange i32 0, i64 2) to i64) to double)) > > > > After Step 3, infinte loop is started (i.e., Step1 -> step2 -> step3 -> step1 ->step2 -> step3 -> ...). > > > > ==================================================================== > > > > > > I will look forward to your response. > > > > > > Thank you very much :). > > > &g...
2011 Jul 13
1
AR-GARCH with additional variable - estimation problem
...arima function because here I can include additional variable and then, in the second step, I estimate the GARCH part of the model on the residuals from the AR model. So, this is how I define the additional dummy variable: d<-rep(0,991) for (i in 850:922) d[i]<-1; and now the 2 steps: step1 = arima(x, order = c(1,0,0), xreg=d, include.mean = TRUE) step2 = garch (step1$res, order = c(1,1), include.intercept = TRUE) The argument 'xreg' apparently allows me to include another variable. At this point I wanted to ask you what do you think about the code. Do you think everything...
2011 Dec 23
1
[LLVMdev] Stop MachineCSE on certain instructions
Hi Jim. I'm doing custom lowering but here I have a very basic issue and the situation is like this - [Original Op] Mul Dest, Src1, Src2 [Expanded from EmitInstrWithCustomInserter] Step1 Dest, Src1, Src2    <=== BuildMI(..., Step1, Dest).addReg(Src1).addReg(Src2) Step2 Dest, Src1, Src2    <=== BuildMI(..., Step2, Dest).addReg(Src1).addReg(Src2) Step3 Dest, Src2, Src1    <=== BuildMI(..., Step3, Dest).addReg(Src2).addReg(Src1) Could manage to skip the CSE on those steps! W...