From c76171f85cf0fbf8feaaae50275cb57517bd34cb Mon Sep 17 00:00:00 2001 From: TUSHAR SINGH Date: Sun, 3 Dec 2023 18:13:24 +0530 Subject: [PATCH 1/5] Update README.md --- README.md | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/README.md b/README.md index 7694f18..8b13789 100644 --- a/README.md +++ b/README.md @@ -1,32 +1 @@ -# 📄✏ Sensor Fault Detection Project -**Brief:** In electronics, a **wafer** (also called a slice or substrate) is a thin slice of semiconductor, such as a crystalline silicon (c-Si), used for the fabrication of integrated circuits and, in photovoltaics, to manufacture solar cells. The wafer serves as the substrate(serves as foundation for contruction of other components) for microelectronic devices built in and upon the wafer. - -It undergoes many microfabrication processes, such as doping, ion implantation, etching, thin-film deposition of various materials, and photolithographic patterning. Finally, the individual microcircuits are separated by wafer dicing and packaged as an integrated circuit. - -#### Dataset is taken from Kaggle and stored in mongodb - - -💿 Installing -1. Environment setup. -``` -conda create --prefix venv python==3.8 -y -``` -``` -conda activate venv/ -```` -2. Install Requirements and setup -``` -pip install -r requirements.txt -``` -5. Run Application -``` -python app.py -``` - -🔧 Built with -- flask -- Python 3.8 -- Machine learning -- Scikit learn -- 🏦 Industrial Use Cases From a357990ba4f85dafc6ff147f4d936424c414b59e Mon Sep 17 00:00:00 2001 From: TUSHAR SINGH Date: Sun, 3 Dec 2023 18:46:43 +0530 Subject: [PATCH 2/5] Update README.md --- README.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/README.md b/README.md index 8b13789..c75d3e0 100644 --- a/README.md +++ b/README.md @@ -1 +1,33 @@ +# Sensor Fault Detection 📄 +`Water Sensor Fault Prediction` + +Brief: In electronics, a wafer (also called a slice or substrate) is a thin slice of semiconductor, such as a crystalline silicon (c-Si), used for the fabrication of integrated circuits and, in photovoltaics, to manufacture solar cells. The wafer serves as the substrate(serves as foundation for contruction of other components) for microelectronic devices built in and upon the wafer. + +It undergoes many microfabrication processes, such as doping, ion implantation, etching, thin-film deposition of various materials, and photolithographic patterning. Finally, the individual microcircuits are separated by wafer dicing and packaged as an integrated circuit. + +## Problem Statement +`Data: Wafers data` + +Problem Statement: Wafers are predominantly used to manufacture solar cells and are located at remote locations in bulk and they themselves consist of few hundreds of sensors. Wafers are fundamental of photovoltaic power generation, and production thereof requires high technology. Photovoltaic power generation system converts sunlight energy directly to electrical energy. + +The motto behind figuring out the faulty wafers is to obliterate the need of having manual man-power doing the same. And make no mistake when we're saying this, even when they suspect a certain wafer to be faulty, they had to open the wafer from the scratch and deal with the issue, and by doing so all the wafers in the vicinity had to be stopped disrupting the whole process and stuff anf this is when that certain wafer was indeed faulty, however, when their suspicion came outta be false negative, then we can only imagine the waste of time, man-power and ofcourse, cost incurred. + +Solution: Data fetched by wafers is to be passed through the machine learning pipeline and it is to be determined whether the wafer at hand is faulty or not apparently obliterating the need and thus cost of hiring manual labour. + +## Table of Contents +- [Features](#features) +- [Requirements](#requirements) +- [Setup](#setup) +- [Usage](#usage) +- [Data](#data) +- [Models](#models) +- [Results](#results) +- [Contributing](#contributing) +- [License](#license) + +## Features +* Real-time monitoring of sensor data. +* Detection of anomalies or faults in sensor readings. +* Customizable threshold settings for fault detection. +* Logging and reporting of detected faults. From 74149a8e79f8d55389e042fe002f6b6b1f36f3e1 Mon Sep 17 00:00:00 2001 From: TUSHAR SINGH Date: Sun, 3 Dec 2023 19:05:16 +0530 Subject: [PATCH 3/5] Update README.md --- README.md | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 59 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c75d3e0..9914731 100644 --- a/README.md +++ b/README.md @@ -26,8 +26,66 @@ Solution: Data fetched by wafers is to be passed through the machine learning pi - [Contributing](#contributing) - [License](#license) -## Features +## Features : * Real-time monitoring of sensor data. * Detection of anomalies or faults in sensor readings. * Customizable threshold settings for fault detection. * Logging and reporting of detected faults. + +## Requirements : + +Ensure you have the following dependencies installed: + +- Python (version 3.9) +- Jupyter Notebook +- Other dependencies (refer to the requirements.txt) + +You can install the required Python packages using: + +```bash +pip install -r requirements.txt +``` + + +## Setup : + +- Clone the repository: +```bash +git clone https://github.com/SINGHxTUSHAR/Sensor-Fault-Detection.git +cd Sensor-Fault-Detection +``` +- Create a virtual environment (optional but recommended): +```bash +python -m venv venv +``` +- Activate the virtual environment: + - On Windows: + ```bash + venv\Scripts\activate + ``` + - On macOS/Linux: + ```bash + source venv/bin/activate + ``` + +## Usage : + +- Open the Jupyter Notebook: +```bash +jupyter notebook +``` +- Navigate to the water-sensor-prediction.ipynb notebook and open it. +- Follow the instructions in the notebook to run the code cells. + +## DataSet Link : +[https://www.kaggle.com/datasets/himanshunayal/waferdataset](https://www.kaggle.com/datasets/himanshunayal/waferdataset) + +## Models : +* `XGBClassifier` +* `GradientBoostingClassifier` +* `SVC` +* `RandomForestClassifier` + +## Contributing : +If you'd like to contribute to this project, please follow the standard GitHub fork and pull request process. Contributions, issues, and feature requests are welcome! + From 53c12e8a3d44e80b99f5d5197265bf68ad40a704 Mon Sep 17 00:00:00 2001 From: TUSHAR SINGH Date: Sun, 3 Dec 2023 19:06:18 +0530 Subject: [PATCH 4/5] Create LICENSE --- LICENSE | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..d3df6fd --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 TUSHAR SINGH + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. From 72385f4af0be94607cd5b014397d2acf6e22c5a5 Mon Sep 17 00:00:00 2001 From: TUSHAR SINGH Date: Sun, 3 Dec 2023 19:18:44 +0530 Subject: [PATCH 5/5] Update README.md --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9914731..bd36cd2 100644 --- a/README.md +++ b/README.md @@ -9,11 +9,11 @@ It undergoes many microfabrication processes, such as doping, ion implantation, ## Problem Statement `Data: Wafers data` -Problem Statement: Wafers are predominantly used to manufacture solar cells and are located at remote locations in bulk and they themselves consist of few hundreds of sensors. Wafers are fundamental of photovoltaic power generation, and production thereof requires high technology. Photovoltaic power generation system converts sunlight energy directly to electrical energy. +`Problem Statement`: Wafers are predominantly used to manufacture solar cells and are located at remote locations in bulk and they themselves consist of few hundreds of sensors. Wafers are fundamental of photovoltaic power generation, and production thereof requires high technology. Photovoltaic power generation system converts sunlight energy directly to electrical energy. The motto behind figuring out the faulty wafers is to obliterate the need of having manual man-power doing the same. And make no mistake when we're saying this, even when they suspect a certain wafer to be faulty, they had to open the wafer from the scratch and deal with the issue, and by doing so all the wafers in the vicinity had to be stopped disrupting the whole process and stuff anf this is when that certain wafer was indeed faulty, however, when their suspicion came outta be false negative, then we can only imagine the waste of time, man-power and ofcourse, cost incurred. -Solution: Data fetched by wafers is to be passed through the machine learning pipeline and it is to be determined whether the wafer at hand is faulty or not apparently obliterating the need and thus cost of hiring manual labour. +`Solution`: Data fetched by wafers is to be passed through the machine learning pipeline and it is to be determined whether the wafer at hand is faulty or not apparently obliterating the need and thus cost of hiring manual labour. ## Table of Contents - [Features](#features) @@ -89,3 +89,6 @@ jupyter notebook ## Contributing : If you'd like to contribute to this project, please follow the standard GitHub fork and pull request process. Contributions, issues, and feature requests are welcome! + +## License : +This project is licensed under the MIT License - see the LICENSE file for details.