-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adapt algorithms with names starting with [j-n] (#37)
* feat: adapt algorithms with names starting with [j-n] * fix: numenta image build * fix(multi_hmm): jax-version
- Loading branch information
Sebastian Schmidl
authored
Dec 16, 2023
1 parent
5ad5961
commit d9b74b0
Showing
34 changed files
with
92 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
|
||
|
@@ -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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
|
||
|
@@ -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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
@@ -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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ pandas | |
scikit-learn | ||
pomegranate==0.14.5 | ||
fuzzy-c-means==1.2.4 | ||
jax==0.2.10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
Oops, something went wrong.