Zad 10. DVC
This commit is contained in:
parent
de2ffb9491
commit
002b3b8d6d
3
.dvc/.gitignore
vendored
Normal file
3
.dvc/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
/config.local
|
||||||
|
/tmp
|
||||||
|
/cache
|
6
.dvc/config
Normal file
6
.dvc/config
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[core]
|
||||||
|
remote = my_local_remote
|
||||||
|
['remote "ium_ssh_remote"']
|
||||||
|
url = ssh://ium-sftp@tzietkiewicz.vm.wmi.amu.edu.pl
|
||||||
|
['remote "my_local_remote"']
|
||||||
|
url = ..
|
3
.dvcignore
Normal file
3
.dvcignore
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Add patterns of files dvc should ignore, which could improve
|
||||||
|
# the performance. Learn more at
|
||||||
|
# https://dvc.org/doc/user-guide/dvcignore
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/Steel_industry_data.csv
|
4
Steel_industry_data.csv.dvc
Normal file
4
Steel_industry_data.csv.dvc
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
outs:
|
||||||
|
- md5: dc217c9856d659f8cf61d3156397e535
|
||||||
|
size: 2731389
|
||||||
|
path: Steel_industry_data.csv
|
@ -1,6 +1,3 @@
|
|||||||
kaggle datasets download -d csafrit2/steel-industry-energy-consumption --force
|
|
||||||
unzip -o steel-industry-energy-consumption.zip
|
|
||||||
|
|
||||||
head -n $CUTOFF Steel_industry_data.csv | tail -n +2 | cut -d, -f8 --complement | shuf > steel_industry_data_shuffled.csv
|
head -n $CUTOFF Steel_industry_data.csv | tail -n +2 | cut -d, -f8 --complement | shuf > steel_industry_data_shuffled.csv
|
||||||
number_of_lines=$(wc -l steel_industry_data_shuffled.csv | awk '{print $1}')
|
number_of_lines=$(wc -l steel_industry_data_shuffled.csv | awk '{print $1}')
|
||||||
test_len=$((number_of_lines/10))
|
test_len=$((number_of_lines/10))
|
||||||
|
Loading…
Reference in New Issue
Block a user