Models and Simulations
PUT /udl/aiprediction/{id}
Changed onService operation to update a single AIPrediction record. A specific role is required to perform this service operation. Please contact the UDL team for assistance.
Request
- Base URLhttps://unifieddatalibrary.com
- URLhttps://unifieddatalibrary.com/udl/aiprediction/{id}
- Authnone declared
Path parameters
idstring required
The ID of the AIPrediction to UPDATE.
Request body
Example request
{
"id": "026dd511-8ba5-47d3-9909-836149f87686",
"classificationMarking": "U",
"idAIModel": "341c5509-80c3-4298-9d78-32f818313af5",
"predictionId": "run-20250808",
"predictionTime": "2025-01-01T16:00:00.123Z",
"predictionSource": "MIT LL SSN testbed",
"prePipelineVersion": "v2.1.0",
"rte": [
"NVIDIA A100",
"Ubuntu 22.04"
],
"batchSize": 32,
"latency": 47.5,
"aiPredictionReviews": [
{
"status": "IN REVIEW",
"reviewer": "John Doe",
"reviewDate": "2025-01-02T16:00:00.123Z",
"corrections": [
"Added car",
"Adjusted bicycle to motorcycle"
],
"notes": "Example notes"
}
],
"aiPredictionEntities": [
{
"entitySourceType": "Radar sensor",
"entitySourceId": "SSN1",
"entitySourceName": "Big SSN Radar",
"entitySourceDetails": "Primary",
"entityType": "IMAGE",
"entityId": "image123",
"entityRole": "INPUT",
"entityURI": "Example URI",
"mimeType": "IMAGE/PNG",
"checksumAlgorithm": "SHA-256",
"checksumValue": "abc123"
}
],
"aiPredictionAssociations": [
{
"assocEntityId": "image123",
"assocData": "IMAGE",
"assocType": "EXPLANATION",
"assocContext": "Explanation generated using SHAP values",
"assocDataKeys": [
"Base Value",
"Output Value"
],
"assocDataValues": [
0.5,
0.67
],
"assocDataUofMs": [
"meters",
"meters"
],
"assocTimestamp": "2025-01-01T17:00:00.123Z"
}
],
"aiPredictionContents": [
{
"contentOutput": "Image identified as a Solar Panel",
"contentType": "LABEL",
"confidenceScore": 0.77,
"aiPredictionContentExplanations": [
{
"explanationType": "ACTIVATION MAP",
"explanationFormat": "IMAGE",
"aiPredictionContentExplanationData": [
{
"elementType": "FEATURE",
"elementName": "SIZE",
"elementValue": 0.3,
"elementUofM": "meters",
"impactScore": 80.1,
"explanationDataNotes": "Example notes"
}
]
}
],
"aiPredictionContentUncertainties": [
{
"uncertCategory": "EPISTEMIC",
"uncertType": "STANDARD DEVIATION",
"uncertDescription": "Amount of variability of solar array performance metrics.",
"uncertMethod": "ENSEMBLE",
"confidenceLevel": 95,
"lowerBound": 0.23,
"upperBound": 0.87,
"ensembleMethod": "BAGGING",
"ensembleSize": 5,
"samplingMethod": "MONTE CARLO",
"samplingCount": 100,
"seeds": [
42,
100,
2024,
8,
7
],
"calibrationTechnique": "TEMPERATURE SCALING",
"calibrationParameter": "Temperature",
"ece": 0.021,
"brierScore": 0.12,
"nll": 1.74,
"uncertKeys": [
"Power",
"Efficiency",
"Temperature"
],
"uncertValues": [
12.5,
0.03,
1.8
],
"uncertUofMs": [
"Watts",
"Percent",
"degC"
],
"uncertNotes": "Example notes"
}
]
}
],
"tags": [
"TAG1",
"TAG2"
],
"transactionId": "TRANSACTION-ID",
"createdAt": "2018-01-01T16:00:00.123Z",
"createdBy": "some.user",
"updatedAt": "2018-01-01T16:00:00.123Z",
"updatedBy": "some.user",
"sourceDL": "AXE",
"source": "Bluestaq",
"origin": "THIRD_PARTY_DATASOURCE",
"origNetwork": "OPS1",
"dataMode": "TEST"
}Response
Success
Changes
- info
endpoint added
- info
Some revisions have not been checked yet.