A Big Data–driven machine learning project for predicting room occupancy using environmental sensor data (temperature, humidity, light, CO₂).
Built using PySpark to demonstrate scalable data processing, distributed computation, and real-world smart building applications.
- Data processing with PySpark
- Exploratory Data Analysis (EDA)
- Machine learning models:
- Logistic Regression
- Decision Tree
- Random Forest
- Model evaluation (Accuracy, F1 Score)
- Big Data scaling experiments
- Simulated large-scale dataset processing
├── data/ # raw and processed datasets
├── notebooks/ # exploratory and modeling notebooks
├── src/ # reusable project code
├── models/ # saved trained models
├── reports/ # figures and outputs
├── scripts/ # runnable pipeline scripts
├── README.md
├── requirements.txt
└── .gitignore
Go to https://github.com/settings/personal-access-tokens Create a new fine grained token
- Default settings should be fine Save off the token for later
Should be something like "Spring 2026/CIS 5570/Big-data-group-1/Room-Occupancy-Detection/"
BIG_DATA_TOKEN {GitHub Token} GIT_NAME {Your Full Name} GIT_EMAIL {Your Email} BIG_DATA_PATH /content/drive/MyDrive + {Your Google Drive path to the shared drive}
UCI Occupancy Detection Dataset: https://archive-beta.ics.uci.edu/dataset/357/occupancy+detection
Predict whether a room is occupied using sensor readings and demonstrate how distributed systems like Spark can scale to real-world smart building scenarios.
- Andrew Luwaga
- Prince Kwarteng Amaning
- Spencer Novaco
- Israel Sanchez