-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtablon_amazon.sh
executable file
·67 lines (49 loc) · 1.36 KB
/
tablon_amazon.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#!/usr/bin/env bash
clear
echo "1/8"
echo -e "\e[37;1m\e[5mGenerando DFs con vars categoricas y numericas\e[0m"
python3 ETL/Extract/numerical_categoric_dataset.py
echo "-------------------"
clear
echo "2/8"
echo -e "\e[37;1m\e[5mPreprocesamos variables categoricas\e[0m"
python3 ETL/Preprocessing/categorical.py
echo "-------------------"
# rm -rf data/df_cat/
clear
echo "3/8"
echo -e "\e[37;1m\e[5mProcesamos variables categoricas\e[0m"
python3 ETL/Transform/categorical/global.py
echo "-------------------"
# rm -rf data/df_cat_prepro_0/
clear
echo "4/8"
echo -e "\e[37;1m\e[5mImputamos valores numericos\e[0m"
python3 ETL/Transform/numeric/impute_numerical.py
echo "-------------------"
# rm -rf data/df_num/
clear
echo "5/8"
echo -e "\e[92m\e[5mCreamos variables KMeans\e[0m"
python3 ETL/Transform/numeric/kmeans.py
echo ""
echo "-------------------"
clear
echo "6/8"
echo -e "\e[37;1m\e[5mProcesamos variables de fechas\e[0m"
python3 ETL/Transform/dates/dates.py
echo ""
clear
echo "7/8"
echo -e "\e[37;1m\e[5mProcesamos variables de av_sig_version\e[0m"
python3 ETL/Transform/avsigver_extra_info/avsigversion_extra.py
echo ""
clear
echo "7/8"
echo -e "\e[37;1m\e[5mGeneramos TRAIN / TEST de las variables nuevas\e[0m"
python3 ETL/Load/train_test_new_variables.py
echo "-------------------"
rm -rf data/df_cat_pro_0/
rm -rf data/df_num_imputed_0/
clear
echo "Finished"