GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Swarnodip-Nag/PMEMS: This is the base code used for predictive analysis and it's build at the time of ICDMAI INDICON 2025 Hackathon.

BranchesTags
Open more actions menu

Latest commit

 

History

23 Commits
23 Commits

Folders and files

NameName
Last commit message
Last commit date
.devcontainer
.devcontainer
 
 
api
api
 
 
dataset
dataset
 
 
models
models
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
app.py
app.py
 
 
dataset_generation.py
dataset_generation.py
 
 
model_training.py
model_training.py
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Predictive Medical Equipment Maintenance System (Streamlit UI)

Overview

This Streamlit application provides a user-friendly interface to predict equipment failures based on sensor data. Users can input equipment parameters and receive insights into equipment health, maintenance levels, and associated risks.


Features

  • Interactive Interface: Simple forms to input equipment parameters.
  • Real-time Visualization: Displays equipment health and maintenance levels.
  • Color-Coded Status: Equipment health and maintenance levels are color-coded (Green, Yellow, Red) for easy interpretation.

Installation and Setup

Prerequisites

  • Python 3.8+
  • Streamlit
  • Pandas
  • Joblib

Installation

# Clone the repository
git clone https://github.com/Swarno-Coder/Predictive-Medical-Equipment-Maintenance-System.git pmems
cd pmems

# Create a virtual environment
python -m venv venv
source venv/bin/activate  # Windows: venv\Scripts\activate

# Install required dependencies
pip install -r requirements.txt

Running the Application

streamlit run app.py
  • The application will be available at http://localhost:8501

Usage

  1. Input Parameters:
    • Enter equipment details in the provided fields.
    • Click the Predict button.
  2. View Results:
    • Equipment health and maintenance levels will be displayed side by side.
    • Results are color-coded:
      • Green: Good health, low maintenance.
      • Yellow: Moderate health, medium maintenance.
      • Red: Critical health, high maintenance.

Model Training and Dataset Generation

  1. Dataset Generation:

    • Use synthetic sensor data or gather real-world data.
    • Label data based on failure occurrences. or run the data_generation.py script to generate synthetic data.
     python data_generation.py
  2. Model Training:

    • Use a RandomForestClassifier or any regression model.
    • Train the model with features like temperature, humidity, and vibration.
    • Save the model as equipment_model.pkl using joblib.dump(model, 'equipment_model.pkl').

    or run the model_training.py script to train a sample model.

     python model_training.py

Troubleshooting

  • UI Not Loading: Ensure Streamlit is installed and the correct Python environment is activated.
  • Incorrect Predictions: Retrain the model with updated data.

License

This project is licensed under the Apache License.

About

This is the base code used for predictive analysis and it's build at the time of ICDMAI INDICON 2025 Hackathon.

pmems-idmai-2025.streamlit.app/

Topics

fastapmachine-learning-algorithmsmedical-equipment-maintenancesynthetic-dataset-generation

Resources

Readme
Apache-2.0 license
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.