Code Monkey home page Code Monkey logo

eventgan's Introduction

EventGAN

This is a Tensorflow 2 implementation to GAN [1] LHC events.

  • Use of a LorentzVector layer to implement on-shell conditions.
  • Adds JS-Regularizer to the discriminator objective (Roth et al, 2017).
  • Adds maximum mean discrepancy (MMD) to capture resonances.

Paper

This repository contains the code to reproduce the results shown in the paper:

A more detailed explaination has been given at

Installation

Dependencies

Package Version
Python >= 3.7
Tensorflow >= 2.1.0
Numpy >= 1.15.0
wget >= 3.2

Download + Usage

# clone the repository
git clone https://github.com/ramonpeter/EventGAN.git
# then download the datasets
cd EventGAN
python datasets/get_data.py
# Run the code
python train_gan cards/PARAM_CARD.yaml

Citation

If you use this code, please cite:

@article{Butter:2019cae,
    author = "Butter, Anja and Plehn, Tilman and Winterhalder, Ramon",
    title = "{How to GAN LHC Events}",
    eprint = "1907.03764",
    archivePrefix = "arXiv",
    primaryClass = "hep-ph",
    doi = "10.21468/SciPostPhys.7.6.075",
    journal = "SciPost Phys.",
    volume = "7",
    number = "6",
    pages = "075",
    year = "2019"
}
[1]From ‘to GAN’, in close analogy to the verbs taylor, google, and sommerfeld.

eventgan's People

Contributors

ramonpeter avatar

Stargazers

Uwe Hernandez Acosta avatar Francesco Vaselli avatar  avatar Niclas Eich avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

kbsummer

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.