stats on new set
This commit is contained in:
parent
8a3280a07b
commit
347d01adf9
@ -1,5 +0,0 @@
|
|||||||
wget https://git.wmi.amu.edu.pl/s434700/ium_s434700/raw/branch/master/netflix_titles.csv
|
|
||||||
|
|
||||||
|
|
||||||
head -n 256 netflix_titles.csv > top.csv
|
|
||||||
|
|
7790
netflix_titles.csv
7790
netflix_titles.csv
File diff suppressed because it is too large
Load Diff
2
stats.sh
2
stats.sh
@ -1,2 +0,0 @@
|
|||||||
wc -l test/netflix_titles.csv > stat.txt
|
|
||||||
wc -l test/top.csv >> stat.txt
|
|
6
stats/Jenkinsfile
vendored
6
stats/Jenkinsfile
vendored
@ -9,7 +9,7 @@ pipeline {
|
|||||||
step ([$class: 'CopyArtifact',
|
step ([$class: 'CopyArtifact',
|
||||||
projectName: 's434700-create-dataset',
|
projectName: 's434700-create-dataset',
|
||||||
filter: '*.csv',
|
filter: '*.csv',
|
||||||
target: 'test'])
|
target: 'datasets'])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -20,8 +20,8 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('sh: Shell Script') {
|
stage('sh: Shell Script') {
|
||||||
steps {
|
steps {
|
||||||
sh 'chmod +x stats.sh'
|
sh 'chmod +x ./stats/stats.sh'
|
||||||
sh './stats.sh'
|
sh './stats/stats.sh'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('archiveArtifacts') {
|
stage('archiveArtifacts') {
|
||||||
|
3
stats/stats.sh
Normal file
3
stats/stats.sh
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
wc -l datasets/train_set.csv > train_set_stats.txt
|
||||||
|
wc -l datasets/dev_set.csv >> dev_set_stats.txt
|
||||||
|
wc -l datasets/test_set.csv >> test_set_stats.txt
|
Loading…
Reference in New Issue
Block a user