#!/usr/bin/env bash

# run the models multiple times to check for the reproducibility
for i in {1..1}

do
    echo Iteration $i of cif2016_O12
    ###### LSTM Cell
    #### with windowing

#    stacking_moving_window_smac_cocob
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.tfrecords --txt_test_file datasets/text_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --input_size 15 --forecast_horizon 12 --optimizer cocob --hyperparameter_tuning smac --model_type stacking --input_format moving_window --with_accumulated_error 1 --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &

    #stacking_moving_window_smac_adagrad
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.tfrecords --txt_test_file datasets/text_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --input_size 15 --forecast_horizon 12 --optimizer adagrad --hyperparameter_tuning smac --model_type stacking --input_format moving_window --with_accumulated_error 1 --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &

    #stacking_moving_window_smac_adam
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adam --binary_train_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.tfrecords --txt_test_file datasets/text_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --input_size 15 --forecast_horizon 12 --optimizer adam --hyperparameter_tuning smac --model_type stacking --input_format moving_window --with_accumulated_error 1 --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &
    ##########################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################

    #seq2seqwithdenselayer_moving_window_smac_cocob
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.tfrecords --txt_test_file datasets/text_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --input_size 15 --forecast_horizon 12 --optimizer cocob --hyperparameter_tuning smac --model_type seq2seqwithdenselayer --input_format moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &

    #seq2seqwithdenselayer_moving_window_smac_adagrad
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.tfrecords --txt_test_file datasets/text_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --input_size 15 --forecast_horizon 12 --optimizer adagrad --hyperparameter_tuning smac --model_type seq2seqwithdenselayer --input_format moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &

    #seq2seqwithdenselayer_moving_window_smac_adam
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adam --binary_train_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.tfrecords --txt_test_file datasets/text_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --input_size 15 --forecast_horizon 12 --optimizer adam --hyperparameter_tuning smac --model_type seq2seqwithdenselayer --input_format moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &
#    ##########################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################

    #### without windowing

#    #attention_non_moving_window_smac_cocob
#    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --forecast_horizon 12 --optimizer cocob --hyperparameter_tuning smac --model_type attention --input_format non_moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &
#
#    #attention_non_moving_window_smac_adagrad
#    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --forecast_horizon 12 --optimizer adagrad --hyperparameter_tuning smac --model_type attention --input_format non_moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &
#
#    #attention_non_moving_window_smac_adam
#    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adam --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --forecast_horizon 12 --optimizer adam --hyperparameter_tuning smac --model_type attention --input_format non_moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &
#
#    ##########################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
#    ###without stl decomposition
##    attention_non_moving_window_smac_cocob
#    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --forecast_horizon 12 --optimizer cocob --hyperparameter_tuning smac --model_type attention --input_format non_moving_window --without_stl_decomposition 1 --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &
#
#    #attention_non_moving_window_smac_adagrad
#    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --forecast_horizon 12 --optimizer adagrad --hyperparameter_tuning smac --model_type attention --input_format non_moving_window --without_stl_decomposition 1 --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &
#
#    #attention_non_moving_window_smac_adam
#    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adam --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --forecast_horizon 12 --optimizer adam --hyperparameter_tuning smac --model_type attention --input_format non_moving_window --without_stl_decomposition 1 --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &
    ##
    ##########################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################

    #seq2seq_non_moving_window_smac_cocob
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --forecast_horizon 12 --optimizer cocob --hyperparameter_tuning smac --model_type seq2seq --input_format non_moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &

    #seq2seq_non_moving_window_smac_adagrad
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --forecast_horizon 12 --optimizer adagrad --hyperparameter_tuning smac --model_type seq2seq --input_format non_moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &

    #seq2seq_non_moving_window_smac_adam
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adam --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --forecast_horizon 12 --optimizer adam --hyperparameter_tuning smac --model_type seq2seq --input_format non_moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &

    ##########################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################

    #seq2seqwithdenselayer_non_moving_window_smac_cocob
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --forecast_horizon 12 --optimizer cocob --hyperparameter_tuning smac --model_type seq2seqwithdenselayer --input_format non_moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &

    #seq2seqwithdenselayer_non_moving_window_smac_adagrad
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --forecast_horizon 12 --optimizer adagrad --hyperparameter_tuning smac --model_type seq2seqwithdenselayer --input_format non_moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &

    #seq2seqwithdenselayer_non_moving_window_smac_adam
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adam --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --forecast_horizon 12 --optimizer adam --hyperparameter_tuning smac --model_type seq2seqwithdenselayer --input_format non_moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &

    ##########################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
    ##########################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
    wait
