DiffSharp: Automatic differentiation library. DiffSharp is a functional automatic differentiation (AD) library. AD allows exact and efficient calculation of derivatives, by systematically invoking the chain rule of calculus at the elementary operator level during program execution. AD is different from numerical differentiation, which is prone to truncation and round-off errors, and symbolic differentiation, which is affected by expression swell and cannot fully handle algorithmic control flow. Using the DiffSharp library, differentiation (gradients, Hessians, Jacobians, directional derivatives, and matrix-free Hessian- and Jacobian-vector products) is applied using higher-order functions, that is, functions which take other functions as arguments. Your functions can use the full expressive capability of the language including control flow. DiffSharp allows composition of differentiation using nested forward and reverse AD up to any level, meaning that you can compute exact higher-order derivatives or differentiate functions that are internally making use of differentiation. Please see the API Overview page for a list of available operations. The library is developed by Atılım Güneş Baydin and Barak A. Pearlmutter mainly for research applications in machine learning, as part of their work at the Brain and Computation Lab, Hamilton Institute, National University of Ireland Maynooth. DiffSharp is implemented in the F# language and can be used from C# and the other languages running on Mono, .NET Core, or the .Net Framework, targeting the 64 bit platform. It is tested on Linux and Windows. We are working on interfaces/ports to other languages.
Keywords for this software
References in zbMATH (referenced in 6 articles )
Showing results 1 to 6 of 6.
- Geeraert, Sébastien; Lehalle, Charles-Albert; Pearlmutter, Barak A.; Pironneau, Olivier; Reghai, Adil: Mini-symposium on automatic differentiation and its applications in the financial industry (2017)
- Orsini, Francesco; Frasconi, Paolo; De Raedt, Luc: kProbLog: an algebraic prolog for machine learning (2017)
- Tingelstad, Lars; Egeland, Olav: Automatic multivector differentiation and optimization (2017)
- Diamond, Steven; Boyd, Stephen: Matrix-free convex optimization modeling (2016)
- Hoffmann, Philipp H.W.: A Hitchhiker’s guide to automatic differentiation (2016)
- Townsend, James; Koep, Niklas; Weichwald, Sebastian: Pymanopt: a python toolbox for optimization on manifolds using automatic differentiation (2016)