roliveros-ramos / calibrar Goto Github PK
View Code? Open in Web Editor NEWAutomated Parameter Estimation for Complex Models
Home Page: https://roliveros-ramos.github.io/calibrar/
Automated Parameter Estimation for Complex Models
Home Page: https://roliveros-ramos.github.io/calibrar/
While calibrating using method CMA-ES, pop size = 12, nbcores = 6, maxgen = 3
while trying to launch calibrar using a different algorithm (CMA-ES), it does not create the ix sub-folders, but just i0 the first one (which is empty).
here is the error message
calib<- calibrate(par=rep(NA,11),fn=objfn, method='cmaes', lower=0,
upper=0.001, control=control)
Error in file(con, "r") : cannot open the connection
Calls: calibrate -> .calibrar -> .cmaes
Hi, Ricardo
I've also run another code and cannot get it run. I'm wondering if you can help me figure out the problem. I think it also has something to do with calibrar.R.
Thanks a lot!
Yi
copy all that is needed for the calibration
YScalib = Calib_YSomose(path = path.dir)
move to the calibration folder
setwd (YScalib$path)
getwd()
[1] "F:/China_YellowSea_Institute/extdata/calib_demo"run the calibration script
source (YScalib$file)
Creating observed data list for calibration...
Variable: TrachurusTrachurus.biomass
Variable: SardinaPilchardus.biomass
Variable: SardinellaAurita.biomass
Variable: EngraulisEncrasicolus.biomass
Variable: OctopusVulgaris.landings
Variable: MelicertusKerathurus.landings
Variable: MetapenaeusMonoceros.landings
Variable: TrachurusTrachurus.landings
Variable: SardinaPilchardus.landings
Variable: SardinellaAurita.landings
Variable: EngraulisEncrasicolus.landings
Variable: DiplodusAnnularis.landings
Variable: MustelusMustelus.landings
Variable: MerlucciusMerluccius.landings
Variable: PagellusErythrinus.landings
Variable: OctopusVulgaris.thr
Variable: MelicertusKerathurus.thr
Variable: MetapenaeusMonoceros.thr
Variable: TrachurusTrachurus.thr
Variable: SardinaPilchardus.thr
Variable: SardinellaAurita.thr
Variable: EngraulisEncrasicolus.thr
Variable: DiplodusAnnularis.thr
Variable: MustelusMustelus.thr
Variable: MerlucciusMerluccius.thr
Variable: PagellusErythrinus.thr
Optimizing 'popsize' to work with 2 cores.
Error in { : task 1 failed - "cannot open the connection"
Hi,
I am still (succesfully) using calibrar to calibrate the ISIS-Fish with the method AHR-ES. I have a question regarding the criteria used to stop the algo. I am afraid it is not documented. Is control$convergence <- 0.001 the stopping criteria ? what does it mean ? that it stops when the objective function does not change by more than 0.001 from one generation to the other ?
Thank you
Hi, Ricardo
I've got an error when running the demo, I'm wondering if someone has the same problem or just myself?
Error in { : task 1 failed - "The'yield'variable is NULL."
Thanks!
Yi
library(devtools)
install_github("roliveros-ramos/calibrar")
Downloading GitHub repo roliveros-ramos/calibrar@master
√ checking for file 'C:\Users\HP\AppData\Local\Temp\RtmpOcPSpo\remotes6c984f691161\roliveros-ramos-calibrar-4d56e1d/DESCRIPTION' ...
Installing package into ‘C:/Users/HP/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
demo=osmose_calib_demo(path=NULL) #run successfully
setwd(demo$path) #run successfully
source(demo$file) #has the message
Loading required package: calibrar
Loading required package: doParallel
Loading required package: foreach
Loading required package: iterators
Loading required package: parallel
Creating observed data list for calibration...
Variable: TrachurusTrachurus.biomass
Variable: SardinaPilchardus.biomass
Variable: SardinellaAurita.biomass
Variable: EngraulisEncrasicolus.biomass
Variable: OctopusVulgaris.landings
Variable: MelicertusKerathurus.landings
Variable: MetapenaeusMonoceros.landings
Variable: TrachurusTrachurus.landings
Variable: SardinaPilchardus.landings
Variable: SardinellaAurita.landings
Variable: EngraulisEncrasicolus.landings
Variable: DiplodusAnnularis.landings
Variable: MustelusMustelus.landings
Variable: MerlucciusMerluccius.landings
Variable: PagellusErythrinus.landings
Variable: OctopusVulgaris.thr
Variable: MelicertusKerathurus.thr
Variable: MetapenaeusMonoceros.thr
Variable: TrachurusTrachurus.thr
Variable: SardinaPilchardus.thr
Variable: SardinellaAurita.thr
Variable: EngraulisEncrasicolus.thr
Variable: DiplodusAnnularis.thr
Variable: MustelusMustelus.thr
Variable: MerlucciusMerluccius.thr
Variable: PagellusErythrinus.thr
Optimizing 'popsize' to work with 2 cores.
Error in { : task 1 failed - "The'yield'variable is NULL."
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.