How to Set Up Automated Sensor Data Calibration with Azure ML

djoshi 1 Reputation point
2025-08-29T10:43:17.8633333+00:00

Hi,

I am new to machine learning and need some advice on how to set this up.

I have several sensors that produce raw values, which need to be calibrated against reference data. This retraining process would need to be repeated every few days. The model that is created should then be invoked either via an API or within AML each time the sensors produce new values.

The raw sensor data is stored in Azure Table Storage. The reference data is stored externally and can be downloaded via an HTTP API.

The first step with the raw sensor data is to segment it into four variables: Sensor Part A, Sensor Part B, Temperature, and Humidity. Can this segmentation be performed within AML, or should the data first be processed by an Azure Function App (e.g., into a large JSON) before being sent to AML?

Could someone advise how I should set this up?

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
{count} votes

2 answers

Sort by: Most helpful
  1. Sina Salam 25,761 Reputation points Volunteer Moderator
    2025-08-29T15:57:31.4766667+00:00

    Hello djoshi,

    Welcome to the Microsoft Q&A and thank you for posting your questions here.

    I understand that you would like to Set Up Automated Sensor Data Calibration with Azure ML.

    To automate sensor data calibration with Azure ML, start by preprocessing your raw sensor data—segmenting it into variables like Sensor Part A/B, Temperature, and Humidity. You can handle this either in an Azure Function App for real-time transformation or directly within Azure ML Designer** using data transformation modules - https://free.blessedness.top/en-us/azure/machine-learning/how-to-retrain-designer?view=azureml-api-1

    Next, use Azure ML Designer pipelines to train and retrain your calibration model. You can configure pipeline inputs to dynamically update datasets and parameters, allowing retraining every few days with new sensor and reference data - https://free.blessedness.top/en-us/azure/machine-learning/how-to-retrain-designer?view=azureml-api-1 Once your pipeline is published, it becomes accessible via a REST API, enabling automated retraining and model invocation.

    For deployment, Azure ML supports online endpoints that expose your model as a secure REST API. You can register your model, environment, and scoring script, then deploy and invoke it programmatically using standard HTTP requests - https://www.youtube.com/watch?v=hCPkrihZiDg

    To manage the full lifecycle training, deployment, monitoring, and retraining. Microsoft provides robust MLOps tools. These include model versioning, data drift detection, and automated CI/CD pipelines for continuous improvement - https://github.com/PeakIndicators/Getting-Started-On-Azure-ML/blob/main/Documents/retrain-model-productionize.md and https://microsoft.github.io/azureml-ops-accelerator/2-Design/2-ModelManagement.html

    I hope this is helpful! Do not hesitate to let me know if you have any other questions or clarifications.


    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.

    0 comments No comments

  2. Manas Mohanty 11,690 Reputation points Microsoft External Staff Moderator
    2025-09-02T12:26:42.4166667+00:00

    Hi djoshi

    Here is the proposed flow on accumulating the data from devices/sensors for calibration (Guidelines on AutoML already provided from Sina Salam).

    You can enroll devices in IOT Hub using individual device registration or DPS (Device provisioning systems). Their telemetry data can be routed to endpoints like

    • Built-in endpoint
    • Storage containers
    • Service Bus queues
    • Service Bus topics
    • Event Hubs
    • Cosmos DB

    You can connect to those data with respective Clients (Storage clients, Eventhub etc) to create Data store in Azure ML which can be used input for model training.

    IOT hub also provide option to export to Power BI. Power BI has inherent model training feature.

    But, we need to pre-process the data prior model training in AutoML / PowerBI inbuilt models

    Reference used

    1. https://free.blessedness.top/en-us/azure/architecture/guide/iot/machine-learning-inference-iot-edge
    2. https://free.blessedness.top/en-us/azure/iot/iot-overview-analyze-visualize?tabs=edge
    3. https://techcommunity.microsoft.com/blog/azurearchitectureblog/end-to-end-iot-analytics-and-machine-learning-with-azure-data-and-ai-services/2365938
    4. https://free.blessedness.top/en-us/azure/iot-hub/iot-hub-devguide-messages-d2c

    Hope it helps.

    Thank you.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.