QED137 / Machine-Learning-Project-on-Cherenkov-gamma-telescope-

Mchine lenirng project on detect Cerenkov Photon Coming from Gamma particle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Mchine lenirng project on detect Cerenkov Photon Coming from Gamma particle


Languages

Language:Jupyter Notebook 100.0%