Coder Social home page Coder Social logo

rajasekhar066 / ml_api_covid Goto Github PK

View Code? Open in Web Editor NEW

This project forked from createdd/ml_api_covid

0.0 0.0 0.0 50.43 MB

This is the API Code for my tutorial article. It paints a picture for developing a machine learning Python API from start to finish and provides help in more difficult areas like the setup with AWS Lambda.

Home Page: https://towardsdatascience.com/develop-and-sell-a-machine-learning-app-from-start-to-end-tutorial-ed5b5a2b6b2b

Python 4.13% CSS 0.50% HTML 0.99% Jupyter Notebook 94.26% Dockerfile 0.13%

ml_api_covid's Introduction


Predict Covid per country

Predict new cases of covid-19 infections
Explore the tutorial »


gif of app functionality


About The Project

This is the API Code for my tutorial article:

It paints a picture for developing a machine learning Python API from start to finish and provides help in more difficult areas like the setup with AWS Lambda.

You will find the end result on Rapidapi:

Data

We will use the dataset from https://ourworldindata.org/coronavirus-source-data in csv format.

Built With

  • Github (Code hosting),
  • Anaconda (Dependency and environment management),
  • Docker (for possible further usage in microservices)
  • Jupyter Notebook (code development and documentation),
  • Python (programming language),
  • AWS, especiall AWS Lambda and S3(for deployment),
  • Rapidapi (market to sell)

See machine learning notebook

covering rough data preparation, training, tuning and prediction.


Getting started

git clone https://github.com/Createdd/ml_api_covid.git
docker build -t ml_api_covid .
docker run -d -p 80:8080 ml_api_covid

Getting started with development notebooks

git clone https://github.com/Createdd/ml_api_covid.git
  • Create conda environment conda create --name NAME python=3.7
  • Register new environment in jupyter ipython kernel install --name NAME--user
  • Activate conda environment conda activate PATH_TO_ENVIRONMENT
pip install -r requirements.txt

Note: If you want to to do exploration with Jypter Notebook you would need to install the Conda environment as the Docker setup only works for the production part (Flask server) of the app.

About the author

Daniel is an entrepreneur, software developer and lawyer. His knowledge and interests currently revolve around programming machine learning applications and all its related aspects.

Connect on:

If this was helpful for you consider showing support: Buy Me A Coffee


Remaining ideas:

  • Create an upload script
  • Create a script for deployment. meaning to
    • uninstall unused deps
    • install prod deps
    • do zappa deploy dev

ml_api_covid's People

Contributors

createdd avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.