Code Monkey home page Code Monkey logo

airline-satisfaction-prediction's Introduction

Airline-Satisfaction-Prediction

In this project, we will be using different machine learning algorithms to predict whether an airline customer will be satisfied or not according to the features such as wifi service, food and drink service, online booking ease etc...

Model Accuracy
Logistic Regression 86.8%
Support Vector Machine 88.1%
Multilayer Perceptron 88.1%
Random Forest 96.3%
Gradient Boosting 93.9%

Data Used

These models were built using data found on Kaggle.

Libraries Used

pandas
numpy
matplotlib
seaborn
scipy
sklearn
warnings
joblib
time

Author

Further Notes

Couldn't do cross validation while training SVM MLP and GB models as it takes so much time because of the huge data. Default hyperparameters were used. I might update the code if I find an alternative to cross validation.

Couldn't upload the Random Forest model to the repo because the file is huge for some reason.

Files

  • cleaning_the_data_Notebook includes the code for:

    • Second nested list item
    • finding and filling in the null data
    • enumerating non-numeral catagorial features
    • dropping the unnecessary features
  • data_visualization_notebook includes the code for:

    • weeding out outliers
    • using cox-box transformation to reduce skewness
    • data visualization
  • Building_Models_Notebook includes the code for:

    • Splitting the data to training,validation and test data
    • cross validation
    • Building Logistic Regression model
    • Building Support Vector Machine model
    • Building Multilayer Perceptron model
    • Building Random Forest model
    • Building Gradient Boosting model
  • Final_Results_Notebook includes the code for:

    • Validating and comparing models against each other in terms of accuracy, precision, recall and latency
    • Testing the best Model on test data
    • Conclusion
  • models folder include the models built during this project.

  • csv files include the data used during this project

airline-satisfaction-prediction's People

Contributors

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