search for: workset

Displaying 3 results from an estimated 3 matches for "workset".

2009 Oct 21
0
multiple imputation with mix package
...l object' (a general location parameter list) from the data set trainSet using em.mix as follows: sTrain <- prelim.mix(trainSet,nCategorical) thetaTrain <- em.mix(sTrain,maxits=1000,showits=TRUE,eps=0.0001) I then attempt to use this model to impute a missing field (TC) in the data set workSet as follows: workSet$TC <- NA sWork <- prelim.mix(workSet,nCategorical) imputedWork <- imp.mix(sWork,thetaTrain,workSet) This does not give realistic values for TC (they are around 0). My guess is that the part of the imputation model information is stored in sWork If I do this it looks l...
2015 Jun 23
4
[LLVMdev] Improving the quality of debug locations / DbgValueHistoryCalculator
...o propagate a range if all predecessors end // with the same location. if (loc1.kind == loc2.kind && loc1.val == loc2.val) // Not sure how to best implement this. open_ranges[BB][var].push_back(new DBG_VALUE(loc1)); } analyze(MF) { for (BB : MF) workset.push_back(BB); while (!workset.empty()) { changed = false; for (MI : workset.pop_front()) transfer(MI) if (changed) workset.append(BB.successors()) } } A couple of observations about the pseudo-code above: The analysis terminates, because ranges is write-only, making...
2015 Aug 12
3
[LLVMdev] Improving the quality of debug locations / DbgValueHistoryCalculator
...loc1.val == loc2.val) > // Not sure how to best implement this. > open_ranges[BB][var].push_back(new DBG_VALUE(loc1)); > Yep, that's kind of problem, we can't modify MachineFunction at this point. > } > > analyze(MF) { > for (BB : MF) > workset.push_back(BB); > > while (!workset.empty()) { > changed = false; > for (MI : workset.pop_front()) > transfer(MI) > if (changed) > workset.append(BB.successors()) > } > } > > A couple of observations about the pseudo-code above: The analy...