Skip to content

Releases: denehoffman/ganesh

v0.5.0

15 Aug 19:31
a71f3b1
Compare
Choose a tag to compare

This release is fairly large, but the main differences will go unnoticed except for those who have implemented their own algorithms.

Added

  • Generics have been changed and the Field trait was removed. The generics now cover minimal traits required to run each method, along with a From<f32> bound which does the majority of what the Field trait did anyway.
  • Most types that were &[F] are now &DVector<F>. The exceptions are in algorithm new functions, which are more ergonomic if slices are used. In the actual implementations, DVectors are much more convenient than all the Vec iterations I was doing previously.
  • Added some line search algorithms to make the GradientDescent method more functional. This will also be used in the next update, which will hopefully provide the BFGS algorithm family.

Fixed

  • Some fields in the Newton and GradientDescent algorithm initializers were set wrong, making these algorithms function strangely or not at all. This has been fixed.

v0.4.0

30 Jul 15:52
6ffcc8d
Compare
Choose a tag to compare

Other

  • undo changes to previous version, lifetimes make things more difficult to work with for end-users. Removed NelderMeadMessage.

v0.3.1

30 Jul 14:39
70b408c
Compare
Choose a tag to compare

Added

  • change functions to references to avoid cloning any underlying function data

v0.3.0

19 Jul 21:00
ce41291
Compare
Choose a tag to compare

Added

  • switch &Option<args> to Option<&args> and remove messages in favor of extending Minimizer trait
  • add Send/Sync to Function

Fixed

  • change callback to no longer be optional, this just required typing None::<fn(&_)> everywhere which is way uglier than |_|{}
  • make callback optional to avoid toilet bowl closure

Other

  • Merge branch 'development' of github.com:denehoffman/ganesh into development
  • update crate docs to reflect new changes
  • add wordmark
  • add logo to readme
  • remove num::Float trait dependence
  • add logo
  • Merge branch 'main' into development

v0.2.0

14 Jul 17:04
8e99f89
Compare
Choose a tag to compare

Fixed

  • re-implement args that were lost in merge
  • move main traits to core module and modify gradient and hessian methods to work better at larger values

Other

v0.1.0

13 Jul 15:49
Compare
Choose a tag to compare
chore: Release package ganesh version 0.1.0