One Logo Pool Ball
CreateMLComponents · IOS API REFERENCE

TabularEstimator

protocol · iOS 16.0+ · SDK 27.1

protocol TabularEstimator<Transformer>

A tabular estimator that creates a transformer by fitting to a data set in a data frame.

Members (3)

method · iOS 16.0+

read

Swift declaration
func read(from url: URL) throws -> Self.Transformer

Reads the encoded transformer from a file. - Parameter url: A file URL. - Returns: The decoded transformer.

method · iOS 18.0+

fitted

Swift declaration
func fitted(to input: DataFrame) async throws -> Self.Transformer
method · iOS 16.0+

decode

Swift declaration
func decode(from decoder: inout any EstimatorDecoder) throws -> Self.Transformer

Decodes a previously fitted decodable transformer.

Omit the output parameters from the call. The result contains $ret and $out, with decoder inside $out.

Skipped declarations

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

TabularEstimator.adaptedAsSupervised(annotationColumnID:)

This protocol needs associated types that cannot yet cross the bridge.

TabularEstimator.write(_:to:overwrite:)

The iOS SDK compiler rejected this binding: cannot access associated type 'Transformer' from 'TabularEstimator'; use a concrete type or generic parameter base instead

TabularEstimator.appending(_:)

This protocol needs associated types that cannot yet cross the bridge.

TabularEstimator.appending(_:)

This protocol needs associated types that cannot yet cross the bridge.

TabularEstimator.appending(_:)

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

TabularEstimator.fitted(to:)

The iOS SDK compiler rejected this binding: 'fitted(to:)' is only available in iOS 18.0 or newer

TabularEstimator.encode(_:to:)

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

All CreateMLComponents types →