create_data.sh 632 字节
Newer Older
X
fix  
xujiaqi01 已提交
1 2
mkdir train_data
mkdir test_data
Y
yinhaofeng 已提交
3 4
train_path="data/adult.data" 
test_path="data/adult.test" 
X
fix  
xujiaqi01 已提交
5 6 7
train_data_path="./train_data/train_data.csv"
test_data_path="./test_data/test_data.csv"

Y
yinhaofeng 已提交
8
#pip install -r requirements.txt
X
fix  
xujiaqi01 已提交
9 10 11 12 13 14 15 16

wget -P data/ https://archive.ics.uci.edu/ml/machine-learning-databases/adult/adult.data
wget -P data/ https://archive.ics.uci.edu/ml/machine-learning-databases/adult/adult.test

python data_preparation.py --train_path ${train_path} \
                           --test_path ${test_path} \
                           --train_data_path ${train_data_path}\
                           --test_data_path ${test_data_path}