From fc258c3bc4eebca5106920a056af617e2c110846 Mon Sep 17 00:00:00 2001 From: Sebastian Schmidl Date: Mon, 4 Dec 2023 16:55:02 +0100 Subject: [PATCH] Adapt algorithms with names starting with [e-i] (#34) * feat: adapt algorithms with names starting with [e-i] * feat: fix eif version * fix(eif): use older version of Cython to avoid incompatibilities --- eif/Dockerfile | 18 ++++++++++-------- eif/manifest.json | 2 +- eif/requirements.txt | 2 +- encdec_ad/Dockerfile | 4 +++- encdec_ad/manifest.json | 2 +- ensemble_gi/Dockerfile | 4 +++- ensemble_gi/manifest.json | 2 +- fast_mcd/Dockerfile | 4 +++- fast_mcd/manifest.json | 2 +- fft/Dockerfile | 4 +++- fft/manifest.json | 2 +- generic_rf/Dockerfile | 13 +++++++------ generic_rf/manifest.json | 2 +- generic_xgb/Dockerfile | 13 +++++++------ generic_xgb/manifest.json | 2 +- grammarviz3/Dockerfile | 6 ++++-- grammarviz3/manifest.json | 2 +- grammarviz3_multi/Dockerfile | 6 ++++-- grammarviz3_multi/manifest.json | 2 +- hbos/Dockerfile | 6 ++++-- hbos/manifest.json | 2 +- health_esn/Dockerfile | 12 +++++++----- health_esn/manifest.json | 2 +- hif/Dockerfile | 4 +++- hif/manifest.json | 2 +- hotsax/Dockerfile | 12 +++++++----- hotsax/manifest.json | 2 +- hybrid_knn/Dockerfile | 3 ++- hybrid_knn/manifest.json | 2 +- if_lof/Dockerfile | 4 +++- if_lof/manifest.json | 2 +- iforest/Dockerfile | 6 ++++-- iforest/manifest.json | 2 +- img_embedding_cae/Dockerfile | 3 ++- img_embedding_cae/manifest.json | 2 +- 35 files changed, 94 insertions(+), 64 deletions(-) diff --git a/eif/Dockerfile b/eif/Dockerfile index b7b25f0..1247258 100644 --- a/eif/Dockerfile +++ b/eif/Dockerfile @@ -1,6 +1,6 @@ # Separate build image! #---------------------------- -FROM registry.gitlab.hpi.de/akita/i/python3-base:0.2.5 as build +FROM ghcr.io/timeeval/python3-base:0.3.0 as build # install build dependencies RUN apt-get update && apt-get install -y --no-install-recommends build-essential; @@ -9,22 +9,24 @@ RUN python -m venv --system-site-packages /opt/venv ENV PATH="/opt/venv/bin:$PATH" # build and install dependencies -RUN pip install cython -COPY requirements.txt . -RUN pip install -r ./requirements.txt +RUN pip install cython==0.29.36 +COPY requirements.txt /app/ +RUN pip install -r /app/requirements.txt #---------------------------- # inherit from the python3-base base image -FROM registry.gitlab.hpi.de/akita/i/python3-base:0.2.5 as runtime +FROM ghcr.io/timeeval/python3-base:0.3.0 as runtime LABEL maintainer="rohan.sawahn@student.hpi.de" +LABEL org.opencontainers.image.licenses=MIT # specify the main entrypoint to your algorithm code ENV ALGORITHM_MAIN="/app/algorithm.py" +ENV PATH="/opt/venv/bin:$PATH" + COPY --from=build /opt/venv /opt/venv # add the algorithm code (in this case only a single file) -COPY algorithm.py . - -ENV PATH="/opt/venv/bin:$PATH" +COPY algorithm.py /app/ +COPY manifest.json /app/ diff --git a/eif/manifest.json b/eif/manifest.json index 8f127a1..28cb5ca 100644 --- a/eif/manifest.json +++ b/eif/manifest.json @@ -2,7 +2,7 @@ "title": "Extended Isolation Forest (EIF)", "description": "Extenstion to the basic isolation forest. Implementation of https://doi.org/10.1109/TKDE.2019.2947676. Code from https://github.com/sahandha/eif", "inputDimensionality": "multivariate", - "version": "0.1", + "version": "0.3.0", "authors": "S. Hariri, M. Carrasco Kind, R. J. Brunner", "type": "Detector", "language": "Python", diff --git a/eif/requirements.txt b/eif/requirements.txt index 6f2c9d1..e0d0932 100644 --- a/eif/requirements.txt +++ b/eif/requirements.txt @@ -1,4 +1,4 @@ numpy cython pathlib -eif +eif==2.0.2 diff --git a/encdec_ad/Dockerfile b/encdec_ad/Dockerfile index 6cdf91f..0dbed3f 100644 --- a/encdec_ad/Dockerfile +++ b/encdec_ad/Dockerfile @@ -1,6 +1,7 @@ -FROM registry.gitlab.hpi.de/akita/i/python3-torch:0.2.5 +FROM ghcr.io/timeeval/python3-torch:0.3.0 LABEL maintainer="phillip.wenig@hpi.de" +LABEL org.opencontainers.image.licenses=MIT ENV ALGORITHM_MAIN="/app/algorithm.py" @@ -9,4 +10,5 @@ COPY requirements.txt /app/ RUN pip install -r /app/requirements.txt COPY encdec_ad /app/encdec_ad +COPY manifest.json /app/ COPY algorithm.py /app/ diff --git a/encdec_ad/manifest.json b/encdec_ad/manifest.json index 167cb75..d33e468 100644 --- a/encdec_ad/manifest.json +++ b/encdec_ad/manifest.json @@ -2,7 +2,7 @@ "title": "EncDec-AD", "description": "Implementation of https://arxiv.org/pdf/1607.00148.pdf", "inputDimensionality": "multivariate", - "version": "0.1", + "version": "0.3.0", "authors": "Pankaj Malhotra, Anusha Ramakrishnan, Gaurangi Anand, Lovekesh Vig, Puneet Agarwal, Gautam Shroff", "language": "Python", "type": "Detector", diff --git a/ensemble_gi/Dockerfile b/ensemble_gi/Dockerfile index aa77ced..71788a2 100644 --- a/ensemble_gi/Dockerfile +++ b/ensemble_gi/Dockerfile @@ -1,6 +1,7 @@ -FROM registry.gitlab.hpi.de/akita/i/python3-base:0.2.5 +FROM ghcr.io/timeeval/python3-base:0.3.0 LABEL maintainer="phillip.wenig@hpi.de" +LABEL org.opencontainers.image.licenses=MIT ENV ALGORITHM_MAIN="/app/algorithm.py" @@ -8,4 +9,5 @@ COPY requirements.txt /app/ RUN pip install -r requirements.txt COPY ensemble_gi /app/ensemble_gi +COPY manifest.json /app/ COPY algorithm.py /app/ diff --git a/ensemble_gi/manifest.json b/ensemble_gi/manifest.json index d05451b..d17a1fd 100644 --- a/ensemble_gi/manifest.json +++ b/ensemble_gi/manifest.json @@ -2,7 +2,7 @@ "title": "Ensemble GI", "description": "Implementation of https://doi.org/10.5441/002/edbt.2020.09", "inputDimensionality": "univariate", - "version": "0.1", + "version": "0.3.0", "authors": "Yifeng Gao, Jessica Lin, Constantin Brif", "language": "Python", "type": "Detector", diff --git a/fast_mcd/Dockerfile b/fast_mcd/Dockerfile index 78f79d1..dfe8ba6 100644 --- a/fast_mcd/Dockerfile +++ b/fast_mcd/Dockerfile @@ -1,6 +1,7 @@ -FROM registry.gitlab.hpi.de/akita/i/python3-base:0.2.5 +FROM ghcr.io/timeeval/python3-base:0.3.0 LABEL maintainer="phillip.wenig@hpi.de" +LABEL org.opencontainers.image.licenses=MIT ENV ALGORITHM_MAIN="/app/algorithm.py" @@ -8,4 +9,5 @@ ENV ALGORITHM_MAIN="/app/algorithm.py" COPY requirements.txt /app/ RUN pip install -r /app/requirements.txt +COPY manifest.json /app/ COPY algorithm.py /app/ diff --git a/fast_mcd/manifest.json b/fast_mcd/manifest.json index e4f91a5..d0c1a5b 100644 --- a/fast_mcd/manifest.json +++ b/fast_mcd/manifest.json @@ -2,7 +2,7 @@ "title": "Fast-MCD", "description": "Implementation of https://doi.org/10.2307/1270566", "inputDimensionality": "multivariate", - "version": "0.1", + "version": "0.3.0", "authors": "Peter J. Rousseeuw, Katrien Van Driessen", "language": "Python", "type": "Detector", diff --git a/fft/Dockerfile b/fft/Dockerfile index 6625f51..afbd354 100644 --- a/fft/Dockerfile +++ b/fft/Dockerfile @@ -1,6 +1,7 @@ -FROM registry.gitlab.hpi.de/akita/i/python3-base:0.2.5 +FROM ghcr.io/timeeval/python3-base:0.3.0 LABEL maintainer="sebastian.schmidl@hpi.de" +LABEL org.opencontainers.image.licenses=MIT ENV ALGORITHM_MAIN="/app/algorithm.py" @@ -9,4 +10,5 @@ COPY requirements.txt /app/ RUN pip install -r /app/requirements.txt COPY fft /app/fft +COPY manifest.json /app/ COPY algorithm.py /app diff --git a/fft/manifest.json b/fft/manifest.json index 2cec11a..f7ef822 100644 --- a/fft/manifest.json +++ b/fft/manifest.json @@ -2,7 +2,7 @@ "title": "FFT", "description": "Implementation of https://dl.acm.org/doi/10.5555/1789574.1789615 proudly provided by members of the HPI AKITA project.", "inputDimensionality": "univariate", - "version": "0.1", + "version": "0.3.0", "authors": "Faraz Rasheed, Peter Peng, Reda Alhajj, Jon Rokne", "language": "Python", "type": "Detector", diff --git a/generic_rf/Dockerfile b/generic_rf/Dockerfile index c6c4701..ecfd589 100644 --- a/generic_rf/Dockerfile +++ b/generic_rf/Dockerfile @@ -1,12 +1,13 @@ -FROM registry.gitlab.hpi.de/akita/i/python3-base:0.2.5 +FROM ghcr.io/timeeval/python3-base:0.3.0 LABEL maintainer="sebastian.schmidl@hpi.de" +LABEL org.opencontainers.image.licenses=MIT ENV ALGORITHM_MAIN="/app/algorithm.py" -COPY ./requirements.txt . -RUN pip install -r requirements.txt +COPY ./requirements.txt /app/ +RUN pip install -r /app/requirements.txt -COPY ./algorithm.py . -COPY ./model.py . -COPY ./manifest.json . +COPY ./algorithm.py /app/ +COPY ./model.py /app/ +COPY ./manifest.json /app/ diff --git a/generic_rf/manifest.json b/generic_rf/manifest.json index 75f4084..e750896 100644 --- a/generic_rf/manifest.json +++ b/generic_rf/manifest.json @@ -3,7 +3,7 @@ "description": "A generic windowed forecasting method using random forest regression (requested by RollsRoyce). The forecasting error is used as anomaly score.", "inputDimensionality": "univariate", "learningType": "semi-supervised", - "version": "0.1", + "version": "0.3.0", "authors": "Sebastian Schmidl", "language": "Python", "type": "Detector", diff --git a/generic_xgb/Dockerfile b/generic_xgb/Dockerfile index c6c4701..ecfd589 100644 --- a/generic_xgb/Dockerfile +++ b/generic_xgb/Dockerfile @@ -1,12 +1,13 @@ -FROM registry.gitlab.hpi.de/akita/i/python3-base:0.2.5 +FROM ghcr.io/timeeval/python3-base:0.3.0 LABEL maintainer="sebastian.schmidl@hpi.de" +LABEL org.opencontainers.image.licenses=MIT ENV ALGORITHM_MAIN="/app/algorithm.py" -COPY ./requirements.txt . -RUN pip install -r requirements.txt +COPY ./requirements.txt /app/ +RUN pip install -r /app/requirements.txt -COPY ./algorithm.py . -COPY ./model.py . -COPY ./manifest.json . +COPY ./algorithm.py /app/ +COPY ./model.py /app/ +COPY ./manifest.json /app/ diff --git a/generic_xgb/manifest.json b/generic_xgb/manifest.json index 0521529..543085f 100644 --- a/generic_xgb/manifest.json +++ b/generic_xgb/manifest.json @@ -3,7 +3,7 @@ "description": "A generic windowed forecasting method using XGBoost regression (requested by RollsRoyce). The forecasting error is used as anomaly score.", "inputDimensionality": "univariate", "learningType": "semi-supervised", - "version": "0.1", + "version": "0.3.0", "authors": "Sebastian Schmidl", "language": "Python", "type": "Detector", diff --git a/grammarviz3/Dockerfile b/grammarviz3/Dockerfile index 85c46c8..f285af3 100644 --- a/grammarviz3/Dockerfile +++ b/grammarviz3/Dockerfile @@ -1,4 +1,4 @@ -FROM gitlab.hpi.de/akita/dependency_proxy/containers/maven:3-openjdk-11-slim as build +FROM maven:3-openjdk-11-slim as build WORKDIR /app @@ -7,10 +7,12 @@ COPY src src RUN mvn package -PsingleCLI -DskipTests -FROM registry.gitlab.hpi.de/akita/i/java-base:0.2.5 +FROM ghcr.io/timeeval/java-base:0.3.0 LABEL maintainer="sebastian.schmidl@hpi.de" +LABEL org.opencontainers.image.licenses="GPL-2.0" ENV ALGORITHM_MAIN="/app/algorithm.jar" +COPY manifest.json /app/ COPY --from=build /app/target/grammarviz2-0.0.1-SNAPSHOT-jar-with-dependencies.jar ${ALGORITHM_MAIN} diff --git a/grammarviz3/manifest.json b/grammarviz3/manifest.json index dfaa512..34cdeca 100644 --- a/grammarviz3/manifest.json +++ b/grammarviz3/manifest.json @@ -2,7 +2,7 @@ "title": "GrammarViz", "description": "Implementation of https://doi.org/10.1145/3051126.", "inputDimensionality": "univariate", - "version": "0.1", + "version": "0.3.0", "authors": "Pavel Senin, Jessica Lin, Xing Wang, Tim Oates, Sunil Gandhi, Arnold P. Boedihardjo, Crystal Chen, Susan Frankenstein", "language": "Java", "type": "Detector", diff --git a/grammarviz3_multi/Dockerfile b/grammarviz3_multi/Dockerfile index 784e363..4f619aa 100644 --- a/grammarviz3_multi/Dockerfile +++ b/grammarviz3_multi/Dockerfile @@ -1,14 +1,16 @@ -FROM gitlab.hpi.de/akita/dependency_proxy/containers/maven:3-openjdk-11-slim as build +FROM maven:3-openjdk-11-slim as build COPY pom.xml /app/ COPY src /app/src RUN cd /app && \ mvn package -PsingleCLI -DskipTests -FROM registry.gitlab.hpi.de/akita/i/java-base:0.2.5 +FROM ghcr.io/timeeval/java-base:0.3.0 LABEL maintainer="yannik.schroeder@student.hpi.uni-potsdam.de;niklas.koehnecke@student.hpi.uni-potsdam.de" +LABEL org.opencontainers.image.licenses="GPL-2.0" ENV ALGORITHM_MAIN="/app/algorithm.jar" +COPY manifest.json /app/ COPY --from=build /app/target/grammarviz2-0.0.1-SNAPSHOT-jar-with-dependencies.jar ${ALGORITHM_MAIN} diff --git a/grammarviz3_multi/manifest.json b/grammarviz3_multi/manifest.json index fc13f97..36b776d 100644 --- a/grammarviz3_multi/manifest.json +++ b/grammarviz3_multi/manifest.json @@ -2,7 +2,7 @@ "title": "GrammarViz-Multivariate", "description": "Multivariate extension of the GrammarViz3 algorithm.", "inputDimensionality": "multivariate", - "version": "0.1", + "version": "0.3.0", "authors": "Yannik Schröder, Niklas Köhnecke", "language": "Java", "type": "Detector", diff --git a/hbos/Dockerfile b/hbos/Dockerfile index 62cb232..8df15b0 100644 --- a/hbos/Dockerfile +++ b/hbos/Dockerfile @@ -1,6 +1,7 @@ -FROM registry.gitlab.hpi.de/akita/i/pyod:0.2.5 +FROM ghcr.io/timeeval/pyod:0.3.0 LABEL maintainer="sebastian.schmidl@hpi.de" +LABEL org.opencontainers.image.licenses=MIT ENV ALGORITHM_MAIN="/app/algorithm.py" @@ -8,4 +9,5 @@ ENV ALGORITHM_MAIN="/app/algorithm.py" COPY requirements.txt /app/ RUN pip install -r /app/requirements.txt -COPY algorithm.py . +COPY manifest.json /app/ +COPY algorithm.py /app/ diff --git a/hbos/manifest.json b/hbos/manifest.json index fe83f12..d1c0a0d 100644 --- a/hbos/manifest.json +++ b/hbos/manifest.json @@ -2,7 +2,7 @@ "title": "HBOS", "description": "Implementation of https://citeseerx.ist.psu.edu/viewdoc/citations;jsessionid=2B4E3FB2BB07448253B4D45C3DAC2E95?doi=10.1.1.401.5686.", "inputDimensionality": "multivariate", - "version": "0.1", + "version": "0.3.0", "authors": "Markus Goldstein, Andreas Dengel", "language": "Python", "type": "Detector", diff --git a/health_esn/Dockerfile b/health_esn/Dockerfile index 3c63729..06a534f 100644 --- a/health_esn/Dockerfile +++ b/health_esn/Dockerfile @@ -1,11 +1,13 @@ -FROM registry.gitlab.hpi.de/akita/i/python3-base:0.2.5 +FROM ghcr.io/timeeval/python3-base:0.3.0 LABEL maintainer="phillip.wenig@hpi.de" +LABEL org.opencontainers.image.licenses=MIT ENV ALGORITHM_MAIN="/app/algorithm.py" -COPY requirements.txt . -RUN pip install -r requirements.txt +COPY requirements.txt /app/ +RUN pip install -r /app/requirements.txt -COPY health_esn ./health_esn -COPY algorithm.py . +COPY health_esn /app/health_esn/ +COPY manifest.json /app/ +COPY algorithm.py /app/ diff --git a/health_esn/manifest.json b/health_esn/manifest.json index 4b05f9d..68f7656 100644 --- a/health_esn/manifest.json +++ b/health_esn/manifest.json @@ -2,7 +2,7 @@ "title": "HealthESN", "description": "Implementation of https://doi.org/10.1007/s00521-018-3747-z", "inputDimensionality": "multivariate", - "version": "0.1", + "version": "0.3.0", "authors": "Qing Chen, Anguo Zhang, Tingwen Huang, Qianping He, Yongduan Song", "language": "Python", "type": "Detector", diff --git a/hif/Dockerfile b/hif/Dockerfile index 5fcfca8..b82a7fa 100644 --- a/hif/Dockerfile +++ b/hif/Dockerfile @@ -1,6 +1,7 @@ -FROM registry.gitlab.hpi.de/akita/i/python3-base:0.2.5 +FROM ghcr.io/timeeval/python3-base:0.3.0 LABEL maintainer="yannik.schroeder@student.hpi.de" +LABEL org.opencontainers.image.licenses="GPL-2.0" ENV ALGORITHM_MAIN="/app/algorithm.py" @@ -8,5 +9,6 @@ ENV ALGORITHM_MAIN="/app/algorithm.py" COPY requirements.txt /app/ RUN pip install -r /app/requirements.txt +COPY manifest.json /app/ COPY hif.py /app/ COPY algorithm.py /app/ diff --git a/hif/manifest.json b/hif/manifest.json index e6e3d86..d7c125a 100644 --- a/hif/manifest.json +++ b/hif/manifest.json @@ -2,7 +2,7 @@ "title": "Hybrid Isolation Forest (HIF)", "description": "Implementation of https://arxiv.org/abs/1705.03800", "inputDimensionality": "multivariate", - "version": "0.1", + "version": "0.3.0", "authors": "Pierre-Franccois Marteau, Saeid Soheily-Khah, Nicolas Bechet", "language": "Python", "type": "Detector", diff --git a/hotsax/Dockerfile b/hotsax/Dockerfile index 8de69c7..f97bb2a 100644 --- a/hotsax/Dockerfile +++ b/hotsax/Dockerfile @@ -1,12 +1,13 @@ -FROM registry.gitlab.hpi.de/akita/i/python3-base:0.2.5 +FROM ghcr.io/timeeval/python3-base:0.3.0 LABEL maintainer="sebastian.schmidl@hpi.de" +LABEL org.opencontainers.image.licenses="GPL-2.0" ENV ALGORITHM_MAIN="/app/algorithm.py" -COPY requirements.txt . +COPY requirements.txt /app/ RUN set -eux; \ - pip install --no-cache-dir -r requirements.txt; \ + pip install --no-cache-dir -r /app/requirements.txt; \ find /usr/local -depth \ \( \ \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) \ @@ -15,5 +16,6 @@ RUN set -eux; \ \) -exec rm -rf '{}' +; \ rm -rf /tmp/* /var/tmp/* ~/.cache/pip -COPY saxpy ./saxpy -COPY algorithm.py . +COPY saxpy /app/saxpy/ +COPY manifest.json /app/ +COPY algorithm.py /app/ diff --git a/hotsax/manifest.json b/hotsax/manifest.json index 2cf1886..e7086e9 100644 --- a/hotsax/manifest.json +++ b/hotsax/manifest.json @@ -2,7 +2,7 @@ "title": "HOT SAX", "description": "Implementation of https://doi.org/10.1109/ICDM.2005.79.", "inputDimensionality": "univariate", - "version": "0.1", + "version": "0.3.0", "authors": "Eamonn Keogh, Jessica Lin, Ada Fu", "language": "Python", "type": "Detector", diff --git a/hybrid_knn/Dockerfile b/hybrid_knn/Dockerfile index 1536379..0b2e226 100644 --- a/hybrid_knn/Dockerfile +++ b/hybrid_knn/Dockerfile @@ -1,6 +1,7 @@ -FROM registry.gitlab.hpi.de/akita/i/python3-torch:0.2.5 +FROM ghcr.io/timeeval/python3-torch:0.3.0 LABEL maintainer="phillip.wenig@hpi.de" +LABEL org.opencontainers.image.licenses=MIT ENV ALGORITHM_MAIN="/app/algorithm.py" diff --git a/hybrid_knn/manifest.json b/hybrid_knn/manifest.json index bc976e3..1c4ee19 100644 --- a/hybrid_knn/manifest.json +++ b/hybrid_knn/manifest.json @@ -2,7 +2,7 @@ "title": "Hybrid KNN", "description": "Implementation of https://www.hindawi.com/journals/cin/2017/8501683/", "inputDimensionality": "multivariate", - "version": "0.1", + "version": "0.3.0", "authors": "Hongchao Song, Zhuqing Jiang, Aidong Men, Bo Yang", "language": "Python", "type": "Detector", diff --git a/if_lof/Dockerfile b/if_lof/Dockerfile index 470aabf..67dd034 100644 --- a/if_lof/Dockerfile +++ b/if_lof/Dockerfile @@ -1,6 +1,7 @@ -FROM registry.gitlab.hpi.de/akita/i/python3-base:0.2.5 +FROM ghcr.io/timeeval/python3-base:0.3.0 LABEL maintainer="rohan.sawahn@student.hpi.de" +LABEL org.opencontainers.image.licenses=MIT ENV ALGORITHM_MAIN="/app/algorithm.py" @@ -8,3 +9,4 @@ COPY requirements.txt /app/ RUN pip install -r requirements.txt COPY algorithm.py /app/ +COPY manifest.json /app/ diff --git a/if_lof/manifest.json b/if_lof/manifest.json index ea70e02..3dbbd0a 100644 --- a/if_lof/manifest.json +++ b/if_lof/manifest.json @@ -2,7 +2,7 @@ "title": "IF-LOF", "description": "Isolation Forest - Local Outlier Factor: Uses a 3 step process - Building an isolation forest, pruning the forest with a computed treshhold, and applies local outlier factor to the resulting dataset", "inputDimensionality": "multivariate", - "version": "0.1", + "version": "0.3.0", "authors": "Cheng, Zhangyu and Zou, Chengming and Dong, Jianwei", "type": "Detector", "language": "Python", diff --git a/iforest/Dockerfile b/iforest/Dockerfile index 62cb232..23a0b74 100644 --- a/iforest/Dockerfile +++ b/iforest/Dockerfile @@ -1,6 +1,7 @@ -FROM registry.gitlab.hpi.de/akita/i/pyod:0.2.5 +FROM ghcr.io/timeeval/pyod:0.3.0 LABEL maintainer="sebastian.schmidl@hpi.de" +LABEL org.opencontainers.image.licenses=MIT ENV ALGORITHM_MAIN="/app/algorithm.py" @@ -8,4 +9,5 @@ ENV ALGORITHM_MAIN="/app/algorithm.py" COPY requirements.txt /app/ RUN pip install -r /app/requirements.txt -COPY algorithm.py . +COPY algorithm.py /app/ +COPY manifest.json /app/ diff --git a/iforest/manifest.json b/iforest/manifest.json index 8d6cda1..7ba6428 100644 --- a/iforest/manifest.json +++ b/iforest/manifest.json @@ -2,7 +2,7 @@ "title": "Isolation Forest (iForest)", "description": "Implementation of https://doi.org/10.1145/2133360.2133363.", "inputDimensionality": "multivariate", - "version": "0.1", + "version": "0.3.0", "authors": "Fei Tony Liu and Kai Ming Ting and Zhi-Hua Zhou", "language": "Python", "type": "Detector", diff --git a/img_embedding_cae/Dockerfile b/img_embedding_cae/Dockerfile index b0997b2..157353d 100644 --- a/img_embedding_cae/Dockerfile +++ b/img_embedding_cae/Dockerfile @@ -1,6 +1,7 @@ -FROM registry.gitlab.hpi.de/akita/i/python3-torch:0.2.5 +FROM ghcr.io/timeeval/python3-torch:0.3.0 LABEL maintainer="yannik.schroeder@student.hpi.de" +LABEL org.opencontainers.image.licenses=MIT ENV ALGORITHM_MAIN="/app/algorithm.py" diff --git a/img_embedding_cae/manifest.json b/img_embedding_cae/manifest.json index 3fb10ff..e321302 100644 --- a/img_embedding_cae/manifest.json +++ b/img_embedding_cae/manifest.json @@ -2,7 +2,7 @@ "title": "ImageEmbeddingCAE", "description": "Implementation of http://arxiv.org/abs/2009.02040", "inputDimensionality": "univariate", - "version": "0.1", + "version": "0.3.0", "authors": "Gabriel Rodriguez Garcia, Gabriel Michau, Melanie Ducoffe, Jayant Sen Gupta", "language": "Python", "type": "Detector",