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:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.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 |
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. |
Optional |
Returns JSON or error.
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 ]
Else
Set Field [ WindowsML::Result ; $Result ]
End If
This function checks for a license.
Created 26th September 2020, last changed 27th September 2020