Coder Social home page Coder Social logo

diffprivacyoppnet's Introduction

This repository provides the simulations about the routing algorithm in OppNet. It also supports the auxiliary information privacy-preserving method based the differential privacy.

The simulation is implemented in Python. It depends on the python packages, e.g., numpy, sklearn, pandas and cvxopt. The figuring code is implemented in Matlab.

Dataset

The dataset about the bicycle trips are published in this folder.

The bike stations are distributed in Pukou area (117 stations) and Qiaobei area (99 stations), Nanjing, China. The published dataset has been pre-processed. In each trip, the check-in station and the check-out station can be identified.

The number of trips between Pukou area and Qiaobei area is few (about 4,000 trips). However, the number of trips among the stations in Qiaobei area is more than 580,000 according to the file data_qiaobei.csv. In the other word, the trips in Pukou area and Qiaobei area are relatively independent.

Simulation

The main programs in this folder includes 'MainSimulator_XXX.py' in 'DiffPrivacyOppNet/01-code/Main/'. For example, conducting 'MainSimulator_varyttl_OpDP.py' will present the varying routing performace with the increasing TTL (the message time lifespan or the message time-to-live).

The verison of the ONE simulator, which supports the one-way connection (message transmission) is provided in here.

Figuring

The figuring programs in this folder is the '*.m' file, which should be conducted by Matlab.

diffprivacyoppnet's People

Contributors

gaoyang23nj avatar

Stargazers

Zou Dikai avatar  avatar

Watchers

 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.