One Logo Pool Ball
CreateMLComponents · IOS API REFERENCE

MultivariateLinearRegressor

struct · iOS 18.0+ · SDK 27.1

struct MultivariateLinearRegressor<Scalar> where Scalar : MLShapedArrayScalar, Scalar : BinaryFloatingPoint

A multivariate linear regressor. Unlike a ``LinearRegressor``, a ``MultivariateLinearRegressor`` supports shaped array outputs with any number of elements. It also provides a wider range of training options better suited for large multi-dimensional regression. - Note: Only `Float` and `Double` are currently supported as the Scalar type. You may get faster training when using `Float`.

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

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

MultivariateLinearRegressor.init(configuration:)

The iOS SDK compiler rejected this binding: generic parameter 'Scalar' could not be inferred

MultivariateLinearRegressor.fitted(to:eventHandler:)

This parameter hides a concrete Swift type.

MultivariateLinearRegressor.fitted(to:validateOn:eventHandler:)

This parameter hides a concrete Swift type.

MultivariateLinearRegressor.update(_:with:eventHandler:)

This parameter hides a concrete Swift type.

All CreateMLComponents types →