aryamohan23 / SoundSensei

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About SoundSensei

In the realm of music recommender systems, advanced technology and data analytics have spurred a transformative shift. This research delves into SoundSensei, a data-driven music recommendation system, aiming to uncover its profound implications and intricate technical foundations.

Driven by data analysis, music recommender systems play a pivotal role, serving over 35 billion hours of music globally on platforms like Spotify in 2020. SoundSensei operates within Spotify's dataset of 70 million tracks, using advanced machine learning and data analytics to craft recommendations that surpass personalization.

At its core, SoundSensei employs sophisticated data analysis techniques, from statistical modeling to precise methods, bridging the gap between chart-toppers and deeply personal musical choices. This project offers a comprehensive guide to the underlying algorithms and methodologies. Beyond personalization, SoundSensei excels in content safety, using NLP algorithms to curate kid-friendly music content, addressing digital-age challenges for parents.

Description of packages

soundsensei
|----> frontend
|    |----> node_modules: Libraries and dependencies for the frontend.
|    |----> public: Public assets like HTML and image files.
|    |----> src: Source code for the frontend.
|    |    |----> css: Stylesheets for frontend styling.
|    |    |----> components: React components used in the frontend.
|    |    |----> pages: JavaScript files for different pages of the app.
|    |    |----> media: Media files like images used in the frontend.
|    |    |----> App.js: Defines the overall layout of the web application and is responsible for rendering the top-level component hierarchy.
|    |    |----> index.js: Main entry points for the React app.
|
|----> api
|----> database
|    |----> db.txt: Database related text file.
|----> static: Static files used by the API, like data visualizations.
|    |----> (visualization images like viz2_audio_profile_box.png)
|----> service: Service scripts for data processing and analytics.
|    |----> analytics_service.py: Includes functions for statistical analysis, data transformation, and generating recommendations.
|    |----> (other data files like train_data.csv)
|----> app.py: Main Python script for running the API. Consists of the initialization of the web application instance, and route definitions for API endpoints. This file acts as the dispatcher for incoming HTTP requests, directing them to the appropriate handling logic defined elsewhere in the application.

Installation and Execution Requirements

To install and set up this code, you need to have:

  • Python 3.x
  • Node.js and npm (for JavaScript frontend)
  • Python libraries used in analytics_service.py (like pandas, numpy, tensorflow, etc.)

Running the web app

  • Step 1: Clone the repository or download the files to your local machine.
  • Step 2: Run the backend by navigating to the api directory and running:
python app.py
  • Step 3: Run the frontend by navigating to the frontend directory and running:
npm install
npm start

To see how to run and a demo of the web application, please see this video: https://youtu.be/sHr-8_At3Y4

About


Languages

Language:Jupyter Notebook 55.2%Language:Python 28.0%Language:JavaScript 13.6%Language:CSS 2.5%Language:HTML 0.8%