Call ML Model
Last modified: July 25, 2024
Machine learning model support is available in Studio Pro 9.23 and above.
These activities can only be used in Microflows.
1 Introduction
Studio Pro 9.23 and above supports machine learning (ML) model integration in Mendix apps. Collectively called the Machine Learning (ML) Kit, this functionality allows Mendix developers to deploy a ML model built using common ML framework and language into the Mendix Runtime.
Use the Call ML Model activity in a microflow to call the ML model mapping document (see the Using the Model in a Microflow section of Integrate Machine Learning Models).
![The Call ML Model activity.](/attachments/refguide9/modeling/application-logic/microflows-and-nanoflows/activities/ml-kit-activities/call-ml-model.png)
To get started with machine learning models, check out Using ML Kit.
Check out a demo app and Jupyter Notebook examples in our Demo for Mendix ML Kit repository for further information on working with machine learning models in Mendix.
2 Properties
2.1 Action
- ML model mapping – the ML model mapping model
- Input object – the inputObject, defined in the microflow with a Create Object or Java Action Call, and expects the same object type (not the entity) as in the model mapping
2.2 Output
- Output object – name of the output object (for example,
outputObject
)