One Logo Pool Ball
CreateMLComponents · IOS API REFERENCE

TabularTransformer

protocol · iOS 16.0+ · SDK 27.1

protocol TabularTransformer : Transformer where Self.Input == DataFrame, Self.Output == DataFrame

A tabular transformer that transforms a data frame. Tabular transformers represent operations on data frames. They modify and operate on values on one or more columns.

Members (3)

method · iOS 16.0+

callAsFunction

Swift declaration
func callAsFunction(_ input: DataFrame, eventHandler: EventHandler? = nil) async throws -> DataFrame

Performs the transformation on a single input. - Parameters: - input: The transformer input. - eventHandler: An event handler. - Returns: An output produced by applying the transformer to the input.

method · iOS 17.0+

export

Swift declaration
func export(to url: URL, metadata: ModelMetadata) throws

Exports this tabular transformer as a CoreML model with userInfo. - Note: By default this method exports .mlpackage files. You can export a .mlmodel file by specifying that as the URL file extension. But if you specify .mlmodel and the transformer doesn't support it, this method will throw an error. - Parameters: - url: The location to write the model into. - metadata: Contextual user-provided information.

method · iOS 16.0+

export

Swift declaration
func export(to url: URL) throws

Exports this transformer as a CoreML model. - Note: By default this method exports .mlpackage files. You can export a .mlmodel file by specifying that as the URL file extension. But if you specify .mlmodel and the transformer doesn't support it, this method will throw an error. - Parameter url: The location to write the model into.

Skipped declarations

9 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

TabularTransformer.appending(_:)

This declaration needs Swift generic type arguments. (no canonical witness for Other)

TabularTransformer.appending(_:)

This declaration needs Swift generic type arguments. (no canonical witness for Other)

TabularTransformer.appending(_:)

The iOS SDK compiler rejected this binding: type 'any TabularTransformer' cannot conform to 'TabularTransformer' [#ProtocolTypeNonConformance]

TabularTransformer.appending(_:)

This declaration needs Swift generic type arguments. (no canonical witness for Other)

TabularTransformer.appending(_:)

This declaration needs Swift generic type arguments. (no canonical witness for Other)

TabularTransformer.adaptedAsEstimator()

The iOS SDK compiler rejected this binding: member 'adaptedAsEstimator' cannot be used on value of type 'any TabularTransformer'; consider using a generic constraint instead [#ExistentialMemberAccess]

TabularTransformer.adaptedAsUpdatableEstimator()

The iOS SDK compiler rejected this binding: member 'adaptedAsUpdatableEstimator' cannot be used on value of type 'any TabularTransformer'; consider using a generic constraint instead [#ExistentialMemberAccess]

TabularTransformer.appending(_:)

This declaration needs Swift generic type arguments. (no canonical witness for Other)

TabularTransformer.appending(_:)

This declaration needs Swift generic type arguments. (no canonical witness for Other)

All CreateMLComponents types →