https://github.com/thudm/etrust
Source code and dataset for TKDE 2019 paper “Trust Relationship Prediction in Alibaba E-Commerce Platform”
https://github.com/thudm/etrust
e-commerce factor-graph recommendation relationship-prediction trust-prediction
Last synced: 3 months ago
JSON representation
Source code and dataset for TKDE 2019 paper “Trust Relationship Prediction in Alibaba E-Commerce Platform”
- Host: GitHub
- URL: https://github.com/thudm/etrust
- Owner: THUDM
- License: mit
- Created: 2018-02-12T10:45:44.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-04T14:27:24.000Z (over 6 years ago)
- Last Synced: 2025-04-10T15:50:03.597Z (6 months ago)
- Topics: e-commerce, factor-graph, recommendation, relationship-prediction, trust-prediction
- Language: C++
- Homepage:
- Size: 5.75 MB
- Stars: 15
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eTrust
### [Project](https://sites.google.com/view/thudm-etrust) | [PDF](http://keg.cs.tsinghua.edu.cn/jietang/publications/TKDE19-Cen-et-al-Trust-Relationship-Prediction.pdf)
Trust Relationship Prediction in Alibaba E-Commerce Platform
[Yukuo Cen](https://sites.google.com/view/yukuocen), [Jing Zhang](https://xiaojingzi.github.io/), Gaofei Wang, [Yujie Qian](http://people.csail.mit.edu/yujieq/), Chuizheng Meng, Zonghong Dai, [Hongxia Yang](https://sites.google.com/site/hystatistics/home), [Jie Tang](http://keg.cs.tsinghua.edu.cn/jietang/).
Accepted to TKDE 2019!
## Prerequisites
- g++
- make## Getting Started
### Installation
Clone this repo.
```bash
git clone https://github.com/THUDM/eTrust
cd eTrust
```### Dataset
- Epinion [Source](https://www.cse.msu.edu/~tangjili/trust.html)
- Ciao. [Source](https://www.cse.msu.edu/~tangjili/trust.html)
- Advogato. [Source](http://www.trustlet.org/datasets/advogato/)### Training
First you should use command `make` to compile the cpp source file and obtain the executable file.
#### Training on the existing datasets
You can use `./src/main -data -edge ` to train eTrust-s model.
For example, you can use `./src/main -data ./data/epinion.dat -edge ./data/epinion.edgelist` to train on Epinion dataset. You can similarly train on Ciao and Advogato datasets.
#### Training on your own datasets
If you want to train eTrust on your own dataset, you should prepare the following two files:
- xxx.dat: This file consists of two components: edge-based features and triad-based features.
- component 1: edge-based features (starting with the label +k or ?k denoting labeled train/test instance of the model where k is the class number)
- component 2: triangles formed by three edges
- xxx.edgelist: Each line represents an edge, which contains two numbers ` `. Each line in the edgelist file corresponds to the line with the same line number in the data file.Under construction. If you have ANY difficulties to get things working in the above steps, feel free to open an issue. You can expect a reply within 24 hours.
## Cite
Please cite our paper if you find this code useful for your research:
```
@article{cen2019trust,
title={Trust Relationship Prediction in Alibaba E-Commerce Platform},
author={Cen, Yukuo and Zhang, Jing and Wang, Gaofei and Qian, Yujie and Meng, Chuizheng and Dai, Zonghong and Yang, Hongxia and Tang, Jie},
journal={IEEE Transactions on Knowledge and Data Engineering},
year={2019},
publisher={IEEE}
}
```