luxedo / calcuMLator

An intelligently dumb calculator that uses machine learning
https://calcumlator.herokuapp.com/
GNU General Public License v3.0
30 stars 3 forks source link
calculations calculator machine-learning machine-learning-algorithms microservice regression-models

CalcuMLator

CalcuMLator is a calculator that utilizes Machine Learning to predict the values.

calculator

Check it running here.

I'm hosting the backend of the project at heroku with a free plan. It may take a little to fire up the servers there. The page contains more information about the calculator.

If you wish to run the project locally, clone the repository and install the dependencies. Then you can start a web server with gunicorn. If you don't want to install the dependencies globally, try running inside a virtualenv

$ git clone https://github.com/luxedo/calcuMLator.git
$ cd calcuMLator
$ pip install -r requirements.txt
$ gunicorn server:app

Microservice

To call the microservice, use the following address: https://calcumlator.herokuapp.com/compute with the following queries:

eg:

GET https://calcumlator.herokuapp.com/compute?n1=10&n2=20&op=add&method=gaussian

{ "result": 29.999900352733675 }

Thanks to Rafael Hamasaki for the help with the UI.