/Deception-Detection

A ML model to detect deceptive(fake) Hotel and Electronic reviews

Primary LanguagePython

Deception-Detection

A Machine learning model to detect deceptive(fake) Hotel and Electronic reviews.

Link to report: Report.pdf

Dataset Used:

Boulder Lies and Truth dataset

Model Architecture:

Model Architecture

Project Dependencies:

  • The project dependencies(python libraries) can be installed by running the following command:-
$ pip install -r requirements.txt

Train model:

  • Run the below commands to start training and evaluating the network.
    • You will need to provide the path to the dataset, and
    • A flag(treat_F_as_deceptive) that tell the program whether to treat the 'F' label in the dataset as deceptive or to treat it as a unique class while training.
      • More information - Paper.
$ python main.py --path_to_dataset "<path to the BLT dataset>" --treat_F_as_deceptive <True/False>

References