Giter Site home page Giter Site logo

bomada / sparkify Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 129 KB

This project is the final Capstone project of the Udacity Data Scientist Nanodegree program. The aim is to learn how to manipulate realistic datasets with Spark to engineer relevant features for predicting churn. Input data is related to the fictive music streaming service Sparkify (similar to Spotify and Pandora).

License: MIT License

Jupyter Notebook 100.00%
portfolio python spark churn music streaming ml

sparkify's Introduction

Sparkify Project

This project is the final Capstone project of the Udacity Data Scientist Nanodegree program. The aim is to learn how to manipulate realistic datasets with Spark to engineer relevant features for predicting churn. Input data is related to the fictive music streaming service Sparkify (similar to Spotify and Pandora).

Table of Contents

  1. Installation
  2. Project Motivation
  3. File Descriptions
  4. Project Process
  5. Result Summary
  6. Licensing, Authors, Acknowledgements

Installation

The code should run with no issues using Python versions 3. See the requirements.txt file for details about library versions.

Project Motivation

Since I'm a long time user of the Spotify streaming service I've wanted to test out some ideas for a while. In this project I could work with similar data and also try out Spark which is new to me.

File Descriptions

  • mini_sparkify_event_data.json: Fictious music streaming data provided by Udacity. This file is not available in the repository due to it's size.
  • sparkify.ipynb: Exploratory notebook with all steps necessary to build a model that predicts churn for the Sparkify data.

Project Process

When working with this project I followed the CRISP-DM process. The details are found in the notebook and also on this blog post: https://medium.com/@marcusnilsson78/sparkify-project-write-up-5dfbaac36cc6

Result Summary

The model got a F1 score in validation of 46.2% which is not that good. As the dataset available was very small, it's hard to trust the model in it's current state. It should be trained and validated further on a greater dataset. Please see the blog mentioned above to read the complete results.

Licensing, Authors, Acknowledgements

Code

See details in licensing file.

Data

Data in the .json file cannot be used without consent from Udacity.

Acknowledgements

Besides the Udacity training material, the following resources were of much help in this project:

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.