Git Product home page Git Product logo

simple_adversarial_examples's Introduction

Simple Adversarial Examples

alt text

This repo contains an ipython notebook (along with corresponding helper python classes) that implements adversarial example generation for a neural network trained on MNIST, and also implements some (very) simple security measures against adversarial attacks. The majority of the base neural network impelmentation was shamelessly lifted from neuralnetworksanddeeplearning.com. To run this notebook you will have to have jupyter notebook or ipython notebook installed. In addition, the code will need numpy and matplotlib as dependencies.

Once everything is installed go to the root directory of this repo in the terminal and run either

$ jupyter notebook

or

$ ipython notebook

A window should open up automatically in your browser. If not the output to the terminal should have a link you can put into a browser of your choice. It looks something like this

http://localhost:8888/?token=e848ccafeeea4a0d9d78659f943eedd4e94414add29f2f82

Finally, in the tree view of the ipython notebook click on adversarial_example.ipynb to start the notebook.

For more info about how to use Jupyter Notebooks check out the docs

simple_adversarial_examples's People

Contributors

dangeng 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.