Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt algorithms with names starting with [j-n] #37

Merged
merged 3 commits into from
Dec 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions knn/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
FROM registry.gitlab.hpi.de/akita/i/pyod:0.2.5
FROM ghcr.io/timeeval/pyod:0.3.0

LABEL maintainer="[email protected]"
LABEL org.opencontainers.image.licenses=MIT

ENV ALGORITHM_MAIN="/app/algorithm.py"

# install algorithm dependencies
COPY requirements.txt /app/
RUN pip install -r /app/requirements.txt

COPY algorithm.py .
COPY manifest.json /app/
COPY algorithm.py /app/
2 changes: 1 addition & 1 deletion knn/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "KNN",
"description": "Implementation of https://doi.org/10.1145/342009.335437.",
"inputDimensionality": "multivariate",
"version": "0.1",
"version": "0.3.0",
"authors": "Sridhar Ramaswamy,Rajeev Rastogi, Kyuseok Shim",
"language": "Python",
"type": "Detector",
Expand Down
10 changes: 6 additions & 4 deletions laser_dbn/Dockerfile
Original file line number Diff line number Diff line change
@@ -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="[email protected]"
LABEL org.opencontainers.image.licenses=MIT

ENV ALGORITHM_MAIN="/app/algorithm.py"

COPY requirements.txt /app/
COPY algorithm.py /app/
COPY laser_dbn /app/laser_dbn

RUN pip install -r /app/requirements.txt

COPY manifest.json /app/
COPY laser_dbn /app/laser_dbn
COPY algorithm.py /app/
2 changes: 1 addition & 1 deletion laser_dbn/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "LaserDBN",
"description": "Implementation of https://doi.org/10.1007/978-3-662-53806-7_3",
"inputDimensionality": "multivariate",
"version": "0.1",
"version": "0.3.0",
"authors": "Alberto Ogbechie, Javier Díaz-Rozo, Pedro Larrañaga, Concha Bielza",
"language": "Python",
"type": "Detector",
Expand Down
4 changes: 3 additions & 1 deletion left_stampi/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
FROM registry.gitlab.hpi.de/akita/i/python3-base:0.2.5
FROM ghcr.io/timeeval/python3-base:0.3.0

LABEL maintainer="[email protected]"
LABEL org.opencontainers.image.licenses="BSD-3-Clause"

ENV ALGORITHM_MAIN="/app/algorithm.py"

COPY requirements.txt /app/
RUN pip install -r requirements.txt

COPY manifest.json /app/
COPY algorithm.py /app/
2 changes: 1 addition & 1 deletion left_stampi/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Left STAMPi",
"description": "Implementation of https://www.cs.ucr.edu/~eamonn/PID4481997_extend_Matrix%20Profile_I.pdf",
"inputDimensionality": "univariate",
"version": "0.1",
"version": "0.3.0",
"authors": "Chin-Chia Michael Yeh, Yan Zhu, Liudmila Ulanova, Nurjahan Begum, Yifei Ding, Hoang Anh Dau, Diego Furtado Silva, Abdullah Mueen, and Eamonn Keogh",
"language": "Python",
"type": "Detector",
Expand Down
6 changes: 4 additions & 2 deletions lof/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
FROM registry.gitlab.hpi.de/akita/i/pyod:0.2.5
FROM ghcr.io/timeeval/pyod:0.3.0

LABEL maintainer="[email protected]"
LABEL org.opencontainers.image.licenses=MIT

ENV ALGORITHM_MAIN="/app/algorithm.py"

# install algorithm dependencies
COPY requirements.txt /app/
RUN pip install -r /app/requirements.txt

COPY algorithm.py .
COPY manifest.json /app/
COPY algorithm.py /app/
2 changes: 1 addition & 1 deletion lof/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "LOF",
"description": "Implementation of https://doi.org/10.1145/342009.335388.",
"inputDimensionality": "multivariate",
"version": "0.1",
"version": "0.3.0",
"authors": "Markus M. Breunig, Hans-Peter Kriegel, Raymond T. Ng, Jörg Sander",
"language": "Python",
"type": "Detector",
Expand Down
4 changes: 3 additions & 1 deletion lstm_ad/Dockerfile
Original file line number Diff line number Diff line change
@@ -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="[email protected]"
LABEL org.opencontainers.image.licenses=MIT

