MLFeatureValueMBS class
Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version
22.2
22.3
22.4
22.5
23.0
23.1
23.2
23.3
23.4
23.5
24.0
24.1
The list of the topics,
classes,
interfaces,
controls,
modules,
global methods by category,
global methods by name,
screenshots,
licenses
and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
MLFeatureValueMBS class
An immutable variant holding a data value of a supported MLFeatureType.
MLFeatureValue does not support type conversion in its accessor properties.
It can also have a missing or undefined value of a well defined type.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 15 properties
- 3 methods
- 15 shared methods
- shared method featureValueWithCGImage(image as variant, orientation as integer = -1, constraint as MLImageConstraintMBS, options as Dictionary = nil, byref error as NSErrorMBS) as MLFeatureValueMBS
- shared method featureValueWithCGImage(image as variant, orientation as integer = -1, pixelsWide as Integer, pixelsHigh as Integer, pixelFormatType as String, options as Dictionary = nil, byref error as NSErrorMBS) as MLFeatureValueMBS
- shared method featureValueWithDictionary(value as Dictionary, byref error as NSErrorMBS) as MLFeatureValueMBS
- shared method featureValueWithDouble(value as double) as MLFeatureValueMBS
- shared method featureValueWithImageFile(File as FolderItem, orientation as integer = -1, constraint as MLImageConstraintMBS, options as Dictionary = nil, byref error as NSErrorMBS) as MLFeatureValueMBS
- shared method featureValueWithImageFile(File as FolderItem, orientation as integer = -1, pixelsWide as Integer, pixelsHigh as Integer, pixelFormatType as String, options as Dictionary = nil, byref error as NSErrorMBS) as MLFeatureValueMBS
- shared method featureValueWithInt64(value as Int64) as MLFeatureValueMBS
- shared method featureValueWithMultiArray(value as MLMultiArrayMBS) as MLFeatureValueMBS
- shared method featureValueWithPicture(value as Picture) as MLFeatureValueMBS
- shared method featureValueWithPixelBuffer(Handle as Integer) as MLFeatureValueMBS
- shared method featureValueWithSequence(sequence as MLSequenceMBS) as MLFeatureValueMBS
- shared method featureValueWithString(value as string) as MLFeatureValueMBS
- shared method MLFeatureValueImageOptionCropAndScale as String
- shared method MLFeatureValueImageOptionCropRect as String
- shared method undefinedFeatureValueWithType(type as Integer) as MLFeatureValueMBS
- 8 constants
Value Types
Constant |
Value |
Description |
TypeDictionary
|
6 |
Numerically weighted hashable objects (e.g. word counts)
|
TypeDouble
|
2 |
Continuous values
|
TypeImage
|
4 |
CVPixelBufferRef or converted by plugin to Xojo picture.
|
TypeInt64
|
1 |
Discrete values, sometimes used to hold numeric encoding of a categorical value
|
TypeInvalid
|
0 |
Undefined type.
|
TypeMultiArray
|
5 |
An array of values.
|
TypeSequence
|
7 |
The possible types for feature values, input features, and output features.
|
TypeString
|
3 |
Text or categorical strings
|
This class has no sub classes.
Some methods using this class:
Some examples using this class:
Blog Entries
Release notes
- Version 21.5
- Changed MLFeatureValueMBS.featureValueWithPicture to convert picture to bitmap if needed.
The items on this page are in the following plugins: MBS Mac64bit Plugin.
MLFeatureProviderMBS
-
MLImageConstraintMBS