custom_config.py 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. output_logs_folder = os.path.join(output_data_folder, 'logs')
  13. output_backup_folder = os.path.join(output_data_folder, 'backups')
  14. output_surrogates_folder = os.path.join(output_data_folder, 'surrogate')
  15. output_surrogates_model_folder = os.path.join(output_surrogates_folder, 'models')
  16. output_surrogates_data_folder = os.path.join(output_surrogates_folder, 'data')
  17. results_information_folder = os.path.join(output_data_folder, 'results')
  18. ## min_max_custom_folder = 'custom_norm'
  19. ## correlation_indices_folder = 'corr_indices'
  20. # variables
  21. features_choices_labels = features_choices_labels + ['filters_statistics', 'statistics_extended']
  22. optimization_filters_result_filename = 'optimization_comparisons_filters.csv'
  23. optimization_attributes_result_filename = 'optimization_comparisons_attributes.csv'
  24. filter_reduction_choices = ['attributes', 'filters']
  25. # models_names_list = ["svm_model","ensemble_model","ensemble_model_v2","deep_keras", "svm_gpu"]
  26. models_names_list = ["svm_model","ensemble_model","ensemble_model_v2"]
  27. ## models_names_list = ["svm_model","ensemble_model","ensemble_model_v2","deep_keras"]
  28. ## normalization_choices = ['svd', 'svdn', 'svdne']
  29. # parameters
  30. ## keras_epochs = 500
  31. ## keras_batch = 32
  32. ## val_dataset_size = 0.2