######### GRU Cell
    #stacking_moving_window_smac_cocob
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.tfrecords --txt_test_file datasets/text_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type GRU --input_size 15 --forecast_horizon 12 --optimizer cocob --hyperparameter_tuning smac --model_type stacking --input_format moving_window --with_accumulated_error 1 --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &

    #stacking_moving_window_smac_adagrad
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.tfrecords --txt_test_file datasets/text_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type GRU --input_size 15 --forecast_horizon 12 --optimizer adagrad --hyperparameter_tuning smac --model_type stacking --input_format moving_window --with_accumulated_error 1 --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &

    #stacking_moving_window_smac_adam
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adam --binary_train_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.tfrecords --txt_test_file datasets/text_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type GRU --input_size 15 --forecast_horizon 12 --optimizer adam --hyperparameter_tuning smac --model_type stacking --input_format moving_window --with_accumulated_error 1 --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &
    ##########################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################

    #seq2seqwithdenselayer_moving_window_smac_cocob
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.tfrecords --txt_test_file datasets/text_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type GRU --input_size 15 --forecast_horizon 12 --optimizer cocob --hyperparameter_tuning smac --model_type seq2seqwithdenselayer --input_format moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &

    #seq2seqwithdenselayer_moving_window_smac_adagrad
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.tfrecords --txt_test_file datasets/text_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type GRU --input_size 15 --forecast_horizon 12 --optimizer adagrad --hyperparameter_tuning smac --model_type seq2seqwithdenselayer --input_format moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &

    #seq2seqwithdenselayer_moving_window_smac_adam
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adam --binary_train_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.tfrecords --txt_test_file datasets/text_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type GRU --input_size 15 --forecast_horizon 12 --optimizer adam --hyperparameter_tuning smac --model_type seq2seqwithdenselayer --input_format moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &
#    ##########################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
#
#    #### without windowing
#
#    #attention_non_moving_window_smac_cocob
#    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type GRU --forecast_horizon 12 --optimizer cocob --hyperparameter_tuning smac --model_type attention --input_format non_moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &
#
#    #attention_non_moving_window_smac_adagrad
#    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type GRU --forecast_horizon 12 --optimizer adagrad --hyperparameter_tuning smac --model_type attention --input_format non_moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &
#
#    #attention_non_moving_window_smac_adam
#    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adam --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type GRU --forecast_horizon 12 --optimizer adam --hyperparameter_tuning smac --model_type attention --input_format non_moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &
#
#    ##########################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
#    ###without stl decomposition
##    attention_non_moving_window_smac_cocob
#    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type GRU --forecast_horizon 12 --optimizer cocob --hyperparameter_tuning smac --model_type attention --input_format non_moving_window --without_stl_decomposition 1 --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &
#
#    #attention_non_moving_window_smac_adagrad
#    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type GRU --forecast_horizon 12 --optimizer adagrad --hyperparameter_tuning smac --model_type attention --input_format non_moving_window --without_stl_decomposition 1 --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &
#
#    #attention_non_moving_window_smac_adam
#    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adam --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type GRU --forecast_horizon 12 --optimizer adam --hyperparameter_tuning smac --model_type attention --input_format non_moving_window --without_stl_decomposition 1 --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &
#    ##
#    ##########################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
#
    #seq2seq_non_moving_window_smac_cocob
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type GRU --forecast_horizon 12 --optimizer cocob --hyperparameter_tuning smac --model_type seq2seq --input_format non_moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &

    #seq2seq_non_moving_window_smac_adagrad
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type GRU --forecast_horizon 12 --optimizer adagrad --hyperparameter_tuning smac --model_type seq2seq --input_format non_moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &

    #seq2seq_non_moving_window_smac_adam
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adam --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type GRU --forecast_horizon 12 --optimizer adam --hyperparameter_tuning smac --model_type seq2seq --input_format non_moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &

    ##########################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################

    #seq2seqwithdenselayer_non_moving_window_smac_cocob
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type GRU --forecast_horizon 12 --optimizer cocob --hyperparameter_tuning smac --model_type seq2seqwithdenselayer --input_format non_moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &

    #seq2seqwithdenselayer_non_moving_window_smac_adagrad
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type GRU --forecast_horizon 12 --optimizer adagrad --hyperparameter_tuning smac --model_type seq2seqwithdenselayer --input_format non_moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &

    #seq2seqwithdenselayer_non_moving_window_smac_adam
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adam --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type GRU --forecast_horizon 12 --optimizer adam --hyperparameter_tuning smac --model_type seq2seqwithdenselayer --input_format non_moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &
wait
#    ##########################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
#    ##########################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
#    wait
######### RNN Cell
    #stacking_moving_window_smac_cocob
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.tfrecords --txt_test_file datasets/text_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type RNN --input_size 15 --forecast_horizon 12 --optimizer cocob --hyperparameter_tuning smac --model_type stacking --input_format moving_window --with_accumulated_error 1 --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &

    #stacking_moving_window_smac_adagrad
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.tfrecords --txt_test_file datasets/text_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type RNN --input_size 15 --forecast_horizon 12 --optimizer adagrad --hyperparameter_tuning smac --model_type stacking --input_format moving_window --with_accumulated_error 1 --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &

    #stacking_moving_window_smac_adam
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adam --binary_train_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.tfrecords --txt_test_file datasets/text_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type RNN --input_size 15 --forecast_horizon 12 --optimizer adam --hyperparameter_tuning smac --model_type stacking --input_format moving_window --with_accumulated_error 1 --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &
    ##########################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################

    #seq2seqwithdenselayer_moving_window_smac_cocob
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.tfrecords --txt_test_file datasets/text_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type RNN --input_size 15 --forecast_horizon 12 --optimizer cocob --hyperparameter_tuning smac --model_type seq2seqwithdenselayer --input_format moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &

    #seq2seqwithdenselayer_moving_window_smac_adagrad
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.tfrecords --txt_test_file datasets/text_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type RNN --input_size 15 --forecast_horizon 12 --optimizer adagrad --hyperparameter_tuning smac --model_type seq2seqwithdenselayer --input_format moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &

    #seq2seqwithdenselayer_moving_window_smac_adam
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adam --binary_train_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif_12i15v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.tfrecords --txt_test_file datasets/text_data/CIF_2016/moving_window/without_stl_decomposition/cif12test.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type RNN --input_size 15 --forecast_horizon 12 --optimizer adam --hyperparameter_tuning smac --model_type seq2seqwithdenselayer --input_format moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &
    ##########################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################

    #### without windowing

