Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  


Evaluates the model and returns result as JSON.

Component Version macOS Windows Linux Server iOS SDK
WindowsML 10.5 ❌ No ✅ Yes ❌ No ✅ Yes, on Windows ❌ No
MBS( "WindowsML.Evaluate"; WinMLRef { ; correlationId } )   More


Parameter Description Example Flags
WinMLRef The reference number to the model. $Model
correlationId Optional user-supplied string to connect the output results.
Will be included in JSON for output.


Returns JSON or error.


Evaluates the model and returns result as JSON.
Returned JSON contains an entry for each output key and in that the values.
We can currently serialize arrays for boolean, float, float16, double, int8, uint8, int16, uint16, int32, uint32, int64 and uint64 data types.

MBS Plugins don't support all possible input/output combinations, so if you need something more, please let us know.


Evaluate the model:

Set Variable [ $Result ; Value: MBS( "WindowsML.Evaluate"; $$WinMLRef) ]
If [ MBS("ISError") ]
    Show Custom Dialog [ "Failed to evaluate model" ; $Result ]
    Exit Script [ Text Result: $Result ]
        Set Field [ WindowsML::Result ; $Result ]
End If

See also

Example Databases

Blog Entries

FileMaker Magazin

Created 26th September 2020, last changed 27th September 2020

WindowsML.Description - WindowsML.Open

Feedback: Report problem or ask question.

MBS Xojo PDF Plugins

Start Chat