Giter VIP home page Giter VIP logo

inyourface's Introduction

In your face: The biased judgment of fear-anger expressions in violent offenders.

Martin Wegrzyn, Sina Westphal & Johanna Kissler, in preparation

Abstract

Why is it that certain violent criminals repeatedly find themselves engaged in brawls? Many inmates report having felt provoked or threatened by their victims, which might be due to a tendency to ascribe malicious intentions when faced with ambiguous social signals, termed hostile attribution bias. The present study presented morphed fear-anger faces to prison inmates with a history of violent crimes, a history of child sexual abuse, and to matched controls form the general population. Participants performed a fear-anger decision task. Analyses compared both response frequencies and measures derived from psychophysical functions fitted to the data. In addition, a test to distinguish basic facial expressions and questionnaires for aggression, psychopathy and personality disorders were administered. Violent offenders present with a reliable hostile attribution bias, in that they rate ambiguous fear-anger expressions as more angry, compared to both the control population and perpetrators of child sexual abuse. Psychometric functions show a lowered threshold to detect anger in violent offenders compared to the general population. This effect is especially pronounced for male faces, correlates with self-reported aggression and presents in absence of a general emotion recognition impairment. The results indicate that a hostile attribution, related to individual level of aggression and pronounced for male faces might be one mechanism mediating physical violence.

About

This is a repository containing the full data and code of our paper about facial expression recognition in violence offenders.

Table of Contents

Requirements

Data analysis was performed with Python 2.7 www.python.org using mainly numpy, scipy, pandas, scikit-learn, matplotlib, seaborn and jupyter.

To run all the scipts, you can create a virtual environment, by first installing virtualenv

pip install  virtualenv

Then you can create a virtual environment in the folder into which you cloned this repository

virtualenv venv

and then install all modules using pip

venv/bin/pip install -r requirements.txt

The main experiment was written and rendered with PsychoPy. The AFAS questionnaire was rendered as a html site using Flask for the back-end.

Contact

For questions or comments please write to [email protected]

inyourface's People

Contributors

mwegrzyn avatar

Watchers

James Cloos avatar Mohd Fitri Alif Bin Mohd Kasai 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.