Giter Club home page Giter Club logo

etrust's Introduction

eTrust

Trust Relationship Prediction in Alibaba E-Commerce Platform

Yukuo Cen, Jing Zhang, Gaofei Wang, Yujie Qian, Chuizheng Meng, Zonghong Dai, Hongxia Yang, Jie Tang.

Accepted to TKDE 2019!

Prerequisites

  • g++
  • make

Getting Started

Installation

Clone this repo.

git clone https://github.com/THUDM/eTrust
cd eTrust

Dataset

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 <datafile> -edge <edgefile> 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 <node1> <node2>. 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}
}

etrust's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.