Giter VIP home page Giter VIP logo

sjg80-flaskappdeploy's Introduction

Auto Scaling Flask App Using Azure Wep App

Video Tutorial: https://youtu.be/ruIbk7N_qEc

Height vs Age Predictor Microservice

The Height vs Age Predictor Microservice is a Flask-based web application that predicts heights based on ages. It uses a machine learning model trained on provided age and height data to generate predictions and visualize the relationship between age and height.

image

Dependencies

image

  • Python 3.10
  • Flask
  • NumPy
  • Scikit-learn
  • Plotly
  • Joblib

How to Run the Program

Running the Microservice

  1. Ensure Python 3.10 is installed on your system.
  2. Install the necessary dependencies using pip install -r requirements.txt.
  3. Run the Flask app by executing python app.py from the project root.
  4. Access the app in your browser at (https://flaskappregression.azurewebsites.net/)
image image

Using the Prediction Tool

  1. Enter comma-separated ages into the input field.
  2. Submit the form to receive a visualization of the predicted heights based on the provided ages.
image

Recommendations to Management

Actionable Insights:

  • Utilize this microservice as a tool for predicting heights based on age input, which could be valuable in various domains such as health, pediatrics, or educational research.
  • Consider extending the microservice to handle larger datasets or additional features beyond age and height for more comprehensive predictive capabilities.

Data-Driven Decision Making:

  • Leverage the model's predictions to gain insights into potential growth patterns or trends related to age and height, enabling data-driven decision-making in relevant fields.
  • Explore ways to enhance the model's accuracy and robustness by incorporating more diverse datasets or utilizing advanced machine learning techniques.

Scalability and Deployment:

  • Evaluate the microservice's scalability under increased user load to ensure seamless performance in production environments.

image

References https://learn.microsoft.com/en-us/azure/developer/python/tutorial-containerize-deploy-python-web-app-azure-03?tabs=azure-portal

https://www.jamessturtevant.com/posts/Deploying-Python-Website-To-Azure-Web-with-Docker/

https://learn.microsoft.com/en-us/azure/developer/python/tutorial-containerize-simple-web-app?tabs=web-app-flask

https://learn.microsoft.com/en-us/azure/app-service/deploy-github-actions?tabs=applevel#generate-deployment-credentials

sjg80-flaskappdeploy's People

Contributors

shailajgg avatar

Watchers

Noah Gift avatar  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.