[Developers] Control files and basic MCMC
Steve Martell
SteveM at iphc.int
Sat Jan 18 10:59:01 PST 2014
Ok I've also overloaded init_bounded_number_vector to take a data_matrix from an input file.
This is now available in r1529
Attached is a simple example.
On Jan 18, 2014, at 8:12 AM, Jim Ianelli - NOAA Federal <jim.ianelli at noaa.gov<mailto:jim.ianelli at noaa.gov>> wrote:
Excellent indeed!
And for gunner students of this game (wish I was one of those) the next assignment is to extend this to work for ragged arrays...or maybe Steve the gunner already did that?
I ask because a project I'm involved with could use the LUP facility right away but would also need it for init_bounded_number_vectors etc...
Cheers,
Jim
On Sat, Jan 18, 2014 at 2:03 AM, Arni Magnusson <arnima at hafro.is<mailto:arnima at hafro.is>> wrote:
Excellent.
ADMB version r1509 proudly presents the LUP vector. A new overloaded function init_bounded_number(LUP) that accepts as an argument a vector of length 3 that specifies the lower bound, upper bound, and phase.
As the rest of us were getting excited about pseudocode and issue tickets Dave ended the discussion by just writing the code... Steve Martell then committed the code to the trunk (r1509).
I have created a Plone directory dedicated to this development at http://admb-project.org/developers/ctl
It currently contains three models (example, pella, pella2) that demonstrate the new capability. As advertised, the code shrinks and simplifies considerably. In pella2, the control file is now LUP instead of PLUI, so the initial values are set in a .pin file. One could of course specify the initial values at the bottom of the control file, or put everything in the .dat file, like John Sibert mentioned.
I hope the http://admb-project.org/developers/ctl directory will encourage developers to test and upload new ideas about further improvements of the control file functionality in ADMB. John's XML idea could be valuable, also to establish a general interface to external programs or data servers. ADMB can handle big data, right?
Arni
_______________________________________________
Developers mailing list
Developers at admb-project.org<mailto:Developers at admb-project.org>
http://lists.admb-project.org/mailman/listinfo/developers
--
James Ianelli
NMFS/NOAA Building 4
7600 Sand Pt Way NE
Seattle WA 98115
206 526 6510
Visit the ADMB project http://admb-project.org/
_______________________________________________
Developers mailing list
Developers at admb-project.org<mailto:Developers at admb-project.org>
http://lists.admb-project.org/mailman/listinfo/developers
________________________________
This internet e-mail message, and any files transmitted with it, contains confidential, privileged information that is intended only for the addressee. If you have received this e-mail message in error, please call us at (206) 634-1838 collect if necessary) and ask to speak to the message sender. Nothing in this e-mail or the act of transmitting it, is to be construed as a waiver of any rights or privileges enjoyed by the sender or the International Pacific Halibut Commission pursuant to the International Organizations Immunities Act, 22 U.S.C. Sec. 288 et seq.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/developers/attachments/20140118/33a78f31/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example.tpl
Type: application/octet-stream
Size: 692 bytes
Desc: example.tpl
URL: <http://lists.admb-project.org/pipermail/developers/attachments/20140118/33a78f31/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example.dat
Type: application/octet-stream
Size: 179 bytes
Desc: example.dat
URL: <http://lists.admb-project.org/pipermail/developers/attachments/20140118/33a78f31/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example.ctl
Type: application/octet-stream
Size: 139 bytes
Desc: example.ctl
URL: <http://lists.admb-project.org/pipermail/developers/attachments/20140118/33a78f31/attachment-0002.obj>
More information about the Developers
mailing list