This repository contains the code used for the paper titled Domain Adaptation with Representation Learning and Nonlinear Relation for Time Series" by Hussein A., Hajj H.
- python version
3.6.12
- To create anaconda environment run
conda env create -f environment.yml
- Download the PAR/HARR datasets
- Run
main.py
in one of the following modes:cr_user
: cross usercr_device
: cross devicecr_user_device
: cross user and cross device
python main.py --dataset PAR --mode cr_user --path "path/to/dataset"
Toy examples for the limitations of domain adaptation with hard parameter sharing and how domain adaptation with soft parameter sharing overcomes these limitations
@article{hussein2022domain,
title={Domain Adaptation with Representation Learning and Nonlinear Relation for Time Series},
author={Hussein, Amir and Hajj, Hazem},
journal={ACM Transactions on Internet of Things},
volume={3},
number={2},
pages={1--26},
year={2022},
publisher={ACM New York, NY}
}