Giter Club home page Giter Club logo

customer-flight-bookings's Introduction

Inventory Forecasting

Problem Statement

  • To web scrap customer reviews from Skytrax, an airline rating site, to gather business insights
  • To build a high quality predictive model to predict successful bookings using customer bookings data

Data Sources

  • Third party customer reviews on Skytrax
  • Customer flight bookings data consisting of 50,000 rows and 13 features

Executive Summary

INTRODUCTION

This project is part of British Airways's (BA) virtual internship. BA is the flag carrier of the United Kingdom, carrying thousands of customers around the world each year to and from the UK. There are two tasks here. Firstly, to web scrap customer reviews from Skytrax, an airline rating site, to gather insights and secondly, to build a high quality predictive model to predict successful bookings using customer bookings data.

Overview of Project

  • Scraping and collecting unstructured data in the form of customer reviews from Skytrax, a third-party airline review website
  • Cleaning the data extensively using NLP techniques and feature engineering of text data
  • Performed EDA on cleaned data to gather insights on customer's feelings, needs and feedback
  • Data visualizations using charts, word clouds and distribution plots to communicate findings
  • Using customer bookings data provided by BA to perform analysis and modelling to predict customers making a flight booking
  • Used RandomForest and XGBoost classifiers to come up with an interpretable working model
  • Plotted the feature importance to visualize how each variable contributes to the predictive power of the model

Skills Learnt

  • Webscraping using the BeautifulSoup library to obtain data from a third-party source
  • Working with an imbalanced dataset that has a 15% positive class
  • Using NLP tools such as tokenizers, lemmatizers and stopwords

Reflections

Collecting data via webscraping was always bound to be messy and it gave me a glimpse of what it is to work with unstructured and text data in a real-world environment. Subsequent steps of using NLP techniques to gather insights also made the task challenging. I believe that further insights can be gained from cleaning the data further, or using more advanced NLP tools to conduct sentiment analysis.

customer-flight-bookings's People

Contributors

ethan-eplee avatar

Watchers

 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.