Code Monkey home page Code Monkey logo

priyagunjate / logistic-regression-on-amazon-reviews-data-set. Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 581 KB

Logistic Regression algorithm is applied on amazon reviews datasets to predict whether a review is positive or negative. Procedure to execute the above task is as follows: • Step1: Data Pre-processing is applied on given amazon reviews data-set.And Take sample of data from dataset because of computational limitations • Step2: Time based splitting on train and test datasets. • Step3: Apply Feature generation techniques(Bow,tfidf,avg w2v,tfidfw2v) • Step4: Apply Logistic Regression algorithm using each technique. • Step5: To find lambda using gridsearch cross-validation and random cross-validation • Step5: L1 and L2 regularization • Step6: L1 Regularization- Increase lambda hyperparameter to generate sparcity in dataset. 1. Report Performance metric 2. Report Error 3. Report Sparcity in "W*" • Step6: Feature Importance for postive and Negative reviews 1. Most Important Feature 2. Bar plot of top 15 Important Features. 0.2 Objective: • To classify given reviews (positive (Rating of 4 or 5) & negative (rating of 1 or 2)) using Logistic regression algorithm.

Jupyter Notebook 100.00%

logistic-regression-on-amazon-reviews-data-set.'s People

Contributors

priyagunjate avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

jerockkalala

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.