This is a calculate regression service in rails5 for show the basic logic how to implement regression formula in ruby.
In this service, I implement linear regression algorithm and logist regression algorithm included cost, gradient , hypothesis function and gradient descent process. In addition, I also dockerize this application.
I write tutorials about this application in medium https://medium.com/@isaac1024/introduction-c671e5f620a2 https://medium.com/@isaac1024/regression-service-in-ruby-on-rails-part2-8b7635dc7fb4 https://medium.com/@isaac1024/regression-service-in-ruby-on-rails-part3-989faee60449