Skip to content

Commit 196a368

Browse files
committed
Update README.md
1 parent 6ba8494 commit 196a368

File tree

1 file changed

+8
-18
lines changed

1 file changed

+8
-18
lines changed

README.md

+8-18
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ If you use the toolbox in your project, please cite the [paper](https://arxiv.or
4949
```
5050

5151
**Useful Resources**
52+
- [DGFraud: A Deep Graph-based Fraud Detection Toolbox](https://github.com/safe-graph/DGFraud)
5253
- [Graph-based Fraud Detection Paper List](https://github.com/safe-graph/graph-fraud-detection-papers)
5354
- [Awesome Fraud Detection Papers](https://github.com/benedekrozemberczki/awesome-fraud-detection-papers)
5455
- [Attack and Defense Papers on Graph Data](https://github.com/safe-graph/graph-adversarial-learning-literature)
@@ -81,18 +82,8 @@ cd UGFraud
8182
python setup.py install
8283
```
8384

84-
### Requirements
85-
```bash
86-
* python 3.6, 3.7
87-
* networkx >=1.10
88-
* numpy>=1.16.4
89-
* scipy>=1.2.0
90-
* sklearn>=0.20.0
91-
```
92-
9385
### Dataset
94-
#### Yelp dataset
95-
The demo data is not the intact data (`rating` and `date` information are missing). The rating information is only used in ZooBP demo. If you need the intact date to play demo. Please download intact data from [Yelp Spam Review Dataset](http://odds.cs.stonybrook.edu/yelpchi-dataset/). The `.gz` file includes:
86+
The demo data is not the intact data (`rating` and `date` information are missing). The rating information is only used in ZooBP demo. If you need the intact date to play demo, please email [[email protected]](mailto:[email protected]) to download the intact data from [Yelp Spam Review Dataset](http://odds.cs.stonybrook.edu/yelpchi-dataset/). The `metadata.gz` file in `/UGFraud/Yelp_Data/YelpChi` includes:
9687
- `user_id`: 38063 number of users
9788
- `product_id`: 201 number of products
9889
- `rating`: from 1.0 (low) to 5.0 (high)
@@ -103,15 +94,15 @@ The demo data is not the intact data (`rating` and `date` information are missin
10394
## User Guide
10495

10596
### Running the example code
106-
You can find the implemented models in `Demo` directory. For example, you can run fBox using:
97+
You can find the implemented models in `/UGFraud/Demo` directory. For example, you can run fBox using:
10798
```bash
10899
python eval_fBox.py
109100
```
110101

111102
### Running on your datasets
112-
Have a look at the `data_to_network_graph.py` to convert your own data into a graph ([networkx graph](https://networkx.github.io/documentation/stable/tutorial.html#creating-a-graph).
103+
Have a look at the `/UGFraud/Demo/data_to_network_graph.py` to convert your own data into a graph ([networkx graph](https://networkx.github.io/documentation/stable/tutorial.html#creating-a-graph).
113104

114-
In order to use your own data, you have to provide below information at least:
105+
In order to use your own data, you have to provide the following information at least:
115106
* a dict of dict:
116107
```
117108
'user_id':{
@@ -126,7 +117,7 @@ You can use `dict_to networkx(graph_dict)` function from `/Utils/helper.py` file
126117
For more detial, please see `data_to_network_graph.py`.
127118

128119
### The structure of code
129-
The repository is organized as follows:
120+
The `/UGFraud` repository is organized as follows:
130121
- `Demo/` contains the implemented models and the corresponding example code;
131122
- `Detector/` contains the basic models;
132123
- `Yelp_Data/` contains the necessary dataset files;
@@ -155,12 +146,11 @@ The repository is organized as follows:
155146
| **Fraudar** | Social Fraudster | Bipartite | Dense-block |
156147
| **ZooBP** | E-commerce Fraud | Tripartite | MRF |
157148
| **SVD** | Dimension Reduction | Bipartite | SVD |
158-
<!--| **HACUD** | | | |-->
159-
<!--| **GraphConsis** | Opinion Fraud | Homogeneous | GraphSAGE |-->
149+
160150

161151
## TODO List
162152
- Homogeneous graph implementation
163153

164154

165155
## How to Contribute
166-
You are welcomed to contribute to this open-source toolbox. Currently, you can create issues or send email to [ytongdou@gmail.com](mailto:ytongdou@gmail.com) for enquiry.
156+
You are welcomed to contribute to this open-source toolbox. Currently, you can create issues or send email to [bdscsafegraph@gmail.com](mailto:bdscsafegraph@gmail.com) for enquiry.

0 commit comments

Comments
 (0)