Giter Site home page Giter Site logo

priauwindu / predicting-song-preference-in-spotify-using-k-nearest-neighbor-classifier Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 372 KB

Building K-Nearest-Neighbor classifier model using Spotify dataset to predict song preference of a given hypothetical person.

Home Page: https://priauwindu.github.io/Predicting-Song-Preference-in-Spotify-Using-K-Nearest-Neighbor-Classifier/

k-nearest-neighbor-classifier machine-learning spotify

predicting-song-preference-in-spotify-using-k-nearest-neighbor-classifier's Introduction

Predicting Song Preference in Spotify Using K-Nearest-Neighbor Classifier

GitHub Pages: https://priauwindu.github.io/Predicting-Song-Preference-in-Spotify-Using-K-Nearest-Neighbor-Classifier/

This GitHub repository contains a project focused on building a K-Nearest-Neighbor (KNN) classifier model using the Spotify dataset in R. The goal of this project is to predict the song preferences of a hypothetical person named Putra, classifying them as either "like" or "dislike" based on their characteristics.

Dataset

The dataset used for this project is sourced from Spotify, a popular music streaming platform. It includes a wide range of features such as song duration, tempo, danceability, energy, and more. Each song in the dataset is labeled as either "like" or "dislike" based on Putra's preferences.

Project Structure

The repository is organized as follows:

  • The data directory contains the Spotify dataset in CSV format and any other necessary data files.
  • The src directory contains the source code for the KNN classifier model (Predicting-Song-Preference-in-Spotify-Using-K-Nearest-Neighbor-Classifier.Rmd).
  • The LICENSE file specifies the open-source license for this project.
  • The README.md file provides detailed information about the project, including installation instructions, usage guidelines, and an overview of the repository's contents.

Usage

To use this repository, follow these steps:

  • Clone the repository to your local machine.
  • Install the required dependencies mentioned in the requirements.txt file or the project's README.
  • Open the R Markdown file (song_preference_prediction.Rmd) in the root directory.
  • The R Markdown file contains the code for data preprocessing, model training, and testing.
  • Run the R Markdown file to execute the code step by step.
  • Review the results, including the trained model's performance and any predictions made.

Contributions

Contributions to this repository are welcome! If you find any issues or have suggestions for improvements, feel free to submit a pull request or open an issue.

Usage and Citations

If you find this repository useful, you may replicate the code here to assist your projects/works but dont forget to properly cite this repository in your work.

Thank you for your interest in Predicting Song Preference in Spotify Using K-Nearest-Neighbor Classifier

Author: Putranegara Riauwindu

predicting-song-preference-in-spotify-using-k-nearest-neighbor-classifier's People

Contributors

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