config.yaml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # longting/config.yaml
  2. project:
  3. plant_name: "longting"
  4. files:
  5. threshold_filename: "sensor_threshold.xlsx"
  6. abnormal_link_filename: "abnormal_link.xlsx"
  7. model_filename: "ppo_tracing_model.pth"
  8. test_result_filename: "Final_Test_Report.xlsx"
  9. sensor_file_prefix: "data_process_"
  10. data_processing:
  11. sensor_file_num_range: [1, 11]
  12. original_sample_interval: 4
  13. target_sample_interval: 20
  14. window_duration_min: 40
  15. valid_data_ratio: 0.6
  16. window_anomaly_threshold: 0.2
  17. train_test_split: 0.8
  18. trigger_score_thresh: 0.5
  19. absolute_score_weight: 0.6
  20. dynamic_score_weight: 0.4
  21. mad_history_window: 360
  22. mad_threshold: 3.0
  23. sensors:
  24. keyword_layer: "One_layer"
  25. keyword_device: "Device"
  26. trigger_sensors:
  27. - "UF1Per"
  28. - "UF2Per"
  29. - "ns=3;s=RO1_1D_YC"
  30. - "ns=3;s=RO2_1D_YC"
  31. - "ns=3;s=RO1_2D_YC"
  32. - "ns=3;s=RO2_2D_YC"
  33. - "ns=3;s=PUBLIC_BY_REAL_1"
  34. - "ns=3;s=PUBLIC_BY_REAL_2"
  35. - "ns=3;s=1#RO_SDCSFLOW_O"
  36. - "ns=3;s=2#RO_SDCSFLOW_O"
  37. - "ROHSL"
  38. - "RO1_TYL"
  39. - "RO2_TYL"
  40. rl_params:
  41. min_path_length: 3
  42. max_path_length: 6
  43. embedding_dim: 64
  44. hidden_dim: 256
  45. ppo_lr: 0.0003
  46. ppo_gamma: 0.90
  47. ppo_eps_clip: 0.2
  48. ppo_k_epochs: 10
  49. ppo_batch_size: 64
  50. bc_epochs: 20000
  51. rl_episodes: 20000