Giter VIP home page Giter VIP logo

tpl_demo's Introduction

TPL_Demo

├── demo_geomap                 // Demo for showing user trajectory
├── demo_usr_bpl_fpl_tpl        // Demo for showing user TPL/BPL/FPL
├── demo_usr_counts_poi_time    // Demo for showing the number of users changing during a period time
├── demo_usrs_tpl_histogram     // Demo for Users TPL Histogram
├──lib 	// Libraries for running TPL Demo Java Program
└── src
	└── tpl_demo
		├── MarkovChain.java        // a class for representing MarkovChain
		├── TPL_Demo.java           // the main class for execution
		└── TrajectoryAnalyse.java  // a class for analysing Trajectory Data

First, run the java program tpl_demo, after the execution, there are outputs in the csv folder. Then, run each demos, the demo needs to read csvdata files in order to generating the graph.

Related paper(s):

Yang Cao, Masatoshi Yoshikawa, Yonghui Xiao and Li Xiong, "Quantifying Differential Privacy under Temporal Correlations," The 33rd IEEE International Conference on Data Engineering (ICDE2017), April, 2017.

tpl_demo's People

Contributors

szhan41 avatar

tpl_demo's Issues

Exception at tpl_demo.TPL_Demo.main(TPL_Demo.java:62)

When I uncomment lines 52-60 at tpl_demo.TPL_Demo.java and execute tpl_demo in Ubuntu 16.04.2 LTS with Octave 4.0.2 installed, I get the following error:

Exception in thread "main" dk.ange.octave.exception.OctaveEvalException: FIXME: scalar/array not implemented yet
        at dk.ange.octave.OctaveEngine.eval(OctaveEngine.java:128)
        at tpl_demo.TrajectoryAnalyse.supremumValue(TrajectoryAnalyse.java:120)
        at tpl_demo.TrajectoryAnalyse.findUpperBound(TrajectoryAnalyse.java:144)
        at tpl_demo.TPL_Demo.main(TPL_Demo.java:62)

Replacing the denominator rat(2*d) at TrajectoryAnalyse.java:120 with 2*d seems to be resolving this issue, but I am not sure if this has any effect to the following calculations of the program.

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.