[
{
"point_id": 1,
"component_id": "x",
"forecast_results": [
{
"type": "sm",
"correlation_coefficient": 0.976,
"data": [
[ "2024-11-08 00:00:00", 0.985 ],
[ "2024-11-09 00:00:00", 0.983 ]
]
},
{
"type": "lstm",
"correlation_coefficient": 0.95,
"data": [
[ "2024-11-08 00:00:00", 0.975 ],
[ "2024-11-09 00:00:00", 0.993 ]
]
},
{
"type": "rnn",
"correlation_coefficient": 0.95,
"data": [
[ "2024-11-08 00:00:00", 0.925 ],
[ "2024-11-09 00:00:00", 0.943 ]
]
},
{
"type": "bp",
"correlation_coefficient": 0.95,
"data": [
[ "2024-11-08 00:00:00", 0.965 ],
[ "2024-11-09 00:00:00", 0.973 ]
]
}
]
},
{
"point_id": 2,
"component_id": "y",
"forecast_results": [
{
"type": "sm",
"correlation_coefficient": 0.976,
"data": [
[ "2024-11-08 00:00:00", 0.985 ],
[ "2024-11-09 00:00:00", 0.983 ]
]
},
{
"type": "lstm",
"correlation_coefficient": 0.95,
"data": [
[ "2024-11-08 00:00:00", 0.975 ],
[ "2024-11-09 00:00:00", 0.993 ]
]
},
{
"type": "rnn",
"correlation_coefficient": 0.95,
"data": [
[ "2024-11-08 00:00:00", 0.925 ],
[ "2024-11-09 00:00:00", 0.943 ]
]
},
{
"type": "bp",
"correlation_coefficient": 0.95,
"data": [
[ "2024-11-08 00:00:00", 0.965 ],
[ "2024-11-09 00:00:00", 0.973 ]
]
}
]
}
]curl --location --request POST 'http://192.168.11.46:13000/v1/engineering_safety_prediction_warning/single_point_ensemble_prediction' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"point_id": 1,
"component_id": "x",
"forecast_results": [
{
"type": "sm",
"correlation_coefficient": 0.976,
"data": [
[ "2024-11-08 00:00:00", 0.985 ],
[ "2024-11-09 00:00:00", 0.983 ]
]
},
{
"type": "lstm",
"correlation_coefficient": 0.95,
"data": [
[ "2024-11-08 00:00:00", 0.975 ],
[ "2024-11-09 00:00:00", 0.993 ]
]
},
{
"type": "rnn",
"correlation_coefficient": 0.95,
"data": [
[ "2024-11-08 00:00:00", 0.925 ],
[ "2024-11-09 00:00:00", 0.943 ]
]
},
{
"type": "bp",
"correlation_coefficient": 0.95,
"data": [
[ "2024-11-08 00:00:00", 0.965 ],
[ "2024-11-09 00:00:00", 0.973 ]
]
}
]
},
{
"point_id": 2,
"component_id": "y",
"forecast_results": [
{
"type": "sm",
"correlation_coefficient": 0.976,
"data": [
[ "2024-11-08 00:00:00", 0.985 ],
[ "2024-11-09 00:00:00", 0.983 ]
]
},
{
"type": "lstm",
"correlation_coefficient": 0.95,
"data": [
[ "2024-11-08 00:00:00", 0.975 ],
[ "2024-11-09 00:00:00", 0.993 ]
]
},
{
"type": "rnn",
"correlation_coefficient": 0.95,
"data": [
[ "2024-11-08 00:00:00", 0.925 ],
[ "2024-11-09 00:00:00", 0.943 ]
]
},
{
"type": "bp",
"correlation_coefficient": 0.95,
"data": [
[ "2024-11-08 00:00:00", 0.965 ],
[ "2024-11-09 00:00:00", 0.973 ]
]
}
]
}
]'{
"code": 200,
"msg": "请求成功",
"data": [
{
"point_id": 1,
"component_id": "x",
"data": [
{
"2024-11-08": 0.9626529012023002
},
{
"2024-11-09": 0.9730679560899111
}
]
},
{
"point_id": 2,
"component_id": "y",
"data": [
{
"2024-11-08": 0.9626529012023001
},
{
"2024-11-09": 0.973067956089911
}
]
}
]
}