Update parm_dict.json
Browse files- parm_dict.json +115 -0
parm_dict.json
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"feature_file_name": "multi_features_data_simu5.pkl",
|
| 3 |
+
"dsp": "model config file (Example)",
|
| 4 |
+
"datasource": [
|
| 5 |
+
{
|
| 6 |
+
"type": "vibration",
|
| 7 |
+
"field": "esp32_vib.z_acc",
|
| 8 |
+
"sample_rate": 1000
|
| 9 |
+
},
|
| 10 |
+
{
|
| 11 |
+
"type": "power",
|
| 12 |
+
"field": "esp32_power.ch0",
|
| 13 |
+
"sample_rate": 200
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"type": "sound",
|
| 17 |
+
"field": "sound.data",
|
| 18 |
+
"sample_rate": 16000
|
| 19 |
+
}
|
| 20 |
+
],
|
| 21 |
+
"FeatureDummyPoweroff": {
|
| 22 |
+
"Is_enable": true,
|
| 23 |
+
"_Is_enable_dsp": "true: append synthetic power-off feature rows during Feature(wav) and Feature(Direct). false: keep only real data.",
|
| 24 |
+
"power_threshold_mv": 20,
|
| 25 |
+
"_power_threshold_mv_dsp": "Dummy power RMS values are uniform random between 0 and this raw mV threshold.",
|
| 26 |
+
"ratio": 0.1,
|
| 27 |
+
"_ratio_dsp": "Dummy rows relative to real feature windows. 0.1 adds 10%.",
|
| 28 |
+
"label": 0,
|
| 29 |
+
"_label_dsp": "Label value appended only when the feature run already has labels.",
|
| 30 |
+
"random_seed": 42,
|
| 31 |
+
"_random_seed_dsp": "Seed for repeatable dummy data. Use null for non-repeatable random values."
|
| 32 |
+
},
|
| 33 |
+
"Is_train_autoencoder": false,
|
| 34 |
+
"autoencoder_structure": 4,
|
| 35 |
+
"L1": {
|
| 36 |
+
"Is_enable": true,
|
| 37 |
+
"_Is_enable_dsp": "true: train/use L1 for poweroff/standby/running gate. false: skip L1 and let L2 classify all machine states directly.",
|
| 38 |
+
"noise_threshold": 0.01,
|
| 39 |
+
"_noise_threshold_dsp": "0603 the number less of cluster than the threshold, consider to be noise",
|
| 40 |
+
"choose_model_power": "Mix",
|
| 41 |
+
"_choose_model_power_dsp": "options: Mix, DBSCAN",
|
| 42 |
+
"choose_model_vib": "Hierarchical",
|
| 43 |
+
"_choose_model_vib_dsp": "options, Hierarchical, DBSCAN",
|
| 44 |
+
"choose_model_pressure": "Hierarchical",
|
| 45 |
+
"_choose_model_pressure_dsp": "options, Hierarchical, DBSCAN. Pressure is optional and trains only when pressure_features exists.",
|
| 46 |
+
"DBSCAN_power_params": [
|
| 47 |
+
1.2,
|
| 48 |
+
50,
|
| 49 |
+
0.9
|
| 50 |
+
],
|
| 51 |
+
"DBSCAN_params_dsp": "p1= eps, p2= min count in cluster, p3= standby threshold",
|
| 52 |
+
"Hierarchical_power_params": [
|
| 53 |
+
0.2,
|
| 54 |
+
1,
|
| 55 |
+
2,
|
| 56 |
+
0.2
|
| 57 |
+
],
|
| 58 |
+
"_param1_dsp": "param 1 is factor ,the stable indicattor (less than value)(difference from the reverse previous 2 level)",
|
| 59 |
+
"_param2_dsp": "param 2 is min number of cluster",
|
| 60 |
+
"_param3_dsp": "param 3 is max number of cluster",
|
| 61 |
+
"_param4_dsp": "param 4 is standby threshold (percentage)",
|
| 62 |
+
"Is_save_model": true,
|
| 63 |
+
"Hierarchical_vib_params": [
|
| 64 |
+
0.2,
|
| 65 |
+
4,
|
| 66 |
+
10,
|
| 67 |
+
0.5
|
| 68 |
+
],
|
| 69 |
+
"_Hierarchical_vib_params_dsp": "For vibration, the format is same",
|
| 70 |
+
"Hierarchical_pressure_params": [
|
| 71 |
+
0.2,
|
| 72 |
+
4,
|
| 73 |
+
10,
|
| 74 |
+
0.5
|
| 75 |
+
],
|
| 76 |
+
"_Hierarchical_pressure_params_dsp": "For PU5401 pressure L1 clustering. Same format as vibration.",
|
| 77 |
+
"pressure_l1_feature": "max",
|
| 78 |
+
"_pressure_l1_feature_dsp": "Pressure feature used by L1/noise logic. Options: max, min, average, peak_to_peak.",
|
| 79 |
+
"L1_models_name": "L1_models.pkl"
|
| 80 |
+
},
|
| 81 |
+
"L2": {
|
| 82 |
+
"strategy": "consensus",
|
| 83 |
+
"_strategy_dsp": "options: consensus, feature_fusion, meta_clustering, multi_view_cluster",
|
| 84 |
+
"Is_save_model": true,
|
| 85 |
+
"consensus_model": "GMM",
|
| 86 |
+
"_consensus_model_dsp": "model using on each type of sensor clusting: KMeans, GMM",
|
| 87 |
+
"result_type": "prob",
|
| 88 |
+
"_result_type_dsp": "The input the consensus matrix is each submodel result: prob (probability), one-hot",
|
| 89 |
+
"feature_fusion_pca_factor": 0.95,
|
| 90 |
+
"_feature_fusion_pca_factor_dsp": "how much the PCA catch of the variance for feature_fusion, meta_clustering, multi_view_cluster",
|
| 91 |
+
"feature_fusion_model": "GMM",
|
| 92 |
+
"meta_clustering_model": "GMM",
|
| 93 |
+
"number_class": 0,
|
| 94 |
+
"_number_class_dsp": "The spicify cluster number of each type of sensor. 0 mean search optimal number base on certain score",
|
| 95 |
+
"min_class": 3,
|
| 96 |
+
"_min_class_dsp": "minimum cluster number for search optimal option",
|
| 97 |
+
"max_class": 7,
|
| 98 |
+
"_max_class_dsp": "maximum cluster number (not include) for search optimal option",
|
| 99 |
+
"stable_indicator": 0.3,
|
| 100 |
+
"_stable_indicator_dsp": "when change less than the value, consider it's stable",
|
| 101 |
+
"covariance_type": "diag",
|
| 102 |
+
"_covariance_type_dsp": "GMM parameter, effect on model size",
|
| 103 |
+
"gmm_reg_covar": 1e-06,
|
| 104 |
+
"_gmm_reg_covar_dsp": "Small covariance regularization for GMM. Increase if a nearly constant sensor causes ill-defined covariance.",
|
| 105 |
+
"consensus_max_matrix_samples": 10000,
|
| 106 |
+
"_consensus_max_matrix_samples_dsp": "Maximum sample count for the full L2 consensus N x N matrix. Larger runs use direct probability clustering.",
|
| 107 |
+
"label_sort_preference": [
|
| 108 |
+
"vibration",
|
| 109 |
+
"pressure",
|
| 110 |
+
"power",
|
| 111 |
+
"sound"
|
| 112 |
+
],
|
| 113 |
+
"_label_sort_preference_dsp": "Preferred active sensor order for sorting L2 labels from lower to higher activity."
|
| 114 |
+
}
|
| 115 |
+
}
|