Giter Site home page Giter Site logo

hhbbgg_eth's Introduction

HHbbgg_ETH

Getting the code

Fork to your directory the code here: https://github.com/michelif/HHbbgg_ETH
Clone it locally:
git clone [email protected]:[YOURNAME]/HHbbgg_ETH.git HHbbgg_ETH_devel
You should create your own branch, then do pull requests when you are done.

Training, optimization of MVAs and ntuple production

In order to run the notebooks on the browser you need an ssh tunnel on a machine where jupyter is running. Opening it in a screen session allows you to detach it and not redoing it every time (you will only need to ssh).

One-time initialization of Jupyter:

  • Start jupyter on t3:
    ssh -L 8002:localhost:8002 t3ui02.psi.ch; //this first line has to be done every time
    screen;
    cd HHbbgg_ETH_devel;
    jupyter notebook --port 8002 --no-browser;
    ctrl-a-d //detaches screen session
    In your browser open: http://localhost:8002

The code is organized in notebooks, the programs you execute directly in the browser. They are in the "notebooks" folder.

  • Training/notebooks
    This folder contains all the notebooks needed
    -- trainMVAHHbbgg.ipynb
    Trains a Gradient Boost Classifier to separate signal/backgrounds. All re-weighting implemented, output saved.
    -- createTrees.ipynb
    It runs on ntuples, applies a given MVA and saves a reduced ntuples which includes the MVA scores
    -- optimizeClassifier.ipynb
    Optimize parameters of the classifier. In Training/scropts/optimizeClassifier.py there is a (probably not-updated) version of this optimization code wich runs without using notebooks.

  • Training/python/
    This folder contains all the tools needed by the notebooks: data format, train/test splitting, plotting... These classes have to be loaded at the beginning of your notebook.

Workspaces and datacards production

The instructions for this part of the analysis are in the README in folder Limits/macros

Combine

The instructions for this part of the analysis are in the README in folder Limits/combine_macros

hhbbgg_eth's People

Contributors

michelif avatar musella avatar nadya-chernyavskaya avatar

Stargazers

 avatar

Watchers

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