This is the repo for the paper "Interpretable Clustering of PS-InSAR Time Series for Ground Deformation Detection" by Claudia Masciulli, Giacomo Guiduzzi, Donato Tiano, Marta Zocchi, Francesco Guerra, Paolo Mazzanti and Gabriele Scarascia Mugnozza.
The repo is structured as follows:
data: contains the data used in the papersrc: contains the source codetime2feat: contains the code for the Time2Feat modelfeatts: contains the code for the FeaTTS modeljqm_cvi: contains the code for the JQM-CVI package, which implements the Dunn index for clustering evaluation among other metrics.
Both models are available as Python packages on PyPI and are configured as git submodules in this repo.
The suggested way to prepare the code is:
- Run
git submodule init --recursiveto initialize time2feat, FeatTS and JQM-CVI submodules.- Alternatively, you can clone the repo with
git clone --recurse-submodules
- Alternatively, you can clone the repo with
- Install the packages contained in the requirements.txt file into a Python venv or conda environment
- Move into the
jqm_cvifolder and runpython setup.py installto install the JQM-CVI package for the Dunn index - Move back into the repo folder and export
PYTHONPATH=/path/to/Interpretable_PS-InSAR_Clusteringto let Python see thetime2featandFeatTSfolders as Python modules; finally runpython src/simple_pipeline.pyfrom inside the repo folder.- Alternatively, directly run
PYTHONPATH=/path/to/Interpretable_PS-InSAR_Clustering python src/simple_pipeline.pyfrom inside the repo folder.
- Alternatively, directly run
For any need related to the code, feel free to open a GitHub issue or email me at: giacomo.guiduzzi at unimore.it.