Coder Social home page Coder Social logo

machine-learning-hats's Introduction

Machine Learning Tutorial Session

Introduction

This is a set of tutorials for the Machine Learning Hands-on Advanced Tutorial Session (HATS). They are intended to show you how to build machine learning models in python (Keras/TensorFlow) and use them in your ROOT-based analyses. We will build event-level classifiers for differentiating VBF Higgs and standard model background 4 muon events and jet-level classifiers for differentiating boosted W boson jets from QCD jets.

Main notebooks in this tutorial

  1. a-dataset-and-plot.ipynb: reading/writing datasets from ROOT files with uproot and plotting with matplotlib
  2. b-dense.ipynb: building, training, and evaluating a fully connected (dense) neural network in Keras
  3. b.1-dense-pytorch.ipynb: preprocessing CMS open data to build jet-images (optional)
  4. c-conv2d.ipynb: preprocessing, building, training, and evaluating a 2D convolutional neural network in Keras

Setup

We will be setting up the environment using Miniconda wity Python3. This is wrapped in a Docker container for easy deployment.

Plain Miniconda3 setup

# currently it's setup for Mac, change the file if you want to run on Linux
source install_miniconda3.sh
# setup conda environmeent and install needed packages
source setup.sh

Docker setup

On its way -- need some help from Maria

Binder

You can launch notebooks in Binder for quick tests, but note this is not for resource-intensive computing: Binder

Links

The accompanying lecture is here

machine-learning-hats's People

Contributors

gbenelli avatar holzman avatar jhakala avatar jmduarte avatar jpivarski avatar kpedro88 avatar mtonjes avatar nhanvtran avatar perilousapricot avatar ubparker avatar

Watchers

 avatar  avatar

Forkers

fnal-ai-project

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.