read
Swift declarationfunc read(from url: URL) throws -> Self.TransformerReads the encoded transformer from a file. - Parameter url: A file URL. - Returns: The decoded transformer.
protocol · iOS 16.0+ · SDK 27.1
protocol SupervisedTabularEstimator<Transformer, Annotation>A tabular estimator that creates a transformer by fitting to a data set in a data frame.
func read(from url: URL) throws -> Self.TransformerReads the encoded transformer from a file. - Parameter url: A file URL. - Returns: The decoded transformer.
func fitted(to input: DataFrame, validateOn validation: DataFrame? = nil) async throws -> Self.Transformerfunc decode(from decoder: inout any EstimatorDecoder) throws -> Self.TransformerDecodes a previously fitted decodable transformer.
Omit the output parameters from the call. The result contains $ret and $out, with decoder inside $out.
5 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
SupervisedTabularEstimator.encode(_:to:)
The iOS SDK compiler rejected this binding: member 'encode' cannot be used on value of type 'any SupervisedTabularEstimator'; consider using a generic constraint instead [#ExistentialMemberAccess]
SupervisedTabularEstimator.write(_:to:overwrite:)
The iOS SDK compiler rejected this binding: cannot access associated type 'Transformer' from 'SupervisedTabularEstimator'; use a concrete type or generic parameter base instead
SupervisedTabularEstimator.appending(_:)
This protocol needs associated types that cannot yet cross the bridge.
SupervisedTabularEstimator.appending(_:)
This declaration needs Swift generic type arguments. (no canonical witness for Other)
SupervisedTabularEstimator.appending(_:)
This protocol needs associated types that cannot yet cross the bridge.