ENV ALGORITHM_MAIN="/app/algorithm.py"

Expand All @@ -9,4 +10,5 @@ COPY requirements.txt /app/
RUN pip install -r /app/requirements.txt

COPY lstm_ad /app/lstm_ad
COPY manifest.json /app/
COPY algorithm.py /app/
2 changes: 1 addition & 1 deletion lstm_ad/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "LSTM-AD",
"description": "Implementation of https://www.elen.ucl.ac.be/Proceedings/esann/esannpdf/es2015-56.pdf",
"inputDimensionality": "multivariate",
"version": "0.1",
"version": "0.3.0",
"authors": "Pankaj Malhotra, Lovekesh Vig, Gautam Shroff, Puneet Agarwal",
"language": "Python",
"type": "Detector",
Expand Down
4 changes: 3 additions & 1 deletion lstm_vae/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
FROM registry.gitlab.hpi.de/akita/i/python3-torch:0.2.5
FROM ghcr.io/timeeval/python3-torch:0.3.0

LABEL maintainer="[email protected]"
LABEL org.opencontainers.image.licenses=MIT

ENV ALGORITHM_MAIN="/app/algorithm.py"

COPY requirements.txt /app/
RUN pip install -r /app/requirements.txt;

COPY src /app/src
COPY manifest.json /app/
COPY algorithm.py /app/
2 changes: 1 addition & 1 deletion lstm_vae/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "LSTM-VAE",
"description": "self implementation of: https://ieeexplore.ieee.org/document/8279425",
"inputDimensionality": "univariate",
"version": "0.1",
"version": "0.3.0",
"authors": "Siddeshkanth Logonathan",
"learningType": "Semi-Supervised",
"language": "Python",
Expand Down
27 changes: 6 additions & 21 deletions median_method/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,28 +1,13 @@
# Separate build image!
#----------------------------
FROM registry.gitlab.hpi.de/akita/i/python3-base:0.2.5 as build

LABEL maintainer="[email protected]"

# install build dependencies
RUN apt-get update && apt-get install -y --no-install-recommends build-essential

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
#----------------------------

FROM registry.gitlab.hpi.de/akita/i/python3-base:0.2.5 as runtime
FROM ghcr.io/timeeval/python3-base:0.3.0

LABEL maintainer="[email protected]"
LABEL org.opencontainers.image.licenses=MIT

ENV ALGORITHM_MAIN="/app/algorithm.py"
ENV PATH="/opt/venv/bin:$PATH"

COPY --from=build /opt/venv /opt/venv
COPY requirements.txt /app/
RUN pip install -r /app/requirements.txt

COPY median_method.py /app/
COPY manifest.json /app/
COPY algorithm.py /app/
2 changes: 1 addition & 1 deletion median_method/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "MedianMethod",
"description": "Implementation of https://doi.org/10.1007/s10115-006-0026-6",
"inputDimensionality": "univariate",
"version": "0.1",
"version": "0.3.0",
"authors": "",
"language": "Python",
"type": "Detector",
Expand Down
4 changes: 3 additions & 1 deletion mscred/Dockerfile
Original file line number Diff line number Diff line change
@@ -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="[email protected]"
LABEL org.opencontainers.image.licenses=MIT

ENV ALGORITHM_MAIN="/app/algorithm.py"

Expand All @@ -9,4 +10,5 @@ COPY requirements.txt /app/
RUN pip install -r /app/requirements.txt

