GithubHelp home page GithubHelp logo

kritikalcoder / duet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from uvm-plaid/duet

0.0 1.0 0.0 8.8 MB

Duet: A Language for Differential Privacy

License: MIT License

Makefile 1.59% Shell 0.40% Haskell 98.00%

duet's Introduction

Duet is an expressive higher-order language, linear type system and tool for automatically verifying differential privacy of arbitrary higher-order programs. In addition to general purpose programming, it supports encoding machine learning algorithms such as stochastic gradient descent, as well as common auxiliary data analysis tasks such as clipping, normalization and hyperparameter tuning.

Installation

Install Stack: https://docs.haskellstack.org/en/stable/install_and_upgrade/

Install hpack: https://github.com/sol/hpack/blob/master/get-hpack.sh

Running

To typecheck all case studies: run make.

To typecheck all examples: run make all.

To typecheck a specific example:

stack run -- check /path/to/examples/${example-name}

For example

stack run -- check examples/complete/gd-pb.ed.duet

Notes

  • Code, examples, and output use lots of math unicode symbols.
  • Some syntax (e.g., for matrix-map) used in examples are slightly different from those presented in the paper.

duet's People

Contributors

chikeabuah avatar jnear avatar davdar avatar

Watchers

James Cloos 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.