Git Product home page Git Product logo

streaming-anonymous-algorithm's Introduction

"# streaming-anonymous-algorithm"

streaming-anonymous-algorithm

This a dummy platform to implement a streaming anonymous algorithm to protect InputRecord.

Why

I felt like I need to do some research into knowledge and techniques with the General Data Protection Regulation (GDPR). I want to find a easy way that could be made more effective, especially when we want to use those data in machine learning and artificial intelligence.

Requirements

Step 1

  1. Application Structure

    Structure

    Class Diagram

  2. K-anonymisation Algorithm

    1.1 sorted and fix-size aggregation algorithm

    • sort records by rawValue.
    • split all records into diff group, make sure that there are K records in each group
    • If the number of records is not a multiple of K, those records aggregate into the last group.

    K-Anonymity Algorithm

  3. Stream Windows Strategy

    In this version, window's size fixed in the config file.

    Next step, dynamic calculation of the size of the window

    2.1 Kafka Stream Windows

    2.2 Stream Windows in Apache Flink

Step 2

Distortion

  1. calculate the mean of the InputRecord's rawValue
  2. calculate Mean Variances as A
  3. calculate Anonymised Mean Variances as B
  4. Distortion = B / A

Distortion Algorithm Java File

Step 3

explore the trade-offs between latency and information loss.

Data

the trade-offs between latency and information loss.

Analysis tool Java File

Documents

  1. What is [K-anonymity]

Quickstart

What you’ll need

  1. JDK 1.8 or later
  2. Maven 3.2+

Run the application

If you are using Maven, execute:

 mvn package spring-boot:run

Then Open Test Page

 http://localhost:8080

streaming-anonymous-algorithm's People

Contributors

wangzilong avatar

Stargazers

 avatar  avatar  avatar

Watchers

 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.