Displaying 20 results from an estimated 12649 matches for "iterators".
Did you mean:
iterator
2012 Jan 19
0
state multi-state modeling using hidden markov routine in the msm package
Hello Chris,
I am trying to fit a 4 state multi-state model using hidden markov routine in the msm package.
1. initial parameters:
twoway4.q <- rbind(c(0, 0.25, 0, 0.25), c(0.166,
0, 0.166, 0.166), c(0, 0.25, 0, 0.25), c(0,
0, 0, 0))
ematrix <- rbind(
c(0, 0.01, 0, 0),
c(0.01, 0, 0.01,0),
c(0, 0.1, 0, 0),
c(0, 0, 0, 0))
2. the model:
msm_covariates_sexandage <- msm(state ~
2015 May 03
2
[LLVMdev] libiomp, not libgomp as default library linked with -fopenmp
A couple more data points. Current llvm 3.7svn with the two outstanding
OPENMP patches can build the openmp support in gdl 0.9.5 (which completely
passes its test suite) and apbs 1.4.1's limited openmp support.
On Sat, May 2, 2015 at 11:11 PM, Jack Howarth <
howarth.mailing.lists at gmail.com> wrote:
> On a positive note, current llvm 3.7svn with the two outstanding
> OPENMP
2005 Jun 08
6
Random seed problem in MCMC coupling of chains
Hello!
I am performing coupling of chains in MCMC and I need the same value
of seed for two chains. I will show demo of what I want:
R code, which might show my example is:
niter <- 3
nchain <- 2
tmpSeed <- 123
for (i in 1:niter) { # iterations
for (j in 1:nchain) { # chains
set.seed(tmpSeed)
a <- runif(1)
cat("iter:", i, "chain:", j,
2011 Jan 10
1
debug biglm response error on bigglm model
G'morning
What does the error message "Error in x %*% coef(object) : non-
conformable arguments" indicate when calculating the response values
for
newdata with a model from bigglm (in package biglm), and how can I
debug it? I am attempting to do Monte Carlo simulations, which may
explain the loop in the code that follows. After the code I
have included the output, which shows that
2012 Nov 06
50
chain.c32 (and partiter) updates v2
This is a bit updated set of chain.c32 changes that simplifies a few things
(and in partiter part), fixes few minor issues and adds a few new features.
Details are in the following commits, below is the summary and pull details at
the end.
Shao - any chance to peek over them ? Most of those are relatively simple
changes and well tested, though of course something might have slipped my
attention.
2013 Oct 18
0
[RFC/PATCH 1/3] Move partiter from com32/chain to com32/lib/syslinux
...logical partitions */
- if (iter->index0 >= 4 &&
- dos_next_ebr(iter, &abs_lba, &dos_part) < 0)
- return iter->status;
-
- /*
- * note special index handling:
- * in case PIF_STEPALL is set - this makes the index consistent with
- * non-PIF_STEPALL iterators
- */
-
- if (!dos_part->ostype)
- iter->index = -1;
- else
- iter->index = iter->index0 + 1 - iter->dos.logskipcnt;
- iter->abs_lba = abs_lba;
- iter->length = dos_part->length;
- iter->record = (char *)dos_part;
-
-#ifdef DEBUG
- disk_dos_part_dump(...
2015 Jul 22
0
[PULL 1/8] Move partiter from com32/chain to com32/lib/syslinux
...logical partitions */
- if (iter->index0 >= 4 &&
- dos_next_ebr(iter, &abs_lba, &dos_part) < 0)
- return iter->status;
-
- /*
- * note special index handling:
- * in case PIF_STEPALL is set - this makes the index consistent with
- * non-PIF_STEPALL iterators
- */
-
- if (!dos_part->ostype)
- iter->index = -1;
- else
- iter->index = iter->index0 + 1 - iter->dos.logskipcnt;
- iter->abs_lba = abs_lba;
- iter->length = dos_part->length;
- iter->record = (char *)dos_part;
-
-#ifdef DEBUG
- disk_dos_part_dump(...
2019 Sep 13
1
[PATCH v2 23/27] drm/amdgpu: Iterate through DRM connectors correctly
...piece of code in amdgpu that loops through
> connectors does it incorrectly and doesn't use the proper list iteration
> helpers, drm_connector_list_iter_begin() and
> drm_connector_list_iter_end(). Yeesh.
>
> So, do that.
In fairness, I think the origin of this code predated the iterators.
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
>
> Cc: Juston Li <juston.li at intel.com>
> Cc: Imre Deak <imre.deak at intel.com>
> Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
> Cc: Harry Wentland <hwentlan at amd.com>
> Cc: Dani...
2005 Aug 26
1
passing arguments from nnet to optim
Hi everyone,
According to R reference manual, the nnet function uses the BFGS method
of optim to optimize the neural network parameters.
I would like, when calling the function nnet to tell the optim function
not to produce the tracing information on the progress of the
optimization, or at least to reduce the frequency of the reports.
I tried the following:
a) nnet default
> x<-rnorm(20)
2020 May 27
0
[PATCH v3 5/5] vhost: add an RPMsg API
Linux supports running the RPMsg protocol over the VirtIO transport
protocol, but currently there is only support for VirtIO clients and
no support for a VirtIO server. This patch adds a vhost-based RPMsg
server implementation.
Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski at linux.intel.com>
---
drivers/vhost/Kconfig | 7 +
drivers/vhost/Makefile | 3 +
2020 Jul 22
0
[PATCH v4 4/4] vhost: add an RPMsg API
Linux supports running the RPMsg protocol over the VirtIO transport
protocol, but currently there is only support for VirtIO clients and
no support for a VirtIO server. This patch adds a vhost-based RPMsg
server implementation.
Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski at linux.intel.com>
---
drivers/vhost/Kconfig | 7 +
drivers/vhost/Makefile | 3 +
2011 Apr 25
1
Trouble Passing a for loop variable (iteration #) to a data frame
Greetings -
I am working on a piece of code to simulate vehicle times in and out in each
of a number of parking spaces. At this stage, my code basically does what
it is supposed to do but for the sequential number of each new parking event
for a given space (i.e., the index of the loop variable). Instead of
passing the index of the loop variable (iter) to the data frame, it passes
the value
2002 Jun 28
1
Problem in optim(method="L-BFGS-B") (PR#1717)
Full_Name: Jörg Polzehl
Version: 1.5.1
OS: Windows 2000
Submission from: (NULL) (193.175.148.198)
When calculating MLE's in a variance component model using constrained
optimization, i.e. optim(...,method="L-BFGS-B",...) I observed an inproper
behaviour in cases where
the likelihood function was evalueted at the constraint. Parameters and value of
the
function at the constraint
2011 May 09
5
Suppressing iterations in DEoptim
Dear R users,
During the the running of DEoptim function which belongs to "DEoptim"
package it automatically gives the output like the following:
Iteration: 1 bestvalit: 181.379847 bestmemit: 0.226499 1.395852
Iteration: 2 bestvalit: 14.062649 bestmemit: 2.290357 5.597838
Iteration: 3 bestvalit: 14.062649 bestmemit: 2.290357 5.597838
Iteration: 4 bestvalit: 14.062649
2011 Jan 07
0
Error in x %*% coef(object) : non-conformable arguments
Hello, and thanks in advance!
What does the error message "Error in x %*% coef(object) : non-
conformable arguments" when indicate when predicting values for
newdata with a model from bigglm (in package biglm), and how can I
debug it? I am attempting to do Monte Carlo simulations, which may
explain the somewhat interesting loop which follows. After the code I
have included the output,
2019 Sep 03
0
[PATCH v2 23/27] drm/amdgpu: Iterate through DRM connectors correctly
Currently, every single piece of code in amdgpu that loops through
connectors does it incorrectly and doesn't use the proper list iteration
helpers, drm_connector_list_iter_begin() and
drm_connector_list_iter_end(). Yeesh.
So, do that.
Cc: Juston Li <juston.li at intel.com>
Cc: Imre Deak <imre.deak at intel.com>
Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
Cc: Harry
2020 Sep 10
0
[PATCH v7 3/3] vhost: add an RPMsg API
Linux supports running the RPMsg protocol over the VirtIO transport
protocol, but currently there is only support for VirtIO clients and
no support for VirtIO servers. This patch adds a vhost-based RPMsg
server implementation, which makes it possible to use RPMsg over
VirtIO between guest VMs and the host.
Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski at linux.intel.com>
---
2007 Sep 21
1
Weird data from evalJSON
I am trying to have prototype perform a request and return to me a
javascript object representing the json string returned by the
request. I want to iterate over the contents to print each object in
the json string. The value of transport.reponseText in onSuccess is
what I would expect. But once I try to perform evalJSON() on this
text it gives me a bunch of extra function()s when i try to
2009 Jan 22
1
convergence problem gamm / lme
Hope one of you could help with the following question/problem:
We would like to explain the spatial
distribution of juvenile fish. We have 2135 records, from 75 vessels
(code_tripnr) and 7 to 39 observations for each vessel, hence the random effect
for code_tripnr. The offset (‘offsetter’) accounts for the haul duration and
sub sampling factor. There are no extreme outliers in lat/lon. The model
2011 Jul 21
2
Printing the loop number for each iteration
Hi all, I have a lengthy 'for' loop and for each loop I want to track the
iteration number that is currently going on. For this, I have tried
following:
> for (i in 1:10) {
+ DumDat <- rnorm(1000)
+ cat("iteration:", i, " \n")
+ }
iteration: 1
iteration: 2
iteration: 3
iteration: 4
iteration: 5
iteration: 6
iteration: 7
iteration: 8