COPY mscred /app/mscred
COPY manifest.json /app/
COPY algorithm.py /app/
2 changes: 1 addition & 1 deletion mscred/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "MSCRED",
"description": "Implementation of https://doi.org/10.1609/aaai.v33i01.33011409",
"inputDimensionality": "multivariate",
"version": "0.1",
"version": "0.3.0",
"authors": "Chuxu Zhang, Dongjin Song, Yuncong Chen, Xinyang Feng, Cristian Lumezanu, Wei Cheng, Jingchao Ni, Bo Zong, Haifeng Chen, Nitesh V. Chawla",
"language": "Python",
"type": "Detector",
Expand Down
6 changes: 4 additions & 2 deletions mstamp/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
FROM registry.gitlab.hpi.de/akita/i/python3-base:0.2.5
FROM ghcr.io/timeeval/python3-base:0.3.0

LABEL maintainer="[email protected]"
LABEL org.opencontainers.image.licenses="BSD-3-Clause"

ENV ALGORITHM_MAIN="/app/algorithm.py"

COPY requirements.txt /app/
RUN pip install -r requirements.txt
RUN pip install -r /app/requirements.txt

COPY manifest.json /app/
COPY algorithm.py /app/
2 changes: 1 addition & 1 deletion mstamp/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "mSTAMP",
"description": "Implementation of http://www.cs.ucr.edu/%7Eeamonn/Motif_Discovery_ICDM.pdf",
"inputDimensionality": "multivariate",
"version": "0.1",
"version": "0.3.0",
"authors": "Chin-Chia Michael Yeh, Nickolas Kavantzas, and Eamonn Keogh",
"language": "Python",
"type": "Detector",
Expand Down
6 changes: 4 additions & 2 deletions mtad_gat/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.gitlab.hpi.de/akita/i/python3-torch:0.2.5 as build
FROM ghcr.io/timeeval/python3-torch:0.3.0 as build

COPY sr /app/sr

Expand All @@ -11,12 +11,14 @@ RUN set -eux; \
RUN pip install Cython
RUN cd /app/sr/; python setup.py install

FROM registry.gitlab.hpi.de/akita/i/python3-torch:0.2.5 as eval
FROM ghcr.io/timeeval/python3-torch:0.3.0 as eval

LABEL maintainer="[email protected]"
LABEL org.opencontainers.image.licenses=MIT

ENV ALGORITHM_MAIN="/app/algorithm.py"

COPY --from=build /usr/local/lib/python3.7/site-packages /usr/local/lib/python3.7/site-packages
COPY mtad_gat /app/mtad_gat
COPY manifest.json /app/
COPY algorithm.py /app/
2 changes: 1 addition & 1 deletion mtad_gat/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "MTAD-GAT",
"description": "Implementation of http://arxiv.org/abs/2009.02040",
"inputDimensionality": "multivariate",
"version": "0.1",
"version": "0.3.0",
"authors": "Hang Zhao, Yujing Wang, Juanyong Duan, Congrui Huang, Defu Cao, Yunhai Tong, Bixiong Xu, Jing Bai, Jie Tong, Qi Zhang",
"language": "Python",
"type": "Detector",
Expand Down
6 changes: 4 additions & 2 deletions multi_hmm/Dockerfile
Original file line number Diff line number Diff line change
@@ -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="[email protected]"
LABEL org.opencontainers.image.licenses=MIT

ENV ALGORITHM_MAIN="/app/algorithm.py"

COPY requirements.txt /app/
RUN pip install -r /app/requirements.txt

COPY algorithm.py /app/
COPY multi_hmm /app/multi_hmm
COPY manifest.json /app/
COPY algorithm.py /app/
2 changes: 1 addition & 1 deletion multi_hmm/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "MultiHMM",
"description": "Implementation of https://doi.org/10.1016/j.asoc.2017.06.035",
"inputDimensionality": "multivariate",
"version": "0.1",
"version": "0.3.0",
"authors": "Jinbo Li, Witold Pedrycz, Iqbal Jamal",
"language": "Python",
"type": "Detector",
Expand Down
1 change: 1 addition & 0 deletions multi_hmm/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ pandas
scikit-learn
pomegranate==0.14.5
fuzzy-c-means==1.2.4
jax==0.2.10
6 changes: 4 additions & 2 deletions multi_subsequence_lof/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
FROM registry.gitlab.hpi.de/akita/i/pyod:0.2.5
FROM ghcr.io/timeeval/pyod:0.3.0

