Giter VIP home page Giter VIP logo

continualml's Introduction

ContinualAI

Continual ML for Track to Vertex Association

Description

This repo outlines the dataset generation, simple model definition and some evaluation functions for a track to vertex classifier. It acts as a starting point for the ML@L1 hackathon and will look to implement a continual ML model using the avalanche framework and pytorch

Some dataset exist here: https://cernbox.cern.ch/index.php/s/9P2Qw1ssGcld3Pz

OldKF_test.root 16K events

GTT_TrackNtuple_FH_oldTQ.root 300K events

Installation

With a standard install of a anaconda environment

Environment will need ~ 2.2 GB free space

conda env create -f avalanche-environment.yml

source env.sh

To install miniconda to setup an anaconda environment

This installation will need ~ 10 GB free space

wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh

bash Miniconda3-latest-Linux-x86_64.sh

conda env create -f avalanche-environment.yml

Structure

dataset/ contains the functiions for generating datasets from root files as well as default location for Train, Test and Val directories for training and evaluating

model/ contains the model class definition, a simpleNN example is given. As well as default location for SavedModels where trained models are saved

eval/ contains the eval_funcs used for evaluating trained models. As well as default location for plots where performance plots are saved

continualML/ contains a simple avalanche example

Usage

To generate datasets use in the dataset dir:

python dataset_generator.py path/to/rootfile.root

For large datasets this will take a while

To run a simple training of the simpleNN model use

python train.py

To evaluate a model use

python eval.py

Support

Email [email protected] for questions

continualml's People

Contributors

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