Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/LCS2-IIITD/DeFrauder
https://github.com/LCS2-IIITD/DeFrauder
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/LCS2-IIITD/DeFrauder
- Owner: LCS2-IIITD
- License: mit
- Created: 2019-06-15T11:37:18.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-07-25T05:38:07.000Z (over 2 years ago)
- Last Synced: 2024-08-03T18:16:20.132Z (4 months ago)
- Language: Python
- Size: 803 KB
- Stars: 19
- Watchers: 2
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-fraud-detection-papers - [Code
README
[![HitCount](http://hits.dwyl.io/LCS2-IIITD/DeFrauder.svg)](http://hits.dwyl.io/LCS2-IIITD/DeFrauder)
# Spotting Collective Behaviour of Online Frauds in Customer ReviewsThis is the code for the paper titled
**Spotting Collective Behaviour of Online Frauds in Customer Reviews. Sarthika Dhawan\*, Siva Charan Reddy Gangireddy, Shiv Kumar, Tanmoy Chakraborty**
accepted at [28th International Joint Conference on Artificial Intelligence](https://ijcai19.org/).
# Quick Start
## Requirements
* Python
To install the dependencies used in the code, you can use the __requirements.txt__ file as follows -```
pip install -r requirements.txt
```## Running the code
Run the ```detection.py``` followed by ```refine_groups.py``` as follows -
```
python detection.py
```The agruments it takes are (All are mandatory):
- ```--metadata```: Path to metadata for the particular dataset.
- ```--rc```: Path to review content for the particular dataset.
- ```--dg```: Path to save the groups detected (json format).
```
python refine_groups.py
```The agruments it takes are (All are mandatory):
- ```--metadata```: Path to metadata for the particular dataset.
- ```--rc```: Path to review content for the particular dataset.
- ```--groups```: Path to groups generated by ```detection.py```.
- ```--outputgroups```: Path to save the output groups (json format).This will generate fraud reviewer groups for the particular dataset.
Run the ```ranking.py``` as follows -
```
python ranking.py
```
The agruments it takes are (All are mandatory):
- ```--groups```: Path to groups generated by ```refine_groups.py```.
- ```--ef```: Path to reviewer embeddings.
- ```--rankedgroups```: Ranked group IDs (txt format, line separated IDs).
This will rank fraud reviewer groups for the particular dataset.
Provide appropriate paths for data files and parameters.# Contact
If you face any problem in running this code, you can contact us at sarthika15170\[at\]iiitd\[dot\]ac\[dot\]in.
# License
For copyright (c) Sarthika Dhawan, Siva Charan Reddy Gangireddy, Shiv Kumar, Tanmoy Chakraborty
For license information, see [LICENSE](LICENSE) or http://mit-license.org