changed Jenkinsfile
This commit is contained in:
parent
4dd447ecec
commit
dbda9cf658
@ -19,8 +19,8 @@ num_train=$((total_lines - (num_test * 2)))
|
|||||||
num_validation=$num_test
|
num_validation=$num_test
|
||||||
|
|
||||||
head -n $num_train cutoff_spotify.csv > train.csv
|
head -n $num_train cutoff_spotify.csv > train.csv
|
||||||
tail -n $num_test cutoff_spotify.csv | head -n $num_validation > validation.csv
|
tail -n $((num_test+num_validation)) cutoff_spotify.csv | head -n $num_test > test.csv
|
||||||
tail -n $num_test cutoff_spotify.csv | tail -n +$(($num_validation + 1)) > test.csv
|
tail -n $num_validation cutoff_spotify.csv > validation.csv
|
||||||
|
|
||||||
mkdir -p artifacts
|
mkdir -p artifacts
|
||||||
mv Spotify_Dataset.csv cutoff_spotify.csv train.csv validation.csv test.csv artifacts/
|
mv Spotify_Dataset.csv cutoff_spotify.csv train.csv validation.csv test.csv artifacts/
|
||||||
|
Loading…
Reference in New Issue
Block a user