PolynomialRegressionModel.Deploy Method

Creates a deployed copy of this model containing only the state required for prediction.

Definition

Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.2.0
C#
public PolynomialRegressionModel Deploy()

Return Value

PolynomialRegressionModel
A new deployed model instance.

Remarks

This method creates a new model instance that contains only the parameters needed for prediction. The current instance remains unchanged and retains full fitted state including diagnostics and training data.

Exceptions

InvalidOperationException Thrown if the model has not been fitted.

See Also