Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

House Price Prediction API

A beginner Machine Learning API built using:

  • FastAPI
  • NumPy
  • Scikit-learn
  • JSON

Features

  • Train Linear Regression Model
  • Predict House Prices
  • JSON Request/Response
  • Swagger Documentation

Train Model

python train_model.py

Run API

uvicorn app.main:app --reload

Swagger Docs

http://127.0.0.1:8000/docs

Example Request

{
    "area": 1500,
    "bedrooms": 3
}

Example Response

{
    "predicted_price": 350000
}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages