# ML inferencing

## Overview

For cutting-edge stream-based use cases, the incorporation of machine learning models is integral for next best action processing.

Out-of-the-box, Joule offers the capability to seamlessly deploy [JPMML](https://github.com/jpmml) models within a processing pipeline using a predictive processor.

Learn more about Joule's [ML inferencing architecture here](/joule/components/analytics/ml-inferencing/key-concepts.md).

{% hint style="success" %}
Joule provides the capability to perform **near-real-time predictions** to enable best next action use cases.
{% endhint %}

## Use cases

1. Online customer segmentation
2. Predictive service maintenance
3. Behaviour anomaly detection
4. Best next action
5. Customer conversation scoring

## Available ML inferencing options

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th data-hidden></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><mark style="color:orange;"><strong>Online predictive analytics</strong></mark></td><td>JPMML prediction processor evaluates event feature vectors in near-real-time </td><td></td><td><a href="/pages/c0eOzb27UL7T9AVfY9zg">/pages/c0eOzb27UL7T9AVfY9zg</a></td></tr><tr><td><mark style="color:orange;"><strong>Feature engineering</strong></mark></td><td>Decorate a feature vector with enriched features specific to the deployed model</td><td></td><td><a href="/pages/8Y2HZFgtwbYHxo32r1DN">/pages/8Y2HZFgtwbYHxo32r1DN</a></td></tr><tr><td><mark style="color:orange;"><strong>Model audit</strong></mark></td><td>Monitor model predictions and performance metrics to support explainability, detect drift, and manage retraining</td><td></td><td><a href="/pages/eO3fZ84yqwOU5ONqbJge">/pages/eO3fZ84yqwOU5ONqbJge</a></td></tr><tr><td><mark style="color:orange;"><strong>Model management</strong></mark></td><td>Deploy a retrained model directly in to a running Joule with zero down time</td><td></td><td><a href="/pages/LBRxefAOE77wgrgflTUq">/pages/LBRxefAOE77wgrgflTUq</a></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fractalworks.io/joule/components/analytics/ml-inferencing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