#    #attention_non_moving_window_smac_cocob
#    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type RNN --forecast_horizon 12 --optimizer cocob --hyperparameter_tuning smac --model_type attention --input_format non_moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &
#
#    #attention_non_moving_window_smac_adagrad
#    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type RNN --forecast_horizon 12 --optimizer adagrad --hyperparameter_tuning smac --model_type attention --input_format non_moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &
#
#    #attention_non_moving_window_smac_adam
#    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adam --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type RNN --forecast_horizon 12 --optimizer adam --hyperparameter_tuning smac --model_type attention --input_format non_moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &

#    ##########################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
#    ###without stl decomposition
##    attention_non_moving_window_smac_cocob
#    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type RNN --forecast_horizon 12 --optimizer cocob --hyperparameter_tuning smac --model_type attention --input_format non_moving_window --without_stl_decomposition 1 --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &
#
#    #attention_non_moving_window_smac_adagrad
#    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type RNN --forecast_horizon 12 --optimizer adagrad --hyperparameter_tuning smac --model_type attention --input_format non_moving_window --without_stl_decomposition 1 --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &
#
#    #attention_non_moving_window_smac_adam
#    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adam --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type RNN --forecast_horizon 12 --optimizer adam --hyperparameter_tuning smac --model_type attention --input_format non_moving_window --without_stl_decomposition 1 --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &
#    ##
#    ##########################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
#
    #seq2seq_non_moving_window_smac_cocob
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type RNN --forecast_horizon 12 --optimizer cocob --hyperparameter_tuning smac --model_type seq2seq --input_format non_moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &

    #seq2seq_non_moving_window_smac_adagrad
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type RNN --forecast_horizon 12 --optimizer adagrad --hyperparameter_tuning smac --model_type seq2seq --input_format non_moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &

    #seq2seq_non_moving_window_smac_adam
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adam --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type RNN --forecast_horizon 12 --optimizer adam --hyperparameter_tuning smac --model_type seq2seq --input_format non_moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &

    ##########################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################

    #seq2seqwithdenselayer_non_moving_window_smac_cocob
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type RNN --forecast_horizon 12 --optimizer cocob --hyperparameter_tuning smac --model_type seq2seqwithdenselayer --input_format non_moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &

    #seq2seqwithdenselayer_non_moving_window_smac_adagrad
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adagrad --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type RNN --forecast_horizon 12 --optimizer adagrad --hyperparameter_tuning smac --model_type seq2seqwithdenselayer --input_format non_moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &

    #seq2seqwithdenselayer_non_moving_window_smac_adam
    python ./generic_model_trainer.py --dataset_name cif2016_O12_without_stl --contain_zero_values 0 --initial_hyperparameter_values_file configs/initial_hyperparameter_values/cif2016_o12_adam --binary_train_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12.tfrecords --binary_valid_file_train_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_train_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_12v.tfrecords --binary_test_file_test_mode datasets/binary_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.tfrecords --txt_test_file datasets/text_data/CIF_2016/non_moving_window/without_stl_decomposition/cif_test_12.txt --actual_results_file datasets/text_data/CIF_2016/cif_results_o12.txt --cell_type RNN --forecast_horizon 12 --optimizer adam --hyperparameter_tuning smac --model_type seq2seqwithdenselayer --input_format non_moving_window --seasonality_period 12 --original_data_file datasets/text_data/CIF_2016/cif-dataset-o12.txt --without_stl_decomposition 1 --seed $i &

wait
done
echo All Iterations Completed!
