custom_config.py 1.8 KB

1234567891011121314151617181920212223242526272829
  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', 'sub_blocks_stats', 'sub_blocks_area', 'sub_blocks_stats_reduced', 'sub_blocks_area_normed', 'mscn_var_4', 'mscn_var_16', 'mscn_var_64', 'mscn_var_16_max', 'mscn_var_64_max', 'ica_diff', 'svd_trunc_diff', 'ipca_diff', 'svd_reconstruct', 'highest_sv_std_filters', 'lowest_sv_std_filters', 'highest_wave_sv_std_filters', 'lowest_wave_sv_std_filters', 'highest_sv_std_filters_full', 'lowest_sv_std_filters_full', 'highest_sv_entropy_std_filters', 'lowest_sv_entropy_std_filters', 'convolutional_kernels_std_normed', 'convolutional_kernels_mean_normed', 'convolutional_kernels_std_max_blocks', 'convolutional_kernels_mean_max_blocks', 'convolutional_kernel_stats_svd']
  17. ## models_names_list = ["svm_model","ensemble_model","ensemble_model_v2","deep_keras"]
  18. ## normalization_choices = ['svd', 'svdn', 'svdne']
  19. # parameters
  20. ## keras_epochs = 500
  21. ## keras_batch = 32
  22. ## val_dataset_size = 0.2