SkillAgentSearch skills...

Deception Detection

Detecting Deception using Verbal Cues | Dataset Used: Real life trial data collected during a series of experiments at Michigan (http://web.eecs.umich.edu/~zmohamed/PDFs/Trial.ICMI.pdf) and Deceptive Opinion Spam Corpus v1.4(https://myleott.com/op-spam.html)

Install / Use

npx skills add ritikamotwani/Deception-Detection

Installs into whichever agent you are using.

About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Deception-Detection

Classifiers added to detect deception through transcripts. <br />Dataset Used:

  1. Real life trial data collected during a series of experiments at Michigan (http://web.eecs.umich.edu/~zmohamed/PDFs/Trial.ICMI.pdf) (Folder - dataset)
  2. Deceptive Opinion Spam Corpus v1.4 (https://myleott.com/op-spam.html)

Installation

Run the following command to install all python packages that'll be used in the project:

pip install -r requirements.txt

Approaches

Opinion Spam Dataset:

<b><u>Folder: OpinionSpam</u></b>

  1. Parameters: NGram Approach Classifiers: SVM, NB, Random Forest
   To execute:
      python3 Ngrams_And_Classifiers.py 

SVM <br/> Accuracy: 91.25% <br/> F1Score: 90.27% <br/> NB <br/> Accuracy: 85.6% <br/> F1Score: 83.6% <br/> Random Forest <br/> Accuracy: 68.7% <br/> F1Score: 62.1% <br/>

  1. Parameters: LIWC Classifiers: SVM, NB, Random Forest
   To execute:
      python3 LIWC_And_Classifiers.py 

NB <br/> Accuracy: 65.4% <br/> F1Score: 71% <br/> SVM <br/> Accuracy: 79.1% <br/> F1Score: 79.8% <br/> Random Forest <br/> Accuracy: 67.9% <br/> F1Score: 59.6%

<br/>
  1. Parameters: NGrams, LIWC Classifiers: SVM
   To execute:
      python3 SVM_Ngrams_LIWC.py

Accuracy: 84.4% <br/> F1Score: 83.2% <br/>

  1. Recurrent Neural Networks
   To execute:
      python3 RNN

Accuracy: 71% <br/>

Real Life Dataset

<b><u>Folder: RealLife</u></b>

  1. Classifiers: SVM, NB
   To execute:
      python3  Classifiers.py

SVM <br/> Accuracy: 73.7% <br/> F1Score: 78.3% <br/> NB <br/> Accuracy: 68.4% <br/> F1Score: 66.7% <br/>

  1. Parameters: NGram Approach Classifiers: SVM, NB, Random Forest
   To execute:
      python3 Ngrams_And_Classifiers.py 

SVM <br/> Accuracy: 76.9% <br/> F1Score: 80% <br/> NB <br/> Accuracy: 69.2% <br/> F1Score: 71.4% <br/> Random Forest <br/> Accuracy: 46.1% <br/> F1Score: 53.3% <br/>

  1. Parameters: LIWC Classifiers: SVM, NB, Random Forest
   To execute:
      python3 LIWC_And_Classifiers.py 

NB <br/> Accuracy: 63.1% <br/> F1Score: 70.99% <br/> SVM <br/> Accuracy: 57.8% <br/> F1Score: 60% <br/> Random Forest <br/> Accuracy: 52.6% <br/> F1Score: 40%

<br/>
  1. RNN
   To execute:
      python3 RNN.py

Accuracy: 57.9% <br/>

Related Skills

View on GitHub
GitHub Stars30
CategoryDevelopment
Updated2mo ago
Forks8

Languages

Python

Security Score

75/100

Audited on May 11, 2026

No findings