Giter Club home page Giter Club logo

jec-dnn's Introduction

jec-dnn

Jet Energy Corrections using DNN regression

Model

The jet data is made up of variable-length unordered sets. To deal with this I use Deep Sets since the method has been used successfully before in Energy Flow Networks to discriminate quark jets from gluon jets.

In addition to that I experiment with ParticleNet which is based on Dynamic Graph Convolutional Neural Network. This architecture is also suitable for variable length sets.

Example model structures from a few runs:

Deep Sets MLP Alt text
Deep Sets ResNet Alt text
ParticleNet Alt text

Environment

Build the Docker image (essentially the dependencies in requirements.txt on top of tensorflow/tensorflow:latest-gpu).

docker build . -t jec-dnn

Enter a container with the current directory mounted using your user privileges.

./run_docker.sh

Re-enter stopped container

docker start -i <container id>

Training

To train once you can edit config.yaml to your liking and then run something like:

python train.py -i data/test -o results/test-run -c config.yaml --gpus 1 3

Train using multiple configuration files:

nohup ./run_configs.sh -o results/resnet -c configs/resnet -d data/test -g 0 > resnet.txt

Plot results

E.g.

python plot.py -i results/resnet -o figs/resnet

jec-dnn's People

Contributors

deinal avatar

Stargazers

 avatar

Watchers

 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.