This project detects side-channel attacks in IoT devices using Machine Learning. It processes input data, applies scaling and PCA, and predicts whether an attack is present or not.
👉 Try the app here: 🔗 https://huggingface.co/spaces/Tejaswa18/Secure-IoT-ML-Model
Main (2).ipynb→ Model training and preprocessingapp.py→ Streamlit web applicationmodel.pkl→ Trained modelscaler.pkl→ Data scalerpca.pkl→ PCA transformationtest_sample.csv→ Sample inputrequirements.txt→ Dependencies
- Python
- Scikit-learn
- Pandas, NumPy
- Streamlit
- Input data is taken from user or CSV
- Data is scaled using
scaler.pkl - PCA is applied using
pca.pkl - Model (
model.pkl) predicts the result - Output shows whether attack is detected
Use test_sample.csv or enter values manually in the app.
Simple and fast prediction Lightweight model Easy to run locally