MERLIN3.1.m uses outdated functions to compute the mean and standard deviation: `nanmean` and `nanstd`. If you are using R2020b or higher, you will need to change these functions to `mean(T, 'omitnan');` and `std(T, 'omitnan');` to run the script. We only tested the script on Windows 11.
### Run `STAN and ALL BASELINES`
## Run `STAN and ALL BASELINES`
-------
To run STAN against the rest of the baselines we have included a configuration file to install the `utsadbench` library released as part of the paper:
> Ferdinand Rewicki, Joachim Denzler, and Julia Niebling. 2023. "Is It Worth It? Comparing Six Deep and Classical Methods for Unsupervised Anomaly Detection in Time Series" Applied Sciences 13, no. 3: 1778. https://doi.org/10.3390/app13031778
#### Install `UTSADBENCH`
### Install `UTSADBENCH`
We use [Anaconda](https://www.anaconda.com/download/) to create an updated environment to install and run `utsadbench`. We suggest following the script provided by us at `install_utsadbench.sh` to install all dependencies
...
...
@@ -82,6 +82,7 @@ For building [MDI]((https://cvjena.github.io/libmaxdiv/)) algorithm, the followi
*[Eigen3](https://eigen.tuxfamily.org), tested with eigen3 version 3.4
*[pkg-config](https://www.freedesktop.org/wiki/Software/pkg-config/), tested with version 0.29.1
*[OpenMP](https://www.openmp.org/), tested with version 4.5
* [CUDA] Version: 12.2
Once the dependencies are installed, run `utsadbench`'s script to install `libmaxdiv` or run: