Platforms to show: All Mac Windows Linux Cross-Platform
CoreML
macOS 10.13 classes for machine learning.
- Classes
- class MLArrayBatchProviderMBS
- shared method available as Boolean
- method Constructor(value as Dictionary, byref Error as NSErrorMBS)
- method Constructor(values() as MLFeatureProviderMBS)
- method values as MLFeatureProviderMBS()
- class MLBatchProviderMBS
- method Constructor
- method featuresAtIndex(index as Integer) as MLFeatureProviderMBS
- property Count as Integer
- property Handle as Integer
- class MLDictionaryConstraintMBS
- shared method available as Boolean
- method Constructor
- property Handle as Integer
- property keyType as Integer
- class MLDictionaryFeatureProviderMBS
- method Constructor(content as Dictionary, byref error as NSErrorMBS)
- method objectForKeyedSubscript(script as string) as MLFeatureValueMBS
- property Content as Dictionary
- class MLFeatureDescriptionMBS
- method Constructor
- method copy as MLFeatureDescriptionMBS
- method isAllowedValue(value as MLFeatureValueMBS) as boolean
- property dictionaryConstraint as MLDictionaryConstraintMBS
- property Handle as Integer
- property imageConstraint as MLImageConstraintMBS
- property isOptional as Boolean
- property multiArrayConstraint as MLMultiArrayConstraintMBS
- property Name as String
- property sequenceConstraint as MLSequenceConstraintMBS
- property Type as Integer
- class MLFeatureProviderMBS
- method Constructor
- method featureNames as String()
- method featureValueForName(featureName as String) as MLFeatureValueMBS
- property Handle as Integer
- class MLFeatureValueMBS
- method Constructor
- method copy as MLFeatureValueMBS
- 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
- method isEqualToFeatureValue(value as MLFeatureValueMBS) as Boolean
- shared method MLFeatureValueImageOptionCropAndScale as String
- shared method MLFeatureValueImageOptionCropRect as String
- shared method undefinedFeatureValueWithType(type as Integer) as MLFeatureValueMBS
- property CIImageValue as Variant
- property dictionaryValue as Dictionary
- property doubleValue as Double
- property Handle as Integer
- property imageBufferValue as Integer
- property int64Value as Int64
- property multiArrayValue as MLMultiArrayMBS
- property PictureHeight as Integer
- property PictureValue as Picture
- property PictureWidth as Integer
- property sequenceValue as MLSequenceMBS
- property stringValue as String
- property Type as Integer
- property Undefined as Boolean
- property value as Variant
- class MLImageConstraintMBS
- method Constructor
- property Handle as Integer
- property pixelFormatType as Integer
- property pixelsHigh as Integer
- property pixelsWide as Integer
- property sizeConstraint as MLImageSizeConstraintMBS
- class MLImageSizeConstraintMBS
- shared method available as Boolean
- method Constructor
- method enumeratedImageSizes as MLImageSizeMBS()
- property Handle as Integer
- property pixelsHighRange as NSRangeMBS
- property pixelsWideRange as NSRangeMBS
- property type as Integer
- class MLImageSizeMBS
- shared method available as Boolean
- method Constructor
- property Handle as Integer
- property pixelsHigh as Integer
- property pixelsWide as Integer
- class MLKeyMBS
- class MLMetricKeyMBS
- method Constructor
- shared property epochIndex as MLMetricKeyMBS
- shared property lossValue as MLMetricKeyMBS
- shared property miniBatchIndex as MLMetricKeyMBS
- class MLModelConfigurationMBS
- shared method available as Boolean
- method Constructor
- method copy as MLModelConfigurationMBS
- property allowLowPrecisionAccumulationOnGPU as Boolean
- property computeUnits as Integer
- property Handle as Integer
- property parameters as Dictionary
- property preferredMetalDevice as Integer
- class MLModelDescriptionMBS
- method Constructor
- property Handle as Integer
- property inputDescriptionsByName as Dictionary
- property isUpdatable as Boolean
- property metadata as Dictionary
- property outputDescriptionsByName as Dictionary
- property parameterDescriptionsByKey as Dictionary
- property predictedFeatureName as String
- property predictedProbabilitiesName as String
- property trainingInputDescriptionsByName as Dictionary
- class MLModelMBS
- shared method available as Boolean
- shared method compileModelAtURL(URL as string, byref error as NSErrorMBS) as String
- shared method compileModelFile(File as folderItem, byref error as NSErrorMBS) as folderItem
- method Constructor
- shared method MLModelAuthorKey as String
- shared method MLModelCreatorDefinedKey as String
- shared method MLModelDescriptionKey as String
- shared method MLModelErrorDomain as String
- shared method MLModelLicenseKey as String
- shared method MLModelVersionStringKey as String
- shared method modelWithContentsOfFile(file as FolderItem, byref error as NSErrorMBS) as MLModelMBS
- shared method modelWithContentsOfFile(file as FolderItem, configuration as MLModelConfigurationMBS, byref error as NSErrorMBS) as MLModelMBS
- shared method modelWithContentsOfPath(Path as string, byref error as NSErrorMBS) as MLModelMBS
- shared method modelWithContentsOfPath(Path as string, configuration as MLModelConfigurationMBS, byref error as NSErrorMBS) as MLModelMBS
- shared method modelWithContentsOfURL(URL as string, byref error as NSErrorMBS) as MLModelMBS
- shared method modelWithContentsOfURL(URL as string, configuration as MLModelConfigurationMBS, byref error as NSErrorMBS) as MLModelMBS
- method parameterValueForKey(key as MLParameterKeyMBS, byref error as NSErrorMBS) as Variant
- method predictionFromFeatures(input as MLFeatureProviderMBS, options as MLPredictionOptionsMBS = nil, byref error as NSErrorMBS) as MLFeatureProviderMBS
- method predictionFromFeaturesMT(input as MLFeatureProviderMBS, options as MLPredictionOptionsMBS = nil, byref error as NSErrorMBS) as MLFeatureProviderMBS
- method predictionsFromBatch(inputBatch as MLBatchProviderMBS, byref error as NSErrorMBS) as MLBatchProviderMBS
- method predictionsFromBatch(inputBatch as MLBatchProviderMBS, options as MLPredictionOptionsMBS, byref error as NSErrorMBS) as MLBatchProviderMBS
- property configuration as MLModelConfigurationMBS
- property Handle as Integer
- property modelDescription as MLModelDescriptionMBS
- class MLMultiArrayConstraintMBS
- method Constructor
- method shape as Integer()
- property dataType as Integer
- property Handle as Integer
- property shape0 as Integer
- property shape1 as Integer
- property shape2 as Integer
- property shapeConstraint as MLMultiArrayShapeConstraintMBS
- class MLMultiArrayMBS
- method Constructor(dataPointer as Ptr, shape() as Integer, dataType as Integer, strides() as Integer, byref error as NSErrorMBS)
- method Constructor(shape() as Integer, dataType as Integer, byref error as NSErrorMBS)
- method shape as Integer()
- method strides as Integer()
- property count as Integer
- property dataPointer as Ptr
- property dataType as Integer
- property Handle as Integer
- property shape0 as Integer
- property shape1 as Integer
- property shape2 as Integer
- property strides0 as Integer
- property strides1 as Integer
- property strides2 as Integer
- property doubleValue(index as Integer) as Double
- property doubleValue(indexes() as Integer) as Double
- property integerValue(index as Integer) as Integer
- property integerValue(indexes() as Integer) as Integer
- property singleValue(index as Integer) as Single
- property singleValue(indexes() as Integer) as Single
- class MLMultiArrayShapeConstraintMBS
- method Constructor
- method enumeratedShapes as Variant
- method sizeRangeForDimension as NSRangeMBS()
- property Handle as Integer
- property type as Integer
- class MLNumericConstraintMBS
- shared method available as Boolean
- method Constructor
- method enumeratedNumbers as Double()
- property Handle as Integer
- property maxNumber as Double
- property minNumber as Double
- class MLParameterDescriptionMBS
- shared method available as Boolean
- method Constructor
- property defaultValue as Variant
- property Handle as Integer
- property key as MLParameterKeyMBS
- property numericConstraint as MLNumericConstraintMBS
- class MLParameterKeyMBS
- method Constructor
- method scopedTo(scope as String) as MLParameterKeyMBS
- shared property beta1 as MLParameterKeyMBS
- shared property beta2 as MLParameterKeyMBS
- shared property biases as MLParameterKeyMBS
- shared property epochs as MLParameterKeyMBS
- shared property eps as MLParameterKeyMBS
- shared property learningRate as MLParameterKeyMBS
- shared property linkedModelFileName as MLParameterKeyMBS
- shared property linkedModelSearchPath as MLParameterKeyMBS
- shared property miniBatchSize as MLParameterKeyMBS
- shared property momentum as MLParameterKeyMBS
- shared property numberOfNeighbors as MLParameterKeyMBS
- shared property seed as MLParameterKeyMBS
- shared property shuffle as MLParameterKeyMBS
- shared property weights as MLParameterKeyMBS
- class MLPredictionOptionsMBS
- method Constructor
- property Handle as Integer
- property usesCPUOnly as Boolean
- class MLSequenceConstraintMBS
- shared method available as Boolean
- method Constructor
- property countRange as NSRangeMBS
- property Handle as Integer
- property valueDescription as MLFeatureDescriptionMBS
- class MLSequenceMBS
- method Constructor
- shared method emptySequenceWithType(type as Integer) as MLSequenceMBS
- method int64Values as Int64()
- shared method sequenceWithInt64Array(int64Values() as Int64) as MLSequenceMBS
- shared method sequenceWithStringArray(stringValues() as String) as MLSequenceMBS
- method stringValues as String()
- property Handle as Integer
- property type as Integer
- class MLTaskMBS
- shared method available as Boolean
- method cancel
- method Constructor
- method resume
- property Error as NSErrorMBS
- property Handle as Integer
- property State as Integer
- property TaskIdentifier as String
- class MLUpdateContextMBS
- shared method available as Boolean
- method Constructor
- method writeToFile(file as FolderItem, byref error as NSErrorMBS) as Boolean
- property Handle as Integer
- property Metrics as Dictionary
- property Model as MLModelMBS
- property Parameters as Dictionary
- property ProgressEvent as Integer
- property Task as MLUpdateTaskMBS
- class MLUpdateProgressHandlersMBS
- shared method available as Boolean
- method Constructor(interestedEvents as Integer)
- property Handle as Integer
- event completionHandler(context as MLUpdateContextMBS)
- event progressHandler(context as MLUpdateContextMBS)
- class MLUpdateTaskMBS
- method Constructor(file as FolderItem, trainingData as MLArrayBatchProviderMBS, configuration as MLModelConfigurationMBS, byref error as NSErrorMBS)
- method Constructor(file as FolderItem, trainingData as MLArrayBatchProviderMBS, configuration as MLModelConfigurationMBS, progressHandlers as MLUpdateProgressHandlersMBS, byref error as NSErrorMBS)
- method resumeWithParameters(updateParameters as Dictionary)
- event completionHandler(context as MLUpdateContextMBS)
- class MLArrayBatchProviderMBS
- Blog Entries
- Videos
Release notes
- Version 21.5
- Added Float 16bit support for MLMultiArrayMBS class.
- Changed MLFeatureValueMBS.featureValueWithPicture to convert picture to bitmap if needed.
- Version 20.0
- Added MLTaskMBS, MLBatchProviderMBS, MLParameterKeyMBS, MLUpdateTaskMBS, MLModelConfigurationMBS, MLArrayBatchProviderMBS, MLUpdateContextMBS, MLMetricKeyMBS, MLMultiArrayShapeConstraintMBS, MLUpdateProgressHandlersMBS, MLParameterDescriptionMBS, MLNumericConstraintMBS, MLKeyMBS, MLImageSizeMBS, MLImageSizeConstraintMBS, MLSequenceConstraintMBS, and MLSequenceMBS classes.
The items on this page are in the following plugins: MBS Mac64bit Plugin.