All projects

Robotics, AI, and Software

Household energy forecasting

TensorFlow/Keras LSTM forecasting of household electricity use, with pandas/NumPy preprocessing, engineered energy features, and time-series windowing.

Role & contextGroup project · preprocessing, features, and LSTM development
StatusCourse project
Global Active Energy feature over time, from the group report.
Global Active Energy feature over time, from the group report.
0.65Reported test R²
1.07Reported test MAE · report target scale

The problem

Minute-level electricity measurements contain temporal structure, missing values, and relationships between aggregate and sub-metered consumption. A useful model needs careful data preparation as well as a suitable architecture.

My contribution

I worked on preprocessing, Power Factor and Global Active Energy features, and the LSTM architecture and tuning. The final group model used two 128-unit LSTM layers with a dense prediction head and a 256-step input window.

Results in context

The report records a final test R² of 0.65 and MAE of 1.07 on the project’s target scale. Earlier model attempts performed poorly, making iterative diagnosis a central part of the work. Related assignments compared ARIMA, MLP, CNN, RNN, LSTM, GRU, TCN, and Transformer-based approaches across separate datasets.

Data preparation and sequence-model development

I worked on preprocessing and engineered features for the group’s household electricity forecasting project. pandas and NumPy supported time-indexed data preparation and calculations such as power factor and global active energy. TensorFlow / Keras implemented sliding-window LSTM models with Dense layers and dropout, trained in Google Colab. We iterated on window length and network structure, then compared predictions and training/validation behavior using MSE, MAE and R-squared. scikit-learn supported the surrounding preprocessing and evaluation workflow.

Next projectMachine-learning fairness and differential privacy