12 lines
327 B
Bash
12 lines
327 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
kaggle datasets download -d 'pcbreviglieri/smart-grid-stability' >>/dev/null 2>&1
|
||
|
unzip smart-grid-stability.zip >>/dev/null 2>&1
|
||
|
|
||
|
sed 1d smart_grid_stability_augmented.csv | cut -f 1,5,9,13,14 -d "," | shuf | split -l 48000
|
||
|
mv xaa train.csv
|
||
|
mv xab toDivide
|
||
|
split -l 6000 toDivide
|
||
|
mv xaa test.csv
|
||
|
mv xab valid.csv
|