A quick & dirty implementation of the gradient descent algorithm, with and without backtracking line search, in Ruby.
This implementation closely follows the exercises of Lab1 of Eric Chi's summer school course: https://github.com/echi/samsi_opt.git
This Ruby gem can be install using bundler:
bundle exec rake install
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/gradient_descent.
The gem is available as open source under the terms of the MIT License.