Releases: SticsRPacks/CroptimizR
Releases · SticsRPacks/CroptimizR
v0.7.0
Main Changes
- Enabled support for special characters in parameter names (#18).
- Updated the bundled version of the BayesianTools package (#19).
- Enhanced
is_data
function to verify that the tested data structure is not empty (#21). - Improved validation checks for the
weight
argument (#22).
Documentation
- Added a LICENSE file (#15).
Fixes
- Resolved an incompatibility between
forced_param_values
andparam_info$sit_list
(#14). - Fixed error message when
NA
values are detected in simulated results (#16). - Corrected the calculation of equality constraints when only one situation exists in
param_values
(#24). - Addressed various warnings (#14).
Miscellaneous
- Added a unit test for
crit_wls
(#22).
v0.6.1
v0.6.0
Main changes
- Added Weighted Least Squares in the list of available least squares criteria, and weight argument in the estim_param function to provide the weights to use,
- added the possibility to transform simulated and observed variables (e.g. log transformation), using a new argument transform_var,
- added the possibility to introduce equality constraints in argument forced_param_values of the estim_param function. This allows to dynamically compute the values of some parameters in function of others that are estimated.
- License changed for LGPL (CeCILL-C not recognized by CRAN :-( )
Documentation
- Added comments to explain how to handle in model wrappers the simulated variables that do not depend on date,
- add information in estim_param function documentation on the way simulated and observed variables are compared in the parameter estimation process.
Fixes
- Fixed test on presence of NA in model results within parameter estimation process (now test Inf or NA values only for variables and dates included in observations, no more in all model results),
- fixed generation of gelman plot (when using Bayesian methods) in case of more than 2 parameters estimated and thin not initialized in optim_options (crashed).
Misc.
- Names of observed variables used are now stored and printed at the end of the parameter estimation process,
- shortened paths of stored results to solve warning at check,
- increase default value for maxeval so that nloptr never stop on maximum number of evaluation (simplex method).
v0.5.1
v0.5.0
Main changes
- A parameter selection procedure following AgMIP Calibration Phase III protocol has been implemented. See this vignette for more details.
- All frequentist diagnostics plots (estimated vs initial values of the parameters, evolution of the minimized criterion value and parameters values in function of the iterations of the minimization, scatter plots of values for couples of parameters) are now automatically generated.
- Added computation and display of elapsed time of model simulations.
- Homogenization of argument names between functions and wrt CroPlotR package.
Documentation
- Added a vignette on the application of AgMIP Phase III protocol.
- Added a "Getting Started" vignette and revised README.
- Revised list of authors and citation file of the package.
Fixes
- Collection of information (if info_lvel>1) done in case of model and/or method crash.
- Filter_obs fixed in case no obs found for some situations.
- Plot of minimized criterion evolution did not work in case of null or negative criterion.
Misc.
- Code reformatting and R check warnings/notes solved for future submission to CRAN.
v0.4.0
Main changes
- Additional information provided in output of estim_param function: parameters' values proposed by the estimation method and associated criterion values, model results ... The level of information returned is controlled by a new argument (info_level)
- Exported new functions to plot the evolution of parameters and criterion values in function of iterations/evaluations (see vignette (https://sticsrpacks.github.io/CroptimizR/articles/Parameter_estimation_simple_case.html))
- Fix: management of param_info$sit_list for only one parameter did not work
v0.3.0
Main changes
- Added a new argument in estim_param to force (non-estimated) parameters values during estimation
- Changed initial values sampling method from simple LHS to genetic LHS
- Changed estim_init graph for a bubble graph
- Added a function for testing model wrappers (test_wrapper.R)
- Added checks of observations and simulations
- Updated vignettes to use CroPlotR package
- Improved doc for building model wrappers
- A few bugs fixed
- Moved from Travis to GitHub actions for continuous integration tests
v0.2.0.9000
Main changes :
- Simplified the required interface for model wrappers (i.e. shape of input and output arguments, see the Guidelines for implementing a crop model R wrapper for CroptimizR)
- Added a new argument
var_names
toestim_param
function for requiring the model wrappers to simulate non-observed variables (may be useful if transform_sim / transform_obs arguments are used)
v0.1.0
Main changes:
- new available criterion: Ordinary Least Square
- new arguments transform_obs and transform_sim in estim_param function for dynamic transformation of observations and/or simulations
- new argument satisfy_par_const in estim_param function for defining contraints on the parameters to estimate (e.g. inequality constraints between parameters)
- estim_param now displays total elapse time
- some bugs fixed
- license changed to CeCILL-C
v0.1.0.9003
Update version number