Git Product home page Git Product logo

suicide-severity's Introduction

Suicide Risk Severity Assessment

The implementation of the method in our WWW 2019 paper "Knowledge-aware Assessment of Severity of Suicide Risk for Early Intervention".

Resources

Paper and Poster

Data

Annotated Data mentioned in the paper is available in the ./Data folder (obtained from https://github.com/manasgaur/Knowledge-aware-Assessment-of-Severity-of-Suicide-Risk-for-Early-Intervention).

Source Tree

.
├── Data
│   └── 500_Reddit_users_posts_labels.csv   : Anonymized annotated reddit dataset
│
└── models
    ├── 5-Label_Classification.py     : 5-Label classification {'Supportive', 'Indicator', 'Ideation', 'Behavior', 'Attempt'}
    ├── 4-Label_Classification.py     : 4-Label classification {Indicator', 'Ideation', 'Behavior', 'Attempt'}
    └── 3+1-Label_Classification.py   : 3+1-Label classification {('Supportive', 'Indicator'), 'Ideation', 'Behavior', 'Attempt'}

How to use

  • Clone the repository to your local machine:
  •   git clone [email protected]:jpsain/Suicide-Severity.git
  • Download the ConceptNet term vectors ("English-only") from [https://github.com/commonsense/conceptnet-numberbatch]
  • Obtain external features for each reddit post in the input file ("Data/500_Reddit_users_posts_labels.csv") and save it as "Data/External_Features.csv".
    • External_Features.csv: "User", "Features"
  • In the models -> 5-Label_Classification.py / 4-Label_Classification.py / 3+1-Label_Classification.py, modify the parameters as you desire and then run the code.
    python 5-Label_Classification.py
  • The results will be save as "Result_5-Label_Classification.tsv".

Required Packages

  • Python 2.7
  • nltk
  • gensim
  • numpy
  • sklearn
  • keras

Licenses

This work is licensed under GPL-3.0 license. A copy of the first license can be found in this repository.

GPLv3 Logo

Citing

If you do make use of dataset or models or any of its components please cite the following publication:

Manas Gaur, Amanuel Alambo, Joy Prakash Sain, Ugur Kursuncu, Krishnaprasad Thirunarayan, Ramakanth Kavuluru, Amit Sheth, Randy Welton, and Jyotishman Pathak. Knowledge-aware assessment of severity of suicide risk for early intervention. In The World Wide Web Conference, pp. 514-525. ACM, 2019.

@inproceedings{gaur2019knowledge,
   title={Knowledge-aware assessment of severity of suicide risk for early intervention},
   author={Gaur, Manas
            and Alambo, Amanuel
            and Sain, Joy Prakash
            and Kursuncu, Ugur
            and Thirunarayan, Krishnaprasad
            and Kavuluru, Ramakanth
            and Sheth, Amit
            and Welton, Randy
            and Pathak, Jyotishman},
   booktitle={The World Wide Web Conference},
   pages={514--525},
   year={2019},
   organization={ACM}
}

We would also be very happy if you provide a link to the github repository:

... Suicide Risk Severity Assessment tool\footnote{
    \url{https://github.com/jpsain/Suicide-Severity}
}

suicide-severity's People

Contributors

jpsain avatar

Stargazers

andrea avatar Yiang Qian avatar  avatar Licheng Luo avatar prdepyadv avatar

Watchers

James Cloos avatar  avatar

Forkers

happypanda5

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.