Platforms to show: All Mac Windows Linux Cross-Platform

WinLearningModelMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class WindowsML MBS WinFrameworks Plugin 20.5 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Represents a trained machine learning model.
Example
dim ModelFile as FolderItem =SpecialFolder.Desktop.Child("SqueezeNet.onnx")

if not ModelFile.Exists then
MsgBox "Please download model first!"
quit
end if

dim model as WinLearningModelMBS = WinLearningModelMBS.LoadFromFile(ModelFile)

if model = nil then
msgbox "Failed to load model!"
// Check path and you need Windows 10
quit
end if

This is the main object you use to interact with Windows ML. You use it to load, bind, and evaluate trained ONNX models:

  • Load the model using one of the Load method.
  • Enumerate the InputFeatures and OutputFeatures and bind to your model.
  • Create a LearningModelSessionMBS and evalaute.

Requires Windows 10.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

This class has no sub classes.

Some methods using this class:

Some properties using for this class:

Some examples using this class:

Blog Entries

Release notes

  • Version 20.5

The items on this page are in the following plugins: MBS WinFrameworks Plugin.


WinLearningModelMapFeatureDescriptorMBS   -   WinLearningModelSequenceFeatureDescriptorMBS


The biggest plugin in space...