GithubHelp home page GithubHelp logo

blogpost_celebrity_divorce's Introduction

Is a High Divorce Rate among Celebrities?

  • Author: Chiyuan Cheng (cyuancheng AT gmail DOT com)
  • Last updated: May 16, 2019

Table of Contents

  1. Project Motivation
  2. Installation
  3. File Description
  4. Results
  5. License

Project Motivation

We hear about celebrity breakups almost everyday. I'm curious about if celebrities have a higher divorce rate than the general population. If so, what is their divorce rate? How long are their marriage last? What's the key reason to drive their divorces? Is it predictable? Exploratory data analysis and machine learning were used to answer those questions.

Installation

There should be no necessary libraries to run the code here beyond the Anaconda distribution of Python. The code should run with no issues using Python versions 3.*.

File Descriptions

  • Data: I parsed data of Hollywood's actor and actress from the following two Wikipedia websites.

  • Jupyter Notebook:

    • 01_get_actress_data.ipynb - Gather and assess actress data
    • 02_get_actor_data.ipynb - Gather and access actor data
    • 03_Scrape_actor_actress_data.ipynb - Scrape and clean data
    • 04_DataVist.ipynb - Analyze and visualize data
    • 05_Prep_ML_data.ipynb - Feature enginerring and prep of ML data
    • 06_ML_model_building_tuning.ipynb - ML model

Results

The main findings can be found at the blog post available

  1. What is the divorce rate amongst U.S celebrities in Hollywood compared to the general U.S population?
    • 52% divorce rate for celebrity, which is about 2 times higher than the general U.S. population
  2. How long is celebrity marriage last?
    • The median value is 6 year in their first marriages
  3. Which feature has the most impact on celebrity divorce?
    • Current age and the age at the first marriage.

License

I will give the credit to Udacity to inspire me to come up with this project.

blogpost_celebrity_divorce's People

Contributors

cyuancheng avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

bhasharma

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.