update
This commit is contained in:
parent
0ba0fc2936
commit
c860835800
@ -10,9 +10,10 @@ RUN pip3 install matplotlib
|
||||
RUN pip3 install sklearn
|
||||
RUN apt-get install unzip
|
||||
|
||||
ENV CUTOFF=1000
|
||||
ARG CUTOFF
|
||||
ARG KAGGLE_USERNAME
|
||||
ARG KAGGLE_KEY
|
||||
ENV CUTOFF=${CUTOFF}
|
||||
ENV KAGGLE_USERNAME=${KAGGLE_USERNAME}
|
||||
ENV KAGGLE_KEY=${KAGGLE_KEY}
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
pipeline {
|
||||
agent {
|
||||
dockerfile {
|
||||
additionalBuildArgs "--build-arg KAGGLE_USERNAME=${params.KAGGLE_USERNAME} --build-arg KAGGLE_KEY=${params.KAGGLE_KEY}"
|
||||
additionalBuildArgs "--build-arg KAGGLE_USERNAME=${params.KAGGLE_USERNAME} --build-arg KAGGLE_KEY=${params.KAGGLE_KEY} --build-arg CUTOFF=${params.CUTOFF}"
|
||||
}
|
||||
}
|
||||
parameters {
|
||||
|
@ -8,7 +8,7 @@ dataset_operation() {
|
||||
head -n $len2 all_games.csv.shuf > all_games.csv.test
|
||||
head -n $len3 all_games.csv.shuf | tail -n $len2 > all_games.csv.dev
|
||||
tail -n +$len4 all_games.csv.shuf > all_games.csv.train
|
||||
cp all_games.csv /dane/all_games.csv
|
||||
cp all_games.csv.shuf /dane/all_games.csv
|
||||
wc -l all_games.csv.*
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user