Giter Site home page Giter Site logo

machine-learning-project-on-cherenkov-gamma-telescope-'s Introduction

Cherenkov Gamma Telescope Event Classification

Overview

This repository contains code for training machine learning models to classify events detected by a ground-based atmospheric Cherenkov gamma telescope. The goal is to discriminate between gamma ray signals and background noise caused by cosmic ray showers based on the characteristics of the shower images captured by the telescope.

Dataset

The dataset used for training and evaluation is generated by a Monte Carlo program, CORSIKA, which simulates the registration of high-energy gamma particles in the Cherenkov telescope. It includes features such as fLength, fWidth, fSize, etc., extracted from the shower images. Each event is labeled as either signal (gamma ray) or background (cosmic ray).

Models

Four machine learning models are implemented for this classification task:

  1. Support Vector Machine (SVM): A supervised learning algorithm that separates the classes in the feature space using a hyperplane. The SVM model is trained on the provided dataset to classify events into signal and background categories.

  2. k-Nearest Neighbors (KNN): A simple and effective algorithm that classifies an unknown sample based on the majority class of its k nearest neighbors in the feature space. The KNN classifier is trained on the provided dataset to classify events into signal and background categories.

  3. Naive Bayes: A probabilistic classifier that applies Bayes' theorem with the "naive" assumption of independence between features. The Naive Bayes classifier is trained on the provided dataset to classify events into signal and background categories.

  4. Feedforward Neural Network: A customizable neural network architecture is implemented using TensorFlow/Keras. This neural network allows customization of parameters such as the number of neurons, activation functions, and dropout rates. It is trained on the same dataset to classify events into signal and background categories.

Usage

To use the code in this repository, follow these steps:

  1. Clone the repository to your local machine:

  2. Run the Jupyter notebooks or Python scripts to train and evaluate the SVM, KNN, Naive Bayes, and neural network models.

Contributions

Contributions to this project are welcome! If you have any ideas for improvement or would like to report a bug, please open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

machine-learning-project-on-cherenkov-gamma-telescope-'s People

Contributors

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