Giter Site home page Giter Site logo

radioactive11 / rezonance Goto Github PK

View Code? Open in Web Editor NEW
36.0 1.0 16.0 128.11 MB

Content Based Music Recommendation Service

Home Page: https://rezonance.vercel.app

License: GNU General Public License v3.0

Python 0.16% Shell 0.01% HTML 0.03% CSS 0.09% JavaScript 0.29% Jupyter Notebook 99.43%
music-recommendation-system python3 react scikit-learn heroku

rezonance's Introduction

Contributors Forks Stargazers Issues MIT License


Logo

reZonance

Content Based Music Recommendation Service
Visit the website »

View Demo · Report Bug · Request Feature

Table of Contents

About The Project

Product Name Screen Shot

reZonance is a Content Based Recommendation Service which suggests songs similar to the one chosen by the user. It has approximately 160,000 songs in its database and takes about 300ms to generate recommendations.

Following are some core concept on which this project relies on


  • Content Based Filtering

Content-based filtering uses item features to recommend other items similar to what the user likes, based on their previous actions or explicit feedback.


  • Cosine Similarity

Cosine similarity measures the similarity between two vectors by calculating the cosine of the angle between them. A simple visualization and the formula can be found below.


Advantage over Collaborative Filtering

Recommendation engines that run on collaborative filtering recommend each item (products advertised on your site) based on user actions. The more user actions an item has, the easier it is to tell which user would be interested in it and what other items are similar to it. As time progresses, the system will be able to give more and more accurate recommendations.

This, however, brings a major contradiction and difficulty to classified sites and their recommendation engines. Even though a new song can actually be the the most relevant one to a user, a recommendation system has far less confidence in recommending them than it has with older songs, but it’s just simply not a good idea to let songs ads dominate the recommendation process.

Similarly newer users cannot be provided with accurate recommendations until the user has made few choices himself/herself which will tune the recommendation algorithm.

Built With


Python pandas JS React Heroku

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

  • React
  • Python 3.6+

Installation


Flask API


  1. Clone the repo
git clone https://github.com/radioactive11/rezonance
  1. Install requirements
pip3 install -r requirements.txt
  1. Start Flask server (by default at localhost:5000)
python3 app.py

React


  1. Clone the repo
git clone https://github.com/radioactive11/rezonance
  1. Install required packages
cd client
npm install
  1. Start React Development server (by default at localhost:3000)
npm start

Usage

  • Visit the website and click on get started

  • Enter name of Song or Artist name, for which you want similar songs, to search. Click on a card to chose a song.

  • In the recommendation page, click on a song to listen to a 30 second preview of the song. Click again on the card to pause it.

NOTE: some songs do not have a preview due to copyright issues.

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Contact

Arijit Roy - GitHub - [email protected]

Kartik Goel - GitHub - [email protected]

Website: https://rezonance.vercel.app

Thank You StackOverflow 😅

rezonance's People

Contributors

gaurisharma360 avatar kg-kartik avatar radioactive11 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

rezonance's Issues

Not working on local machine.

So, Apparently, the backend is running properly, and even the frontend is loading up. But the issue is that it doesn't show any songs or anything while searching. Not even some random songs. In short, it doesn't show any songs at all. I have even added my client secret and client id. Still, it won't work.
Could you please look into this matter?

Difficulties in running the project on local system

Hello,

I followed the exact same steps as mentioned and tried running the project in my local system, but while I can see the fron end, I cant generate any recommendations. I changed the client_id and client_secret to the one I generated myself as well, but it doesnt work. Could you help me out with that?

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.