Platforms to show: All Mac Windows Linux Cross-Platform

WinLearningModelMBS class

Type Topic Plugin Version macOS Windows Linux Targets
class WindowsML MBS WinFrameworks Plugin 20.5 No Yes No Desktop only
Function: 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
Notes:
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.

Feedback, Comments & Corrections

This class has no sub classes.

Some methods using this class:

Some properties using for this class:

Blog Entries


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


WinLearningModelMapFeatureDescriptorMBS   -   WinLearningModelSequenceFeatureDescriptorMBS

The biggest plugin in space...




Links
MBS Xojo Chart Plugins