Giter Site home page Giter Site logo

vat0599 / song-success-predictor Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.83 GB

Predicting song’s commercial success based on lyrics and other metrics using Machine Learning

License: GNU General Public License v3.0

Python 55.09% R 44.91%
python r machine-learning machinelearning-python data-visualization

song-success-predictor's Introduction

Songs success predictor using Machine Learning

Predicting song’s commercial success based on lyrics and other metrics using Machine Learning.

Make sure that MillionSongSubset folder and other files are in the same local directory in your PC.

Note: This project is an analysis of the various factors in which a song's "hit factor" is calculated. This is entirely hard-core ML case study and thus live demo is not available. Further development can be done in future to get the live hit factor rating for song that is played.

Steps to follow:

  • Clone the repo.
  • After the download is done, we need to find the important features that affect the output variable.
  • For this reason, run cleaning_data.py
  • You will see there will be two csv sheets generated, namely training_data.csv, testing_data.csv
  • Once you reach this stage you are good to go.
  • Now open the main R file named music_rating.R and run all.
  • You will see on your R Studio console, a bunch of plots being plotted with a lot of textual information printed.
  • The code is well commented for your understanding.

Models used:

  • Basic Models:
    • Linear Regression
    • Logistic Regression
    • Linear Discriminant Analysis(LDA)
    • Quadratic Discriminant Analysis(QDA)
    • K-Nearest Neighbors(KNN)
    • Cross Validation(CV)
    • Polynomial Logistic Regression
    • Decision Tree
  • Advanced/Alternate Models:
    • Best subset, Forward and Backward stepwise
    • Ridge and Lasso
    • Splines
    • Generalised Additive Models(GAMs)
    • Random Forest
    • Boosting

Contributions

Do not hesitate to contribute by filling an issue or a PR !

song-success-predictor's People

Contributors

vat0599 avatar

Watchers

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