Skip to content

API returning the estimated price of a property in Belgium using AI/ML.

Notifications You must be signed in to change notification settings

lyesds/challenge-api-deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API to get the estimated price of a property in Belgium

Welcome

Welcome to my API that will return the estimated price of a property!

Please visit https://challenge-api-lyes.herokuapp.com/predict to send your own data describing a real estate property (location, number of rooms, area, ...) and receive back an estimate of its price in euros.

Your data will be processed with a state-of-the-art machine learning model (https://github.com/Misterkadrix/challenge-regression) trained on real world data coming from Immoweb.com.

Please see below for the input data to submit. Contact me if you need help.

Available routes

Two routes are available:

  • A route at / that accept a GET request and returns "alive" if the server is alive.
  • A route at /predict that accept:
    • GET request returning a short description of the goal and the format.
    • POST request that receives the data of a property in JSON format.

Accepted format for the POST request

{
  "0": {
    "location": int,
    "type": str "APARTMENT" | "HOUSE",
    "area": int,
    "room_number": int,
    "kitchen_equipped": bool 0 | 1,
    "furnished": bool 0 | 1,
    "garden": bool 0 | 1,
    "garden_area": int,
    "terrace": bool 0 | 1,
    "terrace_area": int,
    "facade_count": int 1 | 2 | 3 | 4,
    "swimming_pool": bool 0 | 1,
    "fireplace": bool 0 | 1,
    "land_surface": int,
    "building_condition": "AS_NEW" | "GOOD" | "TO RENOVATE" | "JUST RENOVATED" | "TO_BE_DONE_UP" | "TO_RESTORE"
  }
}

About

API returning the estimated price of a property in Belgium using AI/ML.

Topics

Resources

Stars

Watchers

Forks