the code for the paper "Nonintrusive Residential Electricity Load Decomposition Based on Transfer Learning"
redd, ukdale, refit dataset should be download to data path. The scripts for data pre-processing are in the data_management folder
model is defined in model_structure.py
steps for experiment:
-
- prepare dataset for training and testing.
-
- train or fine-tuning model by running the script file: train_main.py
-
- test model by running the script file: test_main.py
-
- using the pre-trained model to another dataset by running the script file: transfer.py
reference: