Displaying 10 results from an estimated 10 matches for "kopt".
Did you mean:
kept
2007 Nov 29
2
convert an S plus file to R?
...obtained with the
# function Hill.2oQV
#
# If addtoHill=TRUE then the optimal k value is added to
# the plot of the Hill estimates (given the plot is available)
#
# If plot=TRUE then the estimates of the AMSE are plotted
# as a function of k and the optimal k value is added to it
"Hill.AMSE.kopt" <- function(Hill.2oQV, addtoHill=FALSE, plot=FALSE, ...) {
K <- Hill.2oQV$k
gamma <- Hill.2oQV$gamma
b <- Hill.2oQV$b
beta <- Hill.2oQV$beta
AMSE.Hill <- (gamma^2)/K + (b/(1+beta))^2
AMSE.Hill.min <- min(AMSE.Hill, na.rm = T)
kopt <- K[AMSE.Hill==AMSE.Hill.m...
2007 Oct 25
0
Error message from nlmer
Hi,
I have R 2.6.0 with updated lme4 and Matrix packages, and I am trying to
fit a nonlinear multilevel model. I get the following error message:
Error in nlmer(f ~ grModel(x, w, Tmin, Tmax, Topt, kopt, m) ~ kopt |
flat, :
gradient attribute of evaluated model must be a numeric matrix
and I wonder what this may indicate.
The nonlinear model I try to fit is as follows:
> grModel
function(x,w,Tmin,Tmax,Topt,kopt,m)((x-Tmin)*(x-Tmax))/((x-Tmin)*(x-Tmax)-(x-Topt)^2)*kopt*w^m
and my call of...
2013 Apr 03
1
Problem with integrate function
...ato
--------------------------
fv<-vector("list")
fx<-vector("list")
v<-0
c<-0
n<-0
NOV<-0
i<-0
while(n<200){
fv[[1]]<-function(x)1 #prior function
fx[[1]]<-function(x){
rho<-(0.2+6*x)/(.3+4*x)
i<-0
N<-0
for(i in 1:length(x)){
kopt<-function(K){(x[i]-0.05*(K-((1-rho[i]^K)/(1-rho[i])+(K*rho[i]^(K+1)-1))/(1-rho[i]^(K+1)))/(0.1+5*x[i]))^2}
L<-optim(c(0),kopt,method="BFGS")
N[i]<-round(L$par+1)}
return(N)
} # Calculate Kv+1
fx[[2]]<-function(x)((0.2+6*x)/(.3+4*x))^n*(1-(0.2+6*x)/(.3+4*x))/(1-(0.2+6*x...
2010 Feb 08
2
Proposals for making configure_from_network function works in f13
...mport.ori 2010-01-12 11:54:13.000000000 +0100
+++ cobbler-import 2010-02-08 10:31:44.000000000 +0100
@@ -46,15 +46,9 @@
cobbler distro add --name="oVirt-Node-$node_arch" --arch=$node_arch \
--initrd=$node_dir/tftpboot/initrd0.img --
kernel=$node_dir/tftpboot/vmlinuz0 \
- --kopts="rootflags=loop root=/ovirt-node-image.iso rootfstype=iso9660 ro
console=tty0 console=ttyS0,115200n8"
+ --kopts="rootflags=loop root=live:/ovirt-node-image.iso rootfstype=iso9660
ro console=tty0 console=ttyS0,115200n8"
I didn't try this patch but I think this is the...
2009 Aug 11
1
[PATCH server] remove appliance bits
...cobbler-import b/installer/modules/ovirt/files/cobbler-import
index 126cfaf..fd0f0ec 100755
--- a/installer/modules/ovirt/files/cobbler-import
+++ b/installer/modules/ovirt/files/cobbler-import
@@ -49,12 +49,6 @@ cobbler distro add --name="oVirt-Node-$node_arch" --arch=$node_arch \
--kopts="rootflags=loop root=/ovirt-node-image.iso rootfstype=iso9660 ro console=tty0 console=ttyS0,115200n8"
cobbler profile add --name=oVirt-Node-$node_arch --distro=oVirt-Node-$node_arch
-cobbler system add --netboot-enabled=1 --profile=oVirt-Node-$node_arch \
- --name=node3 --mac=00:16...
2011 Oct 27
1
Question about .Fortran in glmnet package
...le includes the lines of code shown below. But how can I see
the Fortran code that is being referenced in the code below? Is that
provided somewhere in the package source code?
.Fortran("lognet",
parm=alpha,nobs,nvars,nc,as.double(x),y,offset,jd,vp,ne,nx,nlam,flmin,ulam,thresh,isd,maxit,kopt,
lmu=integer(1),
a0=double(nlam*nc),
ca=double(nx*nlam*nc),
ia=integer(nx),
nin=integer(nlam),
nulldev=double(1),
dev=double(nlam),
alm=double(nlam),
nlp=integer(1),
jerr=integer(1),PACKAGE="glm...
2008 Feb 02
0
Xen 3.2 Debian 2.6.18, Remote Serial console only, grub config needed
....2-1-i386.gz
module /boot/vmlinuz-2.6.18-5-xen-vserver-686 root=/dev/md0
console=ttyS0,9600 ro console=tty0
module /boot/initrd.img-2.6.18-5-xen-vserver-686
savedefault
boot
yes, i know - the two console= lines are because (if you know debian you''ll
appreciate this) the #kopt= line is this:
# kopt=root=/dev/md0 console=ttyS0,9600 ro
sooo, update-grub goes "oh look, xen! let''s append console=tty0 on the
end of the kernel options"!
duh.
anyway, _after_ manually editing the grub config every time at startup,
to remove one of the extra console= lines,...
2011 Feb 17
1
cv.glmnet errors
...zero
If i change the number of folds to 1, i get a seg fault:
*** caught segfault ***
address 0x0, cause 'memory not mapped'
Traceback:
1: .Fortran("lognet", parm = alpha, nobs, nvars, nc, as.double(x), y,
offset, jd, vp, ne, nx, nlam, flmin, ulam, thresh, isd, maxit, kopt, lmu
= integer(1), a0 = double(nlam * nc), ca = double(nx * nlam * nc),
ia = integer(nx), nin = integer(nlam), nulldev = double(1), dev =
double(nlam), alm = double(nlam), nlp = integer(1), jerr = integer(1),
PACKAGE = "glmnet")
2: lognet(x, is.sparse, ix, jx, y, weights,...
2010 Jan 19
1
How I installed ovirt on fc 12
Hi,
I installed ovirt on fedora 12 (64 bits) successfully but I had to make some changes to make it work.
1. Installation from rpms builded from the lastest git version
2. Patch ace : missing backslashes in sed commands
vim /usr/share/ace/modules/ovirt/manifests/freeipa.pp
line 33 : '/\\[kdcdefaults\\]/a \\ kdc_ports = 88'
single_exec {"set_kdc_defaults":
2007 Aug 23
0
[git patch] klibc dash 0.5.4 update
...Pape wrote:
> tags 347232 + patch
> quit
>
> On Mon, Jan 09, 2006 at 04:29:19PM +0100, Marco Nenciarini wrote:
> > The problem is here:
> >
> > # Set the kernel 2.6 option only for fresh install
> > test -z "$(GetMenuOpt "kopt" "")" && kopt_2_6="root=$root_device_2_6 ro"
> >
> > # Extract options for specific kernels
> > eval $(ExtractMenuOpts "\(kopt_[a-zA-Z0-9_]\+\)")
> >
> > If the first test fails and the eval argument i...