Recent Releases of croptimizr

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 and param_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).

- R
Published by sbuis over 1 year ago

croptimizr - v0.6.1

Minor changes

  • Fixed check of NA/Inf in simulated results
  • Made estim_param stop properly in case of error during the estimation process

- R
Published by sbuis about 2 years ago

croptimizr - 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 forcedparamvalues 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).

- R
Published by sbuis about 2 years ago

croptimizr - 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 forcedparamvalues of the estim_param function. This allows to dynamically compute the values of some parameters in function of others that are estimated.

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).

- R
Published by sbuis about 2 years ago

croptimizr - v0.5.1

  • Fixed cff file generation using github action. Now generated on each commit that modifies the Description file + on release.

  • Minor changes to clean the code following CRAN checks procedure application.

- R
Published by sbuis about 3 years ago

croptimizr - 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.

- R
Published by sbuis over 3 years ago

croptimizr - v0.4.0

Main changes

  • Additional information provided in output of estimparam 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 (infolevel)
  • 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/Parameterestimationsimple_case.html))
  • Fix: management of paraminfo$sitlist for only one parameter did not work

- R
Published by sbuis over 4 years ago

croptimizr - 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

- R
Published by plecharpent over 4 years ago

croptimizr -

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 to estim_param function for requiring the model wrappers to simulate non-observed variables (may be useful if transformsim / transformobs arguments are used)

- R
Published by sbuis over 5 years ago

croptimizr -

Main changes:

  • new available criterion: Ordinary Least Square
  • new arguments transformobs and transformsim in estim_param function for dynamic transformation of observations and/or simulations
  • new argument satisfyparconst 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

- R
Published by sbuis over 5 years ago

croptimizr -

- R
Published by sbuis about 6 years ago

croptimizr - CroptimizR-v0.1.0.9002

- R
Published by sbuis about 6 years ago

croptimizr - CroptimizR-v0.1.0.9001

Beta version for test

- R
Published by sbuis about 6 years ago