fix data.sh
This commit is contained in:
parent
61e52526f7
commit
d0f70b12de
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -6,7 +6,7 @@ pipeline{
|
|||||||
stages{
|
stages{
|
||||||
stage('Stage 1'){
|
stage('Stage 1'){
|
||||||
steps{
|
steps{
|
||||||
echo 'Hello World!'
|
echo 'Init Jenkins File!'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('checkout: Check out from version control'){
|
stage('checkout: Check out from version control'){
|
||||||
|
5
data.sh
5
data.sh
@ -2,10 +2,11 @@
|
|||||||
echo "pobieram dane"
|
echo "pobieram dane"
|
||||||
curl -OL https://git.wmi.amu.edu.pl/s434804/ium_434804/raw/branch/master/country_vaccinations.csv
|
curl -OL https://git.wmi.amu.edu.pl/s434804/ium_434804/raw/branch/master/country_vaccinations.csv
|
||||||
echo "CUTOFF danych"
|
echo "CUTOFF danych"
|
||||||
head -n -1 ./country_vaccinations.csv | tail -n +$((${CUTOFF}+1)) > ./country_vaccinations.csv | shuf > ./vaccines.csv.shuf
|
shuf ./country_vaccinations.csv > ./vaccines.csv | tail -n +$((${CUTOFF})) > ./vaccines.csv
|
||||||
|
wc -l ./imdb_movies.csv
|
||||||
echo "Wielkość zbioru"
|
echo "Wielkość zbioru"
|
||||||
wc -l ./vaccines.csv
|
wc -l ./vaccines.csv
|
||||||
head -n 1468 vaccines.csv.shuf > ./test.csv
|
head -n 1468 vaccines.csv.shuf > ./test.csv
|
||||||
head -n 2936 vaccines.csv.shuf | tail -n 1468 > ./validation.csv
|
head -n 2936 vaccines.csv.shuf | tail -n 1468 > ./validation.csv
|
||||||
tail -n +2936 vaccines.csv.shuf > ./train.csv
|
tail -n +2936 vaccines.csv.shuf > ./train.csv
|
||||||
wc -l *.csv
|
wc -l ./*.csv
|
Loading…
Reference in New Issue
Block a user