Sigmoid and tanh implementations with error detection using Maclaurin series.
gcc -o activation Overhead_Assessment/C/main.c -lm
./activationsigmoid(x)- Sigmoid activationtanh(x)- Tanh activationsigmoid_error_detection(x, &err)- With fault detectiontanh_error_detection(x, &err)- With fault detection
- Input range: -10 to 10 (auto-clipped)
- 30 Maclaurin terms
- Error tolerance: 0.000001
CNN model to predict Remaining Useful Life of aircraft jet engines using NASA C-MAPSS dataset.
cd Training
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txtDownload NASA C-MAPSS dataset and place in archive/CMaps/:
train_FD001.txt,test_FD001.txt,RUL_FD001.txttrain_FD002.txt,test_FD002.txt,RUL_FD002.txttrain_FD003.txt,test_FD003.txt,RUL_FD003.txttrain_FD004.txt,test_FD004.txt,RUL_FD004.txt
python training.pynasa-rul-prediction/
├── README.md
├── requirements.txt
├── training.py
├── models/ # Output
└── archive/CMaps/ # Dataset folder
- Python 3.12.3
- See
requirements.txt
Models saved to models/ folder with metrics (Accuracy, F1-score, Recall) and average inference time.