Giter Site home page Giter Site logo

kambi-v / real-estate-recommender-system Goto Github PK

View Code? Open in Web Editor NEW

This project forked from arturlunardi/real-estate-recommender-system

0.0 0.0 0.0 30 KB

Content Based Recommender System for real estate properties.

License: MIT License

Python 35.30% CSS 30.42% HTML 31.13% Dockerfile 3.16%

real-estate-recommender-system's Introduction

Real Estate Recommender System

Access the application here.

About:

This project was built to generate recommendations of real estate rent properties based on their characteristics or atributes. It was an end-end project, that means that passes through all the steps since collect to deploy the project.

Steps:

  • Definition of the problem
  • Collect
  • Data Wrangling
  • Modelling
  • Deploy

Model:

Recommender systems aim to sugest relevant items to the user. To build this model, the Content-based recommender system was chosen.
Content Based Filtering are a type of recommender system that uses item features to recommend other items similar to what the user likes, based on their previous actions or explicit feedback.
One of the advantages of these system it is that it is possible to generate recommendations without have a historic of the behavior of another users.

Tools:

  • Python for programming language
  • HTML and CSS for front-end
  • Docker for containerization
  • Heroku for cloud hosting

Project structure:

  1. Definition of the problem
    The main purpose of a recommender system it is to suggest relevant items to the user. It saves time, increase the user experience and increase the profit from a company. Imagine that you are on a website that have thousands of products, you wouldn't have the time to go through every product to find the one you are searching for. To improve your experience and help you to find your product, the recommender system it's gonna suggest products that matches your searches.
  • Therefore, to solve this problem it was defined a simple structure:

  • Problem to be solved: a system that recommends me the most similar properties based on what I've searched.

  • How can I solve this problem: create a content based recommender system that will return me the n similar properties based on the features of the item the user select.

  1. Data Collect
    The data collect was made through an API that was provided by Órion, a real estate company.

  2. Data Wrangling
    In this step we had to clean and transform the data. It was necessary to select only the columns that we want to feed our model from. The data had some missing values, so it was necessary to fill this values. Some of the data were categorical, so we had to transform these in numbers so our model could read those. Since we had some numerical values that have some very different scales, it was performed a standardization in order to normalize the data. Some of the columns were textual data, so we chose to work with TfidfVectorize from Scikit-Learn to perform the transformation.

  3. Modelling
    There are a lot of ways to develop a content based filter. We chose to work with the cosine similarity, it is a metric that measure the distance between two vectors of n dimensional spaces. It is measured by the cosine of the angle between these vectors. The model itself it is simple. It is important to say that we are not predicting anything, we are measuring the similarity between vectors, that represent our items.

  4. Deploy
    The system was released through this application, made in Flask. The application collect the data through the API every n minutes and perform all the steps above to deliver the top n recommendations for the item that the user selected.

Additional information:

Author - Artur Lunardi Di Fante | Contacts: LinkedIn

real-estate-recommender-system's People

Contributors

arturlunardi 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.