Coder Social home page Coder Social logo

souradeep-111 / verification_guided_training Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 21.04 MB

The code here implements verification guided training scheme for neural network plant models. The verification scheme uses SHERLOCK to implement range propagation idea, and Tensorflow to train the Neural Network.

License: MIT License

Makefile 1.12% C++ 83.90% C 0.35% MATLAB 6.86% Python 7.76%

verification_guided_training's Introduction

<<<<<<< HEAD

ADHS_2018

The files here are to reproduce the examples in the ADHS 2018 paper, "Learning and Verification of Feedback Control Systems using Feedforward Neural Networks." The implementation here uses "sherlock" as a fundamental primitive to solve the reachability problem over Neural Networks.

sherlock

Sherlock is an output range analysis tool for deep neural networks. The current version can handle only feedforward neural networks, with ReLU activation units.

The only library that is needed is the MILP solver Gurobi. It's free for academic purposes and can be downloaded from here : http://www.gurobi.com/resources/getting-started/mip-basics

Instructions to Compile

Please modify the file Makefile.locale to help us find Gurobi.

For a Mac with the latest gurobi8.00 installed your likely settings will be:

HOST_ARCH=mac64 GUROBI_PATH=/Library/gurobi800

For a linux box, your settins will be:

ARCH=linux64 # if you are using a linux box GUROBI_PATH=/opt/gurobi800

You should feel free to modify these two variables. The Makefile will look for Gurobi headers under

$(GUROBI_PATH)/$(HOST_ARCH)/include

and libraries under

$(GUROBI_PATH)/$(HOST_ARCH)/include

Once these are set, you should type

make

It should create all the different executables for each of the examples. Which you should be able to run with the right option. You can chose what option you want by just running it first as :

./run_file_1

For example 1, and so on.

Verification Guided Training

The code here implements verification guided training scheme for neural network plant models. The verification scheme uses SHERLOCK to implement range propagation idea, and Tensorflow to train the Neural Network.

2012c5a5da6554e9f0128d96040ba85cc82151e3

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.