Commit Graph

11542 Commits (008005546900c03f0dcf4a68901a1fc198886acc)

Author SHA1 Message Date
Stéphane Adjemian(Charybdis) cd9410644f Moved PAC estimation routine (NLS). 2018-07-16 16:30:07 +02:00
Stéphane Adjemian(Charybdis) 9468c5b61d Bug fix in PAC equation simulation/estimation.
Fixed the definition of idns (must target the trend variable).
2018-07-16 15:38:04 +02:00
Stéphane Adjemian(Charybdis) c46fe7fcfa Added check routine for PAC equation. 2018-07-16 14:56:05 +02:00
Stéphane Adjemian(Charybdis) 0074561182 Updated dseries submodule (unit test fix). 2018-07-14 11:54:01 +02:00
Stéphane Adjemian(Charybdis) 2256acfa73 Fixed replacement of LHS variable if the equation has no lag. 2018-07-13 19:10:25 +02:00
Stéphane Adjemian(Charybdis) 9b51b1ee16 Fixed logic for replacing variables by views of the data array. 2018-07-13 19:07:38 +02:00
Sébastien Villemot 7685a0ccda Octave compatibility fix
Now that the set_auxiliary_variables file is in a "+" directory, Octave fails
at str2func if the file does not exist.
2018-07-13 17:22:27 +02:00
Sébastien Villemot ff676f5505 Gracefully fail when Octave crashes in a *.m test 2018-07-13 17:22:27 +02:00
Stéphane Adjemian(Charybdis) 7e7f9b2e2e Updated dseries submodule. 2018-07-13 14:04:57 +02:00
Stéphane Adjemian(Charybdis) 710158ba3e Updated dseries submodule. 2018-07-12 19:50:53 +02:00
Stéphane Adjemian(Charybdis) 30c41733bc Updated dseries submodule. 2018-07-12 19:38:15 +02:00
Houtan Bastani 8ff8d787e8 modify on-the-fly example to accept variables declared in equation tag 2018-07-11 14:45:32 +02:00
Houtan Bastani d5eb6e2d13 preprocessor: submodule update 2018-07-11 14:38:17 +02:00
Stéphane Adjemian(Charybdis) d7e0c5b868 Merge branch 'master' into ecb-master+folder 2018-07-11 11:08:04 +02:00
Stéphane Adjemian(Charybdis) ebad639546 Bug fix (parenthesis mismatch). 2018-07-11 11:03:15 +02:00
Stéphane Adjemian(Charybdis) a31611a89b Adapted codes to the json files new location.
(cherry picked from commit f0a5a2aac9)
2018-07-10 20:19:43 +02:00
Stéphane Adjemian(Charybdis) f0a5a2aac9 Adapted codes to the json files new location. 2018-07-10 20:17:43 +02:00
Stéphane Adjemian(Charybdis) c5ebb2ca30 Adapted codes to the json files new location. 2018-07-10 20:15:53 +02:00
Stéphane Adjemian(Charybdis) 24e2a76c39 Remove condition.
The checkdatabase routine can be used on models with leads.
2018-07-10 18:50:15 +02:00
Stéphane Adjemian(Charybdis) 51332c6fd6 Fixes related to the new "+" subfolder. 2018-07-10 18:34:49 +02:00
Stéphane Adjemian(Charybdis) bc9dbbc951 Merge branch 'master' into ecb-master+folder 2018-07-10 12:10:14 +02:00
Stéphane Adjemian(Charybdis) 79a626bad0 Updated preprocessor submodule. 2018-07-10 12:08:02 +02:00
Stéphane Adjemian(Charybdis) 85a585c73e Merge branch 'master' into ecb-master+folder
Fixed conflicts in:
	tests/block_bytecode/run_ls2003.m
