Displaying 12 results from an estimated 12 matches for "max_iter".
Did you mean:
max_iters
2009 Apr 26
1
Stochastic Gradient Ascent for logistic regression
...19 182 2 0 0 0 1 0 2523
2 0 33 155 3 0 0 0 0 3 2551
#-----R implementation of logistic regression : gradient descent ------
sigmoid<-function(z)
{
1/(1 + exp(-1*z))
}
X<-cbind(age,lwt, smoke, ht, ui)
#y<-low
my_logistic<-function(X,y)
{
alpha <- 0.005
n<-5
m<-189
max_iters <- 189 #number of obs
ll<-0
X<-cbind(1,X)
theta <-rep(0,6) # intercept and 5 regerssors
#theta <- c(1.39, -0.034, -0.01, 0.64, 1.89, 0.88) #glm estimates as
starting values
theta_all<-theta
for (i in 1:max_iters)
{
dim(X)
length(theta)
hx <- sigmoid(X %*% theta) # matrix...
2007 Jan 11
0
[PATCH 6/8] HVM save restore: guest memory handling
...quot;xg_private.h"
#include "xg_save_restore.h"
+/*
+** Default values for important tuning parameters. Can override by passing
+** non-zero replacement values to xc_hvm_save().
+**
+** XXX SMH: should consider if want to be able to override MAX_MBIT_RATE too.
+**
+*/
+#define DEF_MAX_ITERS 29 /* limit us to 30 times round loop */
+#define DEF_MAX_FACTOR 3 /* never send more than 3x nr_pfns */
+
+/* max mfn of the whole machine */
+static unsigned long max_mfn;
+
+/* virtual starting address of the hypervisor */
+static unsigned long hvirt_start;
+
+/* #levels of page tab...
2010 Jul 25
1
Equivalent to go-to statement
Dear all,
I'm working with a code that consists of two parts: In Part 1 I'm generating
a random graph using the igraph library (which represents the relationships
between different nodes) and a vector (which represents a certain
characteristic for each node):
library(igraph)
g <- watts.strogatz.game(1,100,5,0.05)
z <- rlnorm(100,0,1)
In Part 2 I'm iteratively changing the
2011 Dec 16
13
[PATCH 0 of 4] Support for VM generation ID save/restore and migrate
This patch series adds support for preservation of the VM generation ID buffer
address in xenstore across save/restore and migrate, and also code to
increment the value in all cases except for migration.
Patch 1 modifies the guest ro and rw node creation to an open coding style
and cleans up some extraneous node creation.
Patch 2 modifies creation of the hvmloader key in xenstore and adds
2013 Sep 24
0
Bug#710650: Bug#718767: transition: ocaml 4.00.1
...9;xc_domain_save'
> c_flags, &callbacks, Bool_val(hvm));
> ^
> In file included from xenguest_stubs.c:23:0:
> /usr/include/xenguest.h:87:5: note: declared here
> int xc_domain_save(xc_interface *xch, int io_fd, uint32_t dom, uint32_t max_iters,
> ^
> xenguest_stubs.c: In function 'stub_xc_domain_restore':
> xenguest_stubs.c:552:10: warning: passing argument 7 of 'xc_domain_restore' makes integer from pointer without a cast [enabled by default]
> Bool_val(hvm), f.pae, 0 /*superpages*/);
>...
2004 May 25
2
e1071, R1.9.0, Solaris 2.9, should I be worried?
In R 1.9.0 running under Solaris 2.9 on a SunBlade 100,
with "Sun WorkShop 6 update 2 C++ 5.3 2001/05/15" as the
C++ compiler, I just did
> install.packages("e1071")
The output includes these lines, which I have wrapped to fit nicely in mail:
** libs
cc -I/users/local/lib/R/include -I/usr/local/include -KPIC -xlibmil \
-dalign -xO4 -c cmeans.c -o cmeans.o
cc
2011 Dec 14
18
[PATCH 0 of 3] Support for VM generation ID save/restore and migrate
This patch series adds support for preservation of the VM generation ID buffer
address in xenstore across save/restore and migrate, and also code to
increment the value in all cases except for migration.
The first patch modifies creation of the hvmloader key in xenstore and adds
creation of a new read/write hvmloader/generation-id-addr key.
The second patch changes hvmloader to use the new key (as
2013 Sep 24
2
Bug#710650: Bug#718767: transition: ocaml 4.00.1
On 09/24/2013 10:04 PM, St?phane Glondu wrote:
> Le 24/09/2013 15:48, St?phane Glondu a ?crit :
>> If I remove all binary packages of xen-api from testing, the following
>> new packages are broken: xcp-guest-templates, nova-xcp-plugins,
>> nova-compute-xen.
>>
>> xcp-guest-templates is built by guest-templates which seems to be a leaf
>> package and could be
2011 Dec 14
9
[PATCH 0 of 2] Support for VM generation ID save/restore and migrate
This patch series adds support for preservation of the VM generation ID
buffer address in xenstore across save/restore and migrate, and also
code to increment the value in all cases except for migration.
The vast majority of the code is in second patch. The first patch
merely changes the xenstore key name used by hvmloader to store the
buffer address.
2011 Nov 29
18
[PATCH 0 of 6] Add support for a VM generation ID virtual device (v2)
The following is a revised patch series to add support for a
VM generation ID virtual device for HVM guests.
The basic requirements of this device are as follows:
- It must be exposed somewhere in ACPI namespace with a _CID of
"VM_Gen_Counter".
- It must also include a _DDN of "VM_Gen_Counter".
- It must contain a _HID object but no particular value is
required.
- It must
2010 Jul 26
1
After writing data in MMF using SEXP structure, can i reference in R?
...case create a double loop
such that the outer loop does not repeat if the inner loop finished
due to reaching the target:
target_variable <- -Inf
while(target_variable < threshold) {
...
iter <- 0
while(target_variable < threshold && iter < max_iter) {
... update iter and target_variable ...
}
}
------------------------------
_______________________________________________
[310]R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
[311]htt...
2012 Jan 25
26
[PATCH v4 00/23] Xenstore stub domain
Changes from v3:
- mini-os configuration files moved into stubdom/
- mini-os extra console support now a config option
- Fewer #ifdefs
- grant table setup uses hypercall bounce
- Xenstore stub domain syslog support re-enabled
Changes from v2:
- configuration support added to mini-os build system
- add mini-os support for conditionally compiling frontends, xenbus
-