Skip to content

BhumikaB1/Insurance-premium-api

Repository files navigation

Insurance Premium Prediction API

An end-to-end machine learning API that predicts insurance premiums based on user inputs.
The model is served using FastAPI and deployed as a Docker container for easy and consistent usage.


🚀 Features

  • Machine learning model for insurance premium prediction
  • REST API built using FastAPI
  • Input validation using Pydantic
  • Dockerized for portability and easy deployment
  • Auto-generated API documentation using Swagger UI
  • The API returns the predicted premium category along with confidence scores and class-wise probabilities, accessible through FastAPI’s interactive Swagger UI.

🛠 Tech Stack

  • Python 3.11
  • Scikit-learn
  • Pandas, NumPy
  • FastAPI
  • Uvicorn
  • Docker

🐳 Docker Usage

Pull the Docker Image

docker pull bhumikab1/insurance-premium-api:latest

About

End-to-end machine learning API for insurance premium prediction built with FastAPI and Docker.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors