---
title: Machine Learning Models
slug: bhdo-v1/machine-learning-models
createdAt: 2022-05-13T19:02:44.000Z
---

The Analytics module allows you to execute your Machine Learning (ML) models “run time”. You can feed live data to the model and get live output from it.

:::hint{type="info"}
**Note**: To work with ML models in Analytics, your computer has to meet certain [requirements](https://www.tensorflow.org/install/gpu). If it does not, the ML-specific processors will not be available for flow building.
:::

# Create a Machine Learning Model for Upload

To upload a model to Analytics, you need a SavedModel format from [TensorFlow](https://www.tensorflow.org/guide/saved_model). Once you have created and saved a model, you must compress and zip it prior to uploading it to Analytics. SavedModel is a directory containing serialized signatures and the state needed to run them, including variable values and vocabularies. The SavedModel (`saved_model.pb`) file stores the TensorFlow model and a set of named signatures, each identifying a function that accepts tensor inputs and produces tensor outputs. SavedModels may contain multiple variants of the model.

Once your ML model is ready, proceed as follows:

1. Upload the model. See [Upload a Model](docId\:jgwm-yjTDqopluNpGGG6p) for details.&#x20;
2. Create an analytics flow where the function processor is based on your model.&#x20;
   - TensorFlow processor for time-series data. See [Create an Analytics Flow](docId\:SkcjCbMjKt8Yzr90nckkd) and [TensorFlow Processor](docId\:SzeVRylCvXJzNbmMYcoQp) for details.&#x20;
   - TensorFlow Images processor for images. See [Create an Analytics Flow](docId\:SkcjCbMjKt8Yzr90nckkd) and [TensorFlow Images Processor](docId\:rnWXnfKIFplNUMVbAtHRI) for details.&#x20;
3. (Optional) Add the Tengo Script processor to modify the model output. See [Tengo Script](docId\:IO1k61m6MGJ9U5BpDaOGm) for details.&#x20;
4. Visualize the ML-based output in the [Flows Manager](docId\:rSNHSMOWRODVKbsOYvmWq) or through [Applications](docId:4C6C0l74Y63oZ6hzOj1EN).&#x20;

# Access Analytics Models UI

**To access Analytics Models:**

1. Log in to Belden Horizon Data Operations.
2. From the Navigation panel, navigate to **Analytics&#x20;**> **Models**.
   The *Models* pane appears.&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/65OLfZkY5yHUnYD2QQzK6_analytics-models-ui.png" size="80" width="1143" height="463" caption="The Analytics Models pane" position="center" showCaption="true"}

# Next Steps

- [Upload a Model](docId\:jgwm-yjTDqopluNpGGG6p)&#x20;
- [Obtain Field Values from a Model](docId\:oAAQj5-EVBk0B2AwfaaL7)&#x20;
- [Model Types](docId:_QTamwLTjBVKWO_br3VyP)&#x20;

