Giter VIP home page Giter VIP logo

higgs's Introduction

higgs

EPFL ML Project 1 - detecting the Higgs Boson.

How to install and run (*nix friendly guide)

If you're using Windows, some steps might differ.

Prerequisites

  1. Python 3

  2. PIP

  3. Numpy

Usage instructions

  1. Install numpy
pip3 install numpy
  1. Change current directory to the project's folder
cd higgs
  1. Create datasets/ folder at the root of the project folder and copy there the train.csv and test.csv files.
  2. Run the following command:
python3 run.py

Code structure

  • run.py - this file contains the final pipeline, which is a bag of neural networks. It is a simplified version of neural_bagging.py.
  • run_nn.py - a pipeline that trains a single neural network. Depending on the options specified inside the file, it either runs it on a validation set and prints the result, or on test set and produces predition.csv
  • neural_bagging.py - a pipeline that trains several neural networks and combines them with majority voting. Depending on the options specified inside the file, it either runs it on a validation set and prints the result, or on test set and produces predition.csv
  • simple_net.py - A neural network implementation. See the file for detailed parameters behind it. A typical usage involes 2 calls - fit() to train a network and predict() to get predictions on some set.
  • run_linear.py - Used to run pipelines on regressions.
  • majority_combinator.py - function that combines several predictions into one using majority voting.
  • utils.py - Utility for checking intesresction of two predictions (what they both get right, wrong, etc)
  • helpers.py - Various helper functions.
  • implementations.py - Implementaions of basic methods.
  • featurization.py - Featurization pipeline.
  • hyperparapemeter_nn_grid_search.py - Grid search utility to pick the best hyperparameters.
  • DecisionTree.py - decision tree.

higgs's People

Contributors

baetuc avatar lyubinetz avatar m-doru avatar vlyubin avatar

Stargazers

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