Displaying 2 results from an estimated 2 matches for "optimflag".
Did you mean:
optimflags
2013 Dec 28
1
make check fails with default libblas
...- This happens in three different systems, one using gcc-4.7.2 (Debian
4.7.2-5) and two with 4.8.2 (Debian 4.8.2-1)
- I have configured and compiled R trying to follow debian/rules in the
r-base-core package. This is what I do:
## with gcc-4.8 using -O3 or -O2 both lead to the check failure
optimflags="-O2 -pipe -g"
export CC="gcc -std=gnu99"
export CXX=g++
export F77=gfortran
export FC=gfortran
export CFLAGS=$optimflags
export CXXFLAGS=$optimflags
export FFLAGS=$optimflags
export FCFLAGS=$optimflags
export LDFLAGS=-Wl,-O1
./configure --with-cairo \
--with-jpeglib...
2011 Jan 05
0
Nnet and AIC: selection of a parsimonious parameterisation
...#39;\n')
break
} else {
nn=nn.tmp; AIC=AIC.tmp; RSS=RSS.tmp
}
}
list(choice=sqrt(RSS/100),nparam=sum(nn$wts!=0),AIC=AIC,nn=nn)
}
#Modified function for optimisation
CVnn1 <- function(decay, formula, data, nreps=1, ri, size, linout, skip,
maxit, optimFlag=FALSE, alpha) {
truth <- log10(data$perf)
nn <- nnet(formula, data[ri !=1,], trace=FALSE, size=size, linout=linout,
skip=skip, maxit=maxit, Hess = TRUE)
RSS=(alpha-1)*sum((truth[ri != 1] - predict(nn, data[ri != 1,]))^2) +
alpha* sum((truth[ri == 1] - predict(nn, data[ri...