Skip to content

This code is the companion to "Using Domain Adaptaion to Improve the Modeling of Water Quality with Sparse Data"

Notifications You must be signed in to change notification settings

CC-Cheung/Master-Thesis

Repository files navigation

Using Domain Adaptation to Improve the Modeling of Water Quality with Sparse Data

Requirements

pip install -r requirements.txt

Usage

Uncomment and desired lines of code.

  1. Download xlsx files from HTLP dataset into Data/raw.
  2. Use data_processing.py to create training data.
  3. Use invariant.py to pretrain on source domain data.
  4. Use Download/download.py to download relevant models.
  5. Use variant.py to train fine-tune in the target domain.
  6. Use Download/download.py to download results.
  7. Use result_analysis.py to analyse the various metrics.
  8. Use viz/viz_variant.py and viz/viz_invariant.py to make the graphs.

About

This code is the companion to "Using Domain Adaptaion to Improve the Modeling of Water Quality with Sparse Data"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages