This file contains hidden or 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 script is shared with permission of our TAs for CS6601 ML4T Fall 2024 | |
| # it should help you compare the performance of DTLearner and LinRegLearner | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| from DTLearner import DTLearner | |
| from LinRegLearner import LinRegLearner | |
| import random as random #this is not needed if you rely on Numpy's random | |
| import gen_data |
This file contains hidden or 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
| # the name 'Library' causes a problem. but 'library' (lowercase) works fine | |
| FROM python:3.7.2 AS library | |
| FROM library | |
| RUN echo "another line" |
This file contains hidden or 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
| ARG VERSION=3.7.2 | |
| FROM python:${VERSION} | |
| RUN echo "this is a demo" |
This file contains hidden or 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
| FROM google/cloud-sdk:256.0.0-alpine | |
| RUN apk add --no-cache bash | |
| RUN mkdir -p /usr/my_work_dir | |
| COPY *.sh /usr/my_work_dir/ | |
| RUN ls -l /workspace/ | |
| RUN ls -l /usr/my_work_dir/ | |
| RUN bash /usr/my_work_dir/file1.sh | |
| RUN bash /usr/my_work_dir/file2.sh |
This file contains hidden or 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
| FROM google/cloud-sdk:256.0.0-alpine | |
| COPY postgres_monitor /usr/bin | |
| RUN apk add --no-cache \ | |
| jq=~1.6 \ | |
| py-pip=~18.1 \ | |
| postgresql-client=~11.5 && \ | |
| chmod +x /usr/bin/postgres_monitor |
This file contains hidden or 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
| FROM quay.io/roboll/helmfile:v0.79.1 | |
| # the same error was replicatd with later versions |
This file contains hidden or 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
| FROM quay.io/roboll/helmfile:v0.79.1 |