LABEL maintainer="[email protected]"
LABEL org.opencontainers.image.licenses=MIT

ENV ALGORITHM_MAIN="/app/algorithm.py"

# install algorithm dependencies
COPY requirements.txt /app/
RUN pip install -r /app/requirements.txt

COPY algorithm.py .
COPY manifest.json /app/
COPY algorithm.py /app/
2 changes: 1 addition & 1 deletion multi_subsequence_lof/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Multi-Sub-LOF",
"description": "LOF on sliding windows of multivariate time series to detect subsequence anomalies.",
"inputDimensionality": "multivariate",
"version": "0.1",
"version": "0.3.0",
"authors": "Sebastian Schmidl, Niklas Köhnecke",
"language": "Python",
"type": "Detector",
Expand Down
3 changes: 2 additions & 1 deletion mvalmod/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM registry.gitlab.hpi.de/akita/i/tsmp:0.2.5
FROM ghcr.io/timeeval/tsmp:0.3.0

LABEL maintainer="[email protected]"
LABEL org.opencontainers.image.licenses=MIT

ENV ALGORITHM_MAIN="/app/algorithm.r"

Expand Down
2 changes: 1 addition & 1 deletion mvalmod/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "mVALMOD",
"description": "Implementation of https://doi.org/10.1007/s10618-020-00685-w summed up for every channel.",
"inputDimensionality": "multivariate",
"version": "0.1",
"version": "0.3.0",
"authors": "Michele Linardi, Yan Zhu, Themis Palpanas, Eamonn Keogh",
"language": "R",
"type": "Detector",
Expand Down
2 changes: 1 addition & 1 deletion norma/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "NormA",
"description": "Improved algorithm based on NorM (https://doi.org/10.1109/ICDE48307.2020.00182).",
"inputDimensionality": "univariate",
"version": "0.1",
"version": "0.3.0",
"authors": "Paul Boniol, Michele Linardi, Federico Roncallo, Themis Palpanas",
"language": "Python",
"type": "Detector",
Expand Down
5 changes: 3 additions & 2 deletions normalizing_flows/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
FROM registry.gitlab.hpi.de/akita/i/python3-torch:0.2.5
FROM ghcr.io/timeeval/python3-torch:0.3.0

LABEL maintainer="[email protected]"
LABEL org.opencontainers.image.licenses=MIT

ENV ALGORITHM_MAIN="/app/algorithm.py"

COPY requirements.txt /app/
RUN pip install -r /app/requirements.txt

COPY . /app
COPY . /app/
2 changes: 1 addition & 1 deletion normalizing_flows/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"title": "Normalizing Flows",
"description": "Implementation of https://arxiv.org/abs/1912.09323",
"inputDimensionality": "multivariate",
"version": "0.1",
"version": "0.3.0",
"authors": "Artem Ryzhikov, Maxim Borisyak, Andrey Ustyuzhanin, Denis Derkach",
"language": "Python",
"type": "Detector",
Expand Down
14 changes: 8 additions & 6 deletions novelty_svr/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
FROM registry.gitlab.hpi.de/akita/i/python3-base:0.2.5
FROM ghcr.io/timeeval/python3-base:0.3.0


LABEL maintainer="[email protected]"
LABEL org.opencontainers.image.licenses="GPL-3.0"

ENV ALGORITHM_MAIN="/app/algorithm.py"

# install python dependencies
COPY requirements.txt .
RUN pip install -r ./requirements.txt
COPY requirements.txt /app/
RUN pip install -r /app/requirements.txt

COPY model.py .
COPY algorithm.py .
COPY manifest.json .
COPY model.py /app/
COPY manifest.json /app/
COPY algorithm.py /app/
Loading