添加机器学习,调用尚未完善.
This commit is contained in:
103
src-tauri/assets/models/model_metadata.json
Normal file
103
src-tauri/assets/models/model_metadata.json
Normal file
@@ -0,0 +1,103 @@
|
||||
{
|
||||
"model_scope": "1d time-series tactile force compensation",
|
||||
"channel_count": 84,
|
||||
"feature_names": [
|
||||
"sensor_sum",
|
||||
"sensor_mean",
|
||||
"sensor_max",
|
||||
"sensor_min",
|
||||
"sensor_range",
|
||||
"sensor_std",
|
||||
"top5_sum",
|
||||
"baseline_sum",
|
||||
"delta_from_baseline",
|
||||
"naive_force_n",
|
||||
"slope_1",
|
||||
"slope_5",
|
||||
"slope_20",
|
||||
"slope_100",
|
||||
"mean_5",
|
||||
"mean_20",
|
||||
"mean_100",
|
||||
"mean_300",
|
||||
"short_minus_mid",
|
||||
"mid_minus_long",
|
||||
"age_above_touch"
|
||||
],
|
||||
"feature_engineering": {
|
||||
"current_row_stats": [
|
||||
"sensor_sum",
|
||||
"sensor_mean",
|
||||
"sensor_max",
|
||||
"sensor_min",
|
||||
"sensor_range",
|
||||
"sensor_std",
|
||||
"top5_sum"
|
||||
],
|
||||
"rolling_mean_windows": [
|
||||
5,
|
||||
20,
|
||||
100,
|
||||
300
|
||||
],
|
||||
"slope_windows": [
|
||||
1,
|
||||
5,
|
||||
20,
|
||||
100
|
||||
],
|
||||
"topk_channels": 5,
|
||||
"baseline_feature": "baseline_sum",
|
||||
"age_above_touch_feature": "age_above_touch",
|
||||
"naive_force_feature": "naive_force_n"
|
||||
},
|
||||
"inference_pipeline": [
|
||||
"build 21 numeric features in the order listed by feature_names",
|
||||
"run classifier.onnx or classifier.cbm",
|
||||
"if predicted_state == 0 then output 0.0 N",
|
||||
"otherwise run regressor.onnx or regressor.cbm and clamp to >= 0.0 N"
|
||||
],
|
||||
"calibration_points": [
|
||||
{
|
||||
"sensor_sum": 74602.73399170733,
|
||||
"force_n": 0.9800000000000001
|
||||
},
|
||||
{
|
||||
"sensor_sum": 105503.9038227644,
|
||||
"force_n": 1.9600000000000002
|
||||
},
|
||||
{
|
||||
"sensor_sum": 131459.57643184246,
|
||||
"force_n": 2.94
|
||||
},
|
||||
{
|
||||
"sensor_sum": 153512.34776297462,
|
||||
"force_n": 3.9200000000000004
|
||||
},
|
||||
{
|
||||
"sensor_sum": 172041.11212077862,
|
||||
"force_n": 4.9
|
||||
},
|
||||
{
|
||||
"sensor_sum": 193794.83789260528,
|
||||
"force_n": 5.88
|
||||
},
|
||||
{
|
||||
"sensor_sum": 218947.72467683573,
|
||||
"force_n": 7.840000000000001
|
||||
},
|
||||
{
|
||||
"sensor_sum": 240580.4449421614,
|
||||
"force_n": 9.8
|
||||
}
|
||||
],
|
||||
"training_args": {
|
||||
"positive_step": 80,
|
||||
"zero_step": 40,
|
||||
"classifier_iterations": 500,
|
||||
"regressor_iterations": 700,
|
||||
"depth": 6,
|
||||
"learning_rate": 0.05,
|
||||
"random_seed": 42
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user