custom_config.py 2.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. from modules.config.attributes_config import *
  2. import os
  3. # store all variables from global config
  4. context_vars = vars()
  5. # folders
  6. output_data_folder = 'data'
  7. output_data_generated = os.path.join(output_data_folder, 'generated')
  8. output_datasets = os.path.join(output_data_folder, 'datasets')
  9. output_zones_learned = os.path.join(output_data_folder, 'learned_zones')
  10. output_models = os.path.join(output_data_folder, 'saved_models')
  11. output_results_folder = os.path.join(output_data_folder, 'results')
  12. ## min_max_custom_folder = 'custom_norm'
  13. ## correlation_indices_folder = 'corr_indices'
  14. data_augmented_filename = 'augmented_dataset.csv'
  15. # variables
  16. features_choices_labels = ['lab', 'mscn', 'low_bits_2', 'low_bits_3', 'low_bits_4', 'low_bits_5', 'low_bits_6','low_bits_4_shifted_2',
  17. 'sub_blocks_stats', 'sub_blocks_area', 'sub_blocks_stats_reduced', 'sub_blocks_area_normed',
  18. 'mscn_var_4', 'mscn_var_16', 'mscn_var_64', 'mscn_var_16_max', 'mscn_var_64_max',
  19. 'ica_diff', 'svd_trunc_diff', 'ipca_diff', 'svd_reconstruct',
  20. 'highest_sv_std_filters', 'lowest_sv_std_filters', 'highest_wave_sv_std_filters', 'lowest_wave_sv_std_filters',
  21. 'highest_sv_std_filters_full', 'lowest_sv_std_filters_full', 'highest_sv_entropy_std_filters', 'lowest_sv_entropy_std_filters',
  22. 'convolutional_kernels_std_normed', 'convolutional_kernels_mean_normed', 'convolutional_kernels_std_max_blocks', 'convolutional_kernels_mean_max_blocks', 'convolutional_kernel_stats_svd',
  23. 'svd_entropy', 'svd_entropy_20', 'svd_entropy_noise_20']
  24. ## models_names_list = ["svm_model","ensemble_model","ensemble_model_v2","deep_keras"]
  25. ## normalization_choices = ['svd', 'svdn', 'svdne']
  26. # parameters
  27. keras_epochs = 30
  28. keras_batch = 32
  29. ## val_dataset_size = 0.2