GithubHelp home page GithubHelp logo

shrutiappiah / mlformentalhealth Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 4.0 356 KB

Regression with support vector machines (SVM). Clustering with DBSCAN. Identifies factors contributing to mental health help seeking behaviours in the tech industry

License: MIT License

Python 88.74% Jupyter Notebook 11.26%

mlformentalhealth's Introduction

Paper & associated research

Read the associated IEEE-style research paper

Goal

To gauge which employer-related factors contribute to employees in the tech industry are with seeking help related to mental health issues.

Execution strategy

We used PCA to reduce the dimensionality of survey responses in the dataset, then clustered these responses with DBSCAN. To classify, we compared two different methods - a Naives Bayes Classifier and a Support Vector Machine (SVM).

The SVM ultimately performed better. SVMs are a perfect candidate given the relatively small volume of our dataset.

  • Identify clusters against the mental illness binary (i.e. the 'Do you currently have a mental health disorder?') while considering all other attributes at once
  • Identify contrasting clusters (YES/NO/No Preference) based on the mental illness binary while considering each attribute one by one iteratively.

    Use DBSCAN clustering to identify and separate data into different clusters. Obtain the number of clusters. To classify data, run SVM.

Results

Naive Bayes Accuracy

SVM Accuracy

Learnings

  • The dataset used was fairly limiting. Our testing and training models didn't perform optimally with both Navie Bayes nor SVM classifiers as a result.
  • We could've invested more effort into developing more effective de-noising strategies for the dataset.
  • There needs to be an extra step of data clean-up prior to PCA dimensionality reduction. This helps eliminate extreme outliers.

Dataset

https://www.kaggle.com/osmi/mental-health-in-tech-survey
https://www.kaggle.com/osmi/mental-health-in-tech-2016/version/1

Contributors

Shruti Appiah, Sam Barnard, and Jonathan Deiven

License

License: MIT

Copyright © 2017 Shruti Appiah

mlformentalhealth's People

Contributors

shrutiappiah avatar

Stargazers

zhenya avatar Lawrence Rajendran avatar  avatar

Watchers

James Cloos 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.