2018-07-10 10:18:55 +02:00
Stéphane Adjemian(Charybdis) 0d4a677526 Added comments in example. 2018-07-09 20:30:38 +02:00
Stéphane Adjemian(Charybdis) e50d4fd41c Added routine to update parameter values in base workspace. 2018-07-09 18:42:03 +02:00
Stéphane Adjemian(Charybdis) bc54022da6 Fixed row ordering issue in the trend component model. 2018-07-09 18:41:35 +02:00
Sébastien Villemot d1c20d4152 Update preprocessor submodule 2018-07-09 18:21:20 +02:00
Sébastien Villemot aab9e7e09e Fix capitalization of Octave 2018-07-09 18:21:09 +02:00
Houtan Bastani 01d5a13082 preprocessor: submodule update: on-the-fly variable declaration in equation tags 2018-07-09 15:36:49 +02:00
Houtan Bastani cfee93b080 preprocessor: submodule update: macro functions 2018-07-09 15:36:49 +02:00
Houtan Bastani ec3e32a12f update copyright year for doc 2018-07-09 15:36:49 +02:00
Sébastien Villemot d9ce09a7f4 Also upgrade the Octave version in the Windows README 2018-07-09 15:33:24 +02:00
Sébastien Villemot 2a5ee62669 Upgrade Octave version in Windows NSIS file 2018-07-09 15:30:13 +02:00
Stéphane Adjemian(Charybdis) 829849f4db Fixed regular expression used to identify a PAC auxiliary model. 2018-07-05 11:50:50 +02:00
Stéphane Adjemian(Charybdis) 4a9c752fd1 Fixed the definition of a lag polynomial. 2018-07-04 14:57:54 +02:00
Sébastien Villemot 3863a74319 Fix bug introduced in 13ce91861 in graph decomposition under MATLAB 2018-07-04 12:33:51 +02:00
Stéphane Adjemian(Charybdis) 227ac46aa9 Fixed bug related to the parameters in PAC equation. 2018-07-04 10:02:19 +02:00
Stéphane Adjemian(Charybdis) f248feb839 Fixed function handle name for sum of square residuals. 2018-07-04 09:38:19 +02:00
Stéphane Adjemian(Charybdis) 33d752bad3 Fixed filtering out of non exact matches.
Patch proposed by Anatole, see:

https://gitlab.com/McModelTeam/McModelProject/issues/76
2018-07-04 08:57:07 +02:00
Sébastien Villemot cb46a2697e Fix invalid memory write in k-order DLL
The bug would show at order 3 when the last output argument (derivs) is not
requested (in practice every 3rd order solution without pruning). The DLL would
still attempt to write into it, causing an invalid memory access.
2018-07-02 16:37:46 +02:00
Sébastien Villemot 13ce918612 Octave compatibility fixes in graph decomposition 2018-07-02 16:06:11 +02:00
Sébastien Villemot b2c554623f Various fixes related to the new layout of generated files 2018-06-28 18:14:40 +02:00
Sébastien Villemot d741804bbd New libboost-filesystem-dev dependency on Debian and derivatives 2018-06-27 17:53:45 +02:00
Sébastien Villemot 87bb0c6997 Fix mistake in previous commit w.r.t. steadystate file 2018-06-27 17:15:13 +02:00
Sébastien Villemot a1b8bd39b2 Move the location of various generated files on the filesystem
- M and MEX files are now under +${MODELNAME}/
- bytecode, C source and JSON now under ${MODELNAME}/model/
2018-06-27 17:03:39 +02:00
Houtan Bastani f5bf76deb5 fix mex build system for macOS 2018-06-27 15:04:33 +02:00
Stéphane Adjemian(Charybdis) 37bd4a1fea Added routine for estimating a PAC equation by NLS.
This is not a final version. The routine does not print the estimation result, and does not
compute the variance of the estimator. The routine updates the content of M_.params with the
vector of PAC parameters minimizing the sum of squared residuals.
2018-06-21 18:48:58 +02:00
Stéphane Adjemian(Charybdis) 8d1664898e Merge remote-tracking branch 'github/master' into ecb-master 2018-06-21 18:48:16 +02:00
Stéphane Adjemian(Charybdis) 45115e1172 Replaced pac.update.equation() by pac.update.expectation(). 2018-06-21 18:47:57 +02:00
Stéphane Adjemian(Charybdis) 93bb326cc2 Added routines for dealing with extraction of a single equation from JSON output. 2018-06-21 18:46:38 +02:00