LogisticRegressionModel.FromJson Method

Reconstructs a fitted LogisticRegressionModel from a JSON string.

Definition

Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.2.0
C#
public static LogisticRegressionModel FromJson(
	string json
)

Parameters

json  String
The JSON string representation of the model.

Return Value

LogisticRegressionModel
A reconstructed fitted model instance.

Exceptions

ArgumentNullExceptionThrown if json is null.
InvalidOperationExceptionThrown if the JSON is invalid or has an unexpected model type.

See Also