Giter Club home page Giter Club logo

calibrar's Introduction

calibrar

CRAN_Status_Badge GitHub R package version R-CMD-check GitHub issues OpenSSF Best Practices codecov

Automated Parameter Estimation for Complex Models

This R package, calibrar, has been designed for the parameter estimation (or calibration) of a wide range of ecological models, including complex and stochastic models. The package combines various optimization functionalities in a single interface, enabling the implementation of the latest advancements in complex model calibration. The package provides support for multiple phases and box constrained optimisation with the possibility of using several algorithms available in R. In particular, by using a “black-box” approach, the package allows the calibration of models implemented in any programming language. It provides a generic interface with models and allows the construction of the objective function, within R, without requiring any changes in the models’ code. Parallel support for computationally intensive models is also provided, and can be used with high performance computing systems in a simple manner, including the capability to restart an unfinished optimisation for models with a long runtime.

It implements generic functions that can be used for fitting any type of models, especially those with non-differentiable objective functions, with the same syntax as base::optim. It supports multiple phases estimation (sequential parameter masking), constrained optimization (bounding box restrictions) and automatic parallel computation of numerical gradients. Some common maximum likelihood estimation methods and automated construction of the objective function from simulated model outputs is provided.
See https://roliveros-ramos.github.io/calibrar/ for more details.

Installation

# The easiest way to get calibrar is to install it from CRAN:
install.packages("calibrar")

# Alternatively, install the stable development version from OSMOSE drat repository:
install.packages("calibrar", repo="https://osmose-model.github.io/drat/")

# Or the development version from GitHub:
# install.packages("remotes")
remotes::install_github("roliveros-ramos/calibrar")

Usage

For a quick introduction, check the worked the examples available from the package:

library(calibrar)
vignette("calibrar")

For a more detailed explanation of the package philosophy, you can read the pre-print calibrar: an R package for fitting complex ecological models.

Contributions

If you find any bug, have questions about the documentation or requests for enhancements, please open an issue.

Contributions are accepted as pull requests. Please note that the calibrar package is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.