Coder Social home page Coder Social logo

ptsd_syntax's Introduction

P-Text: NLP to identify PTSD

Summary

The Problem

  • 2.7 million veterans from OEF & OIF (as of Sep 2014)
  • 20% suffer from PTSD
  • 50% don't seek treatment

Our Work

We built a an nlp model that assesses the probability of PTSD in a suspected victim based on language gathered from correspondence and social media posts. Potential applications include:

  • Families - Helping veteran families gauge depth of loved one's condition and provide them with the appropriate tools to help (implemented)
  • Hotline triage - Crisis hotline prioritization based on assessed severity of caller's condition
  • Veteran clinicians - Gentler questionnaires to guide veteran reintegration without forcing them to relive traumatic experiences

The Data

We scraped posts from a variety of forums and social media sources, the most prominent of which was Reddit. Conversations from PTSD threads were labeled as PTSD-positive and conversations from threads of people telling painful stories were labeled as PTSD-negative.

The Model

We tokenized and lemmatized the corpus in addition to removing stop words and key PTSD-giveaways (like the word "PTSD"). We then vectorized the data using a simple bag of words. The Naive Bayes Classifier performed best, outclassing the random forest classifier, adaboost classifier (XGBoost) in accuracy based on the five fold cross validation. We tried an SVC, but the train time proved prohibitively long given the size high dimensionality of the dataset.

Next Steps

  • Improve dataset - Collaborate with Johns Hopkins researchers to procure larger and more rigorously labeled dataset
  • Improve model - Optimize model for precision and gridsearch broader variety of parameters
  • Broaden application - Expand diagnostics to other key veteran injuries sucgh as Traumatic Brain Injury and depression
  • Implement in use case - Work with Department of Veterans' Affairs to deploy model

ptsd_syntax's People

Contributors

paperparrot avatar pvomelveny avatar lukearmistead avatar jeffonabike avatar avril-affine avatar

Watchers

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