Big Fix!
This commit is contained in:
parent
4e000231c3
commit
a63623c615
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -20,6 +20,8 @@ pipeline {
|
||||
steps {
|
||||
sh 'chmod +x test.sh'
|
||||
sh './test.sh'
|
||||
archiveArtifacts 'test.csv'
|
||||
archiveArtifacts 'dev.csv'
|
||||
archiveArtifacts 'train.csv'
|
||||
}
|
||||
}
|
||||
|
10
test.sh
10
test.sh
@ -2,5 +2,11 @@ curl -OL https://git.wmi.amu.edu.pl/s434788/ium_434788/raw/branch/master/winequa
|
||||
|
||||
head -n 1 winequality-red.csv > header.csv
|
||||
tail -n +2 winequality-red.csv | shuf > data.shuffled
|
||||
head -n 1000 data.shuffled > train.data.csv
|
||||
cat header.csv train.data.csv > train.csv
|
||||
|
||||
head -n 266 data.shuffled > wine.data.test
|
||||
head -n 532 data.shuffled | tail -n 266 > wine.data.dev
|
||||
tail -n +333 data.shuffled > wine.data.train
|
||||
|
||||
cat header.csv wine.data.test > test.csv
|
||||
cat header.csv wine.data.dev > dev.csv
|
||||
cat header.csv wine.data.train > train.csv
|
Loading…
Reference in New Issue
Block a user