API Differences in CreateML in macOS 14.0

It's more difficult than it used to be to find what changed in Apple SDKs. This page is automatically generated and shows what is new in CreateML in the macOS 14.0 SDK.

Table of Contents

Enums

MLActivityClassifier.ModelParameters
Validation

Functions & Methods

DataSource
public func extractKeypoints(targetFrameRate: Swift.Double = MLHandActionClassifier.__Defaults.targetFrameRate) throws -> TabularData.DataFrame
DataSource
public func extractKeypoints() throws -> TabularData.DataFrame
DataSource
public func extractKeypoints(targetFrameRate: Swift.Double = MLHandActionClassifier.__Defaults.targetFrameRate) throws -> TabularData.DataFrame
DataSource
public func gatherAnnotatedFeatures(featureColumns: [Swift.String], labelColumn: Swift.String = "label", recordingFileColumn: Swift.String? = nil) throws -> TabularData.DataFrame
DataSource
public func gatherAnnotatedFileNames() throws -> TabularData.DataFrame
DataSource
public func gatherAnnotatedFileNames() throws -> TabularData.DataFrame?
DataSource
public func gatherAnnotatedFileNames() throws -> TabularData.DataFrame?
DataSource
public func gatherAnnotatedFileNames() throws -> TabularData.DataFrame?
MLActivityClassifier
public static func makeTrainingSession(trainingData: CreateML.MLActivityClassifier.DataSource, featureColumns: [Swift.String], labelColumn: Swift.String, recordingFileColumn: Swift.String, parameters: CreateML.MLActivityClassifier.ModelParameters = .init(), sessionParameters: CreateML.MLTrainingSessionParameters = _defaultSessionParameters) throws -> CreateML.MLTrainingSession<CreateML.MLActivityClassifier>

Properties & Constants

MLClassifierMetrics
public var confusionDataFrame: TabularData.DataFrame
MLClassifierMetrics
public var precisionRecallDataFrame: TabularData.DataFrame
MLProgress
public static let maximumErrorKey: Foundation.ProgressUserInfoKey
MLProgress
public static let rootMeanSquaredErrorKey: Foundation.ProgressUserInfoKey
MLProgress
public static let validationMaximumErrorKey: Foundation.ProgressUserInfoKey
MLProgress
public static let validationRootMeanSquaredErrorKey: Foundation.ProgressUserInfoKey
MLRecommenderMetrics
public var precisionRecallDataFrame: TabularData.DataFrame
ModelParameters
public var nearestItemsDataFrame: TabularData.DataFrame?
ModelParameters
public var validation: CreateML.MLActivityClassifier.ModelParameters.Validation

Conformances

MLTrainingSession
@unchecked Swift.Sendable

Initializers

ModelParameters
public init(validation: CreateML.MLActivityClassifier.ModelParameters.Validation = .split(strategy: .automatic), batchSize: Swift.Int? = 32, maximumIterations: Swift.Int? = 10, predictionWindowSize: Swift.Int? = 100)
ModelParameters
public init(algorithm: CreateML.MLRecommender.ModelAlgorithmType = .itemSimilarity(.cosine), threshold: Swift.Double = 0.001, maxCount: Swift.Int = 64, nearestItemsDataFrame: TabularData.DataFrame?, maxSimilarityIterations: Swift.Int = 1024)

Enum Cases

DataSource
case dataFrame(TabularData.DataFrame)
FeatureExtractorType
case bertEmbedding
FeatureExtractorType
case bertEmbedding
FeatureExtractorType
case elmoEmbedding
FeatureExtractorType
case elmoEmbedding
Metric
case maximumError
Metric
case rootMeanSquaredError
Metric
case validationMaximumError
Metric
case validationRootMeanSquaredError