Giter VIP home page Giter VIP logo

expedia-hotel-recommendation's Introduction

Execution Steps for decision tree algo:
1. Download and extract the train dataset. It will be extracted as train.csv
2. Run python expedia_decision_tree.py to run the algorithm
3. If you have to run on a dataset with smaller rows. Please changed line #164 to reflect the proper file name and run the algorithm using command given in 2.

Execution steps for SVM Algorithm

1. Download and extract the train dataset.
2. Move inside the directory where you downloaded "train.csv"
3. run python Multiclass-Svm.py

Execution steps for Softmax Algorithm

1. Download and extract the train dataset.
2. Move inside the directory where you downloaded "train.csv"
3. run python Softmax.py

Execution steps for Random Forest Algorithm
1. Download and extract the train dataset.
2. Move inside the directory where you downloaded "train.csv"
3. run python Random_forest_algorithm.py
4. Currently it is running for 5 clusters, if you need to run for 2 or entire clusters, comment code line # 290.


Execution steps for Naive Bayes Algorithm

1. Download and extract the train dataset.
2. Move inside the directory where you downloaded "train.csv"
3. Open the Ipython notebook - Naive Bayes Implementation.ipynb in Anaconda or use the NaiveBayes.py file to run the code. Ipthon notebook is preferred as the code was developed on it.
4. Run all the cells.

expedia-hotel-recommendation's People

Contributors

abhisheknigam avatar chaitanya0411 avatar jaspreet-bajwa avatar ashvini-patel avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar  avatar Moulik Agarwal 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.