API Differences in CreateMLComponents in macOS 15.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 CreateMLComponents in the macOS 15.0 SDK.

Table of Contents

Structs

AnnotatedBatch
DateFeatureExtractor
DateFeatures
LinearTimeSeriesForecaster
LinearTimeSeriesForecaster
Model
LinearTimeSeriesForecasterConfiguration
MultivariateLinearRegressor
MultivariateLinearRegressor
Model
MultivariateLinearRegressorConfiguration
SlidingWindows
TemporalAdaptor
TimeSeriesClassifier
TimeSeriesClassifier
Model
TimeSeriesClassifierConfiguration
TimeSeriesForecasterAnnotatedWindows
TimeSeriesForecasterAnnotatedWindows
Iterator
TimeSeriesForecasterBatches
TimeSeriesForecasterBatches
Iterator

Typealiases

AnyTemporalIterator
@_implements(_Concurrency.AsyncIteratorProtocol, Failure) public typealias __AsyncIteratorProtocol_Failure = any Swift.Error
AnyTemporalSequence
@_implements(_Concurrency.AsyncSequence, Failure) public typealias __AsyncSequence_Failure = any Swift.Error
AsyncBuffers
@_implements(_Concurrency.AsyncSequence, Failure) public typealias __AsyncSequence_Failure = any Swift.Error
AsyncFrames
@_implements(_Concurrency.AsyncSequence, Failure) public typealias __AsyncSequence_Failure = any Swift.Error
AsyncIterator
@_implements(_Concurrency.AsyncIteratorProtocol, Failure) public typealias __AsyncIteratorProtocol_Failure = Swift.Never
AsyncIterator
@_implements(_Concurrency.AsyncIteratorProtocol, Failure) public typealias __AsyncIteratorProtocol_Failure = any Swift.Error
AsyncIterator
@_implements(_Concurrency.AsyncIteratorProtocol, Failure) public typealias __AsyncIteratorProtocol_Failure = any Swift.Error
AsyncIterator
@_implements(_Concurrency.AsyncIteratorProtocol, Failure) public typealias __AsyncIteratorProtocol_Failure = any Swift.Error
AugmentationSequence
@_implements(_Concurrency.AsyncSequence, Failure) public typealias __AsyncSequence_Failure = any Swift.Error
BatchedSequence
@_implements(_Concurrency.AsyncSequence, Failure) public typealias __AsyncSequence_Failure = any Swift.Error
CameraAsyncBuffers
@_implements(_Concurrency.AsyncSequence, Failure) public typealias __AsyncSequence_Failure = any Swift.Error
CumulativeSumSequence
@_implements(_Concurrency.AsyncSequence, Failure) public typealias __AsyncSequence_Failure = any Swift.Error
DownStreamSequence
@_implements(_Concurrency.AsyncSequence, Failure) public typealias __AsyncSequence_Failure = any Swift.Error
FeatureSequence
@_implements(_Concurrency.AsyncSequence, Failure) public typealias __AsyncSequence_Failure = any Swift.Error
LinearTimeSeriesForecaster
public typealias Configuration = CreateMLComponents.LinearTimeSeriesForecasterConfiguration
LinearTimeSeriesForecaster.Model
public typealias OutputSequence = CreateMLComponents.AnyTemporalSequence<CoreML.MLShapedArray<Scalar>>
MicrophoneAsyncBuffers
@_implements(_Concurrency.AsyncSequence, Failure) public typealias __AsyncSequence_Failure = any Swift.Error
MultivariateLinearRegressor
public typealias Configuration = CreateMLComponents.MultivariateLinearRegressorConfiguration
PreprocessedFeatureSequence
@_implements(_Concurrency.AsyncSequence, Failure) public typealias __AsyncSequence_Failure = Swift.Never
TimeSeriesClassifier
public typealias Configuration = CreateMLComponents.TimeSeriesClassifierConfiguration
TimeSeriesClassifier.Model
public typealias OutputSequence = CreateMLComponents.AnyTemporalSequence<CreateMLComponents.ClassificationDistribution<Label>>
UpsampledAugmentationSequence
@_implements(_Concurrency.AsyncSequence, Failure) public typealias __AsyncSequence_Failure = any Swift.Error
WindowSequence
@_implements(_Concurrency.AsyncSequence, Failure) public typealias __AsyncSequence_Failure = any Swift.Error

Functions & Methods

AnnotatedBatch
public static func == (a: CreateMLComponents.AnnotatedBatch<Scalar>, b: CreateMLComponents.AnnotatedBatch<Scalar>) -> Swift.Bool
AnnotatedBatch
public func encode(to encoder: any Swift.Encoder) throws
DateFeatureExtractor
public func encode(to encoder: any Swift.Encoder) throws
LinearTimeSeriesForecaster.Model
public func applied(to input: some TemporalSequence<MLShapedArray<Scalar>>, eventHandler: CreateMLComponents.EventHandler? = nil) async throws -> CreateMLComponents.AnyTemporalSequence<CoreML.MLShapedArray<Scalar>>
LinearTimeSeriesForecaster.Model
public func export(to url: Foundation.URL) throws
LinearTimeSeriesForecaster.Model
public func export(to url: Foundation.URL, metadata: CreateMLComponents.ModelMetadata) throws
LinearTimeSeriesForecaster
public func decode(from decoder: inout any CreateMLComponents.EstimatorDecoder) throws -> CreateMLComponents.LinearTimeSeriesForecaster<Scalar>.Transformer
LinearTimeSeriesForecaster
public func decodeWithOptimizer(from decoder: inout any CreateMLComponents.EstimatorDecoder) throws -> CreateMLComponents.LinearTimeSeriesForecaster<Scalar>.Transformer
LinearTimeSeriesForecaster
public func encode(_ model: CreateMLComponents.LinearTimeSeriesForecaster<Scalar>.Transformer, to encoder: inout any CreateMLComponents.EstimatorEncoder) throws
LinearTimeSeriesForecaster
public func encodeWithOptimizer(_ model: CreateMLComponents.LinearTimeSeriesForecaster<Scalar>.Transformer, to encoder: inout any CreateMLComponents.EstimatorEncoder) throws
LinearTimeSeriesForecaster
public func makeTransformer() -> CreateMLComponents.LinearTimeSeriesForecaster<Scalar>.Model
LinearTimeSeriesForecaster
public func update(_ model: inout CreateMLComponents.LinearTimeSeriesForecaster<Scalar>.Model, with input: some Sequence<AnnotatedFeature<MLShapedArray<Scalar>, MLShapedArray<Scalar>>>, eventHandler: CreateMLComponents.EventHandler? = nil) async throws
LinearTimeSeriesForecaster
public func update(_ model: inout CreateMLComponents.LinearTimeSeriesForecaster<Scalar>.Model, withWindows windows: some Sequence<AnnotatedFeature<MLShapedArray<Scalar>, MLShapedArray<Scalar>>>, eventHandler: CreateMLComponents.EventHandler? = nil) async throws
LinearTimeSeriesForecaster
public func update(_ model: inout CreateMLComponents.LinearTimeSeriesForecaster<Scalar>.Transformer, with input: CreateMLComponents.AnnotatedBatch<Scalar>) async throws -> Scalar
MultivariateLinearRegressor
public func decodeWithOptimizer(from decoder: inout any CreateMLComponents.EstimatorDecoder) throws -> CreateMLComponents.MultivariateLinearRegressor<Scalar>.Model
MultivariateLinearRegressor
public func encodeWithOptimizer(_ model: CreateMLComponents.MultivariateLinearRegressor<Scalar>.Model, to encoder: inout any CreateMLComponents.EstimatorEncoder) throws
MultivariateLinearRegressor
public func makeTransformer() -> CreateMLComponents.MultivariateLinearRegressor<Scalar>.Model
MultivariateLinearRegressor
public func update(_ model: inout CreateMLComponents.MultivariateLinearRegressor<Scalar>.Model, with input: some Sequence<AnnotatedFeature<MLShapedArray<Scalar>, MLShapedArray<Scalar>>>, eventHandler: CreateMLComponents.EventHandler? = nil) async throws
MultivariateLinearRegressor
public func update(_ model: inout CreateMLComponents.MultivariateLinearRegressor<Scalar>.Model, with input: CreateMLComponents.AnnotatedBatch<Scalar>) async throws -> Scalar
TabularEstimator
public func fitted(to input: TabularData.DataFrame) async throws -> Self.Transformer
TemporalTransformer
public func appending<Other>(_ other: Other) -> CreateMLComponents.ComposedTemporalTransformer<Self, CreateMLComponents.TemporalAdaptor<Other>> where Other : CreateMLComponents.Transformer, Other : Swift.Sendable, Self.Output == Other.Input
TimeSeriesClassifier.Model
public func applied(to input: some TemporalSequence<MLShapedArray<Scalar>>, eventHandler: CreateMLComponents.EventHandler? = nil) async throws -> CreateMLComponents.AnyTemporalSequence<CreateMLComponents.ClassificationDistribution<Label>>
TimeSeriesClassifier.Model
public func encode(to encoder: any Swift.Encoder) throws
TimeSeriesClassifier.Model
public func export(to url: Foundation.URL) throws
TimeSeriesClassifier.Model
public func export(to url: Foundation.URL, metadata: CreateMLComponents.ModelMetadata) throws
TimeSeriesClassifier
public func decodeWithOptimizer(from decoder: inout any CreateMLComponents.EstimatorDecoder) throws -> CreateMLComponents.TimeSeriesClassifier<Scalar, Label>.Transformer
TimeSeriesClassifier
public func encodeWithOptimizer(_ transformer: CreateMLComponents.TimeSeriesClassifier<Scalar, Label>.Transformer, to encoder: inout any CreateMLComponents.EstimatorEncoder) throws
TimeSeriesClassifier
public func makeTransformer() -> CreateMLComponents.TimeSeriesClassifier<Scalar, Label>.Model
TimeSeriesClassifier
public func update(_ transformer: inout CreateMLComponents.TimeSeriesClassifier<Scalar, Label>.Model, with input: some Sequence<AnnotatedFeature<MLShapedArray<Scalar>, Annotation>>, eventHandler: CreateMLComponents.EventHandler? = nil) async throws
Transformer
public func adaptedAsTemporal() -> CreateMLComponents.TemporalAdaptor<Self> where Self : Swift.Sendable
Transformer
public func appending<Other>(_ other: Other) -> CreateMLComponents.ComposedTemporalTransformer<CreateMLComponents.TemporalAdaptor<Self>, Other> where Self : Swift.Sendable, Other : CreateMLComponents.TemporalTransformer, Self.Output == Other.Input

Properties & Constants

CameraAsyncBuffers
public var captureSession: AVFoundation.AVCaptureSession

Conformances

AnnotatedBatch
Swift.Decodable
AnnotatedBatch
Swift.Encodable
AnnotatedBatch
Swift.Equatable
AnnotatedBatch
Swift.Sendable
DateFeatureExtractor
Swift.Codable
LinearTimeSeriesForecaster
CreateMLComponents.UpdatableSupervisedEstimator
LinearTimeSeriesForecaster.Model
CreateMLComponents.TemporalTransformer
MultivariateLinearRegressor
CreateMLComponents.UpdatableSupervisedEstimator
TimeSeriesClassifier
CreateMLComponents.UpdatableSupervisedEstimator
TimeSeriesClassifier.Model
CreateMLComponents.TemporalTransformer
TimeSeriesClassifier.Model
Swift.Codable
TimeSeriesClassifier
Swift.Sendable
VideoReader.CameraAsyncBuffers
Swift.Sendable

Initializers

AnnotatedBatch
public init(from decoder: any Swift.Decoder) throws
DateFeatureExtractor
public init(from decoder: any Swift.Decoder) throws
TimeSeriesClassifier.Model
public init(from decoder: any Swift.Decoder) throws

Enum Cases

VideoReaderError
case captureSessionStopped