Coder Social home page Coder Social logo

prateekagr21 / restaurant-review-analysis Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 549 KB

Analyzed restaurant reviews and predicted the same using Machine Learning Algorithms.

Jupyter Notebook 100.00%
one-hot-encoding random-forest-regressor extra-trees-regressor

restaurant-review-analysis's Introduction

Restaurant Review Analysis !!!

Analysis and Visualizations of Restaurant reviews And Prediction
using Machine Learning Algorithms.

restaurant

For Solving this Usecase, What I have done is :

  • Collected the data and organized it to form a meaningful dataset.
  • Checked for null values and took care of it.
  • Observed the data to form meaningful insights!

  • Did Exploratory Data Analysis on the dataset.
  • Used correlations to form a heatmap.
  • Visualizations were made by using Matplotlib and Seaborn Libraries..

And then I made my model for the Prediction :

  • Did Data Preprocessing.
  • Used One-Hot Encoding for conversion of categorical data to Numerical data.
  • Did Train-Test split

Trained my Model using :

Random Forest Regressor

  • Fitted the model.
  • predicted the test scores.
  • Plotted the prediction.
  • Prediction plot gave a Normal Distribution curve.
  • Plotted the Best fit line for the model...
  • Calculated Mean Absolute error and Root Mean Squared Error!

Extra Trees Regressor

  • Fitted the model.
  • predicted the test scores.
  • Plotted the prediction.
  • Prediction plot gave a slightly better Normal Distribution curve than that of Random Forest.
  • Plotted the Best fit line for the model.!!
  • Calculated Mean Absolute error and Root Mean Squared Error.

restaurant-review-analysis's People

Contributors

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