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 |
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.
- 7 properties
- 3 methods
- method Constructor
- method InputFeatures as WinLearningModelFeatureDescriptorMBS()
- method OutputFeatures as WinLearningModelFeatureDescriptorMBS()
- 2 shared methods
- shared method LoadFromFile(File as FolderItem) as WinLearningModelMBS
- shared method LoadFromFilePath(Path as String) as WinLearningModelMBS
This class has no sub classes.
Some methods using this class:
- WinLearningModelSessionMBS.Constructor(model as WinLearningModelMBS)
Some properties using for this class:
- WinLearningModelSessionMBS.Model as WinLearningModelMBS
Some examples using this class:
Blog Entries
- News from the MBS Xojo Plugins Version 20.5
- MBS Xojo Plugins, version 20.5pr1
- Playing with Machine Learning on Windows
The items on this page are in the following plugins: MBS WinFrameworks Plugin.
WinLearningModelMapFeatureDescriptorMBS - WinLearningModelSequenceFeatureDescriptorMBS

Links
MBS Xojo PDF Plugins