Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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