Code Monkey home page Code Monkey logo

craniace / customer_review Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3.6 MB

Welcome to the Customer Satisfaction Prediction Project repository! This project analyzes customer satisfaction survey to predict whether a customer is satisfied or dissatisfied based on various features. The goal is to gain insights into factors that contribute to passenger satisfaction and to build a predictive model for future.

License: MIT License

Jupyter Notebook 100.00%
customer-reviews data-analysis graph prediction predictive-analytics python review

customer_review's Introduction

Passenger Satisfaction Survey πŸ›«πŸ˜ƒπŸ˜ž

Overview

This repository contains the analysis of an airline passenger satisfaction survey. The goal is to predict whether a passenger is satisfied or dissatisfied based on various features.

These are the following features information about the passengers of an airline:

  • Gender: male or female
  • Customer type: regular or non-regular airline customer
  • Age: the actual age of the passenger
  • Type of travel: the purpose of the passenger's flight (personal or business travel)
  • Class: business, economy, economy plus
  • Flight distance:The flight distance of this journey(km)
  • Inflight wifi service: satisfaction level with Wi-Fi service on board (0: not rated; 1-5)
  • Departure/Arrival time convenient: departure/arrival time satisfaction level (0: not rated; 1-5)
  • Ease of Online booking: online booking satisfaction rate (0: not rated; 1-5)
  • Gate location: level of satisfaction with the gate location (0: not rated; 1-5)
  • Food and drink: food and drink satisfaction level (0: not rated; 1-5)
  • Online boarding: satisfaction level with online boarding (0: not rated; 1-5)
  • Seat comfort: seat satisfaction level (0: not rated; 1-5)
  • Inflight entertainment: satisfaction with inflight entertainment (0: not rated; 1-5)
  • On-board service: level of satisfaction with on-board service (0: not rated; 1-5)
  • Leg room service: level of satisfaction with leg room service (0: not rated; 1-5)
  • Baggage handling: level of satisfaction with baggage handling (0: not rated; 1-5)
  • Checkin service: level of satisfaction with checkin service (0: not rated; 1-5)
  • Inflight service: level of satisfaction with inflight service (0: not rated; 1-5)
  • Cleanliness: level of satisfaction with cleanliness (0: not rated; 1-5)
  • Departure delay in minutes
  • Arrival delay in minutes

It is necessary to predict which of the two levels of satisfaction with the airline the passenger belongs to:

Satisfaction
Neutral or dissatisfied

Exploratory Data Analysis (EDA) Insights

Gender Distribution 🚹🚺

  • The number of satisfied males and females is nearly equal. image

Age and Satisfaction πŸŽ‚πŸ˜Š

  • Satisfaction tends to vary across age groups. image

Inflight Wifi Satisfaction πŸ“ΆπŸ˜„

  • Passengers rating Inflight wifi service above 3 are more likely to be satisfied. image

Seat Comfort Matters! πŸ’ΊπŸ˜Œ

  • Passengers giving a seat comfort rating above 3 are generally satisfied. image

Business Class Satisfaction βœˆοΈπŸ‘”

  • Business class travelers tend to be more satisfied with their flights. image

Cleanliness is Key! 🧹😊

  • Passengers rating cleanliness above 3 are more likely to be satisfied. image

Food and Drink Delight! πŸ”πŸ₯€πŸ˜‹

  • Passengers rating food and drink service above 3 are satisfied. image

Model Results πŸ“ŠπŸ€–

Model Accuracy F1 Score
DecisionTreeClassifier 78% 0.81
RandomForestClassifier 79% 0.81
LogisticRegression 78% 0.83
KNeighborsClassifier 78% 0.84
XGB 78% 0.80

customer_review's People

Contributors

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