This repository contains experimental results and source code for the paper that introduced PSQI index and applied it to water quality measurements conducted in New Moscow region, Russia.
Contains filtered (outliers and some non-ifnormative parameters removed) original measurements at locations defined by latitude and longitude. Additionally, it includes computed PSQI, its confidence values and "honest" quality index. This index is computed directly as an average number of the measured parameters that lie in admissible bounds defined by expert knowledge and/or government standards.
Contains predicted values of parameters (mean, 1st and 99th percentiles) over the region with 100m resolution including PSQI and its confidence.
This interactive map of measurements can be opened with Kepler.gl service. To do this
- Follow the link;
- Click "Add data" (if modal window not opened already);
- Select "Load Map using URL";
- Paste this URL of the raw map.json content file and click "Fetch". Alternatively, one may download map.json file and upload it directly after the step 2.
src/data
- raw data used for experiments;src/psqi
- main code used for experiments;src/results
- output of the code execution;src/playground.ipynb
- jupyter notebook for interactive execution of the code.
- Install Conda.
- Create python environment with
conda create -n psqi python=3.6
. - Install gpytorch with
conda install --name psqi gpytorch==0.3.6 -c gpytorch
. - (Optional) To enable GPU support, install corresponding pytoch version.
- Activate environment with
conda activate psqi
. - Install other dependencies with
pip install -r requirements.txt
. - Install jupyter notebook kernel with
python -m ipykernel install --name=psqi
.
Run jupyter notebook with jupyter notebook
and open src/playground.ipynb
in the automatically opened browser window.
Now jupyter cells can be sequentially executed to reproduce the results.