IPersistable<T> Interface
Provides a simple JSON-based persistence contract for fitted models.
Definition
Namespace: Numerics.NET.DataAnalysis.Models
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.1.0
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.1.0
public interface IPersistable<T>
where T : Object, IPersistable<T>
Type Parameters
- T
- The model type that implements this interface.
Properties
| Model | A short identifier for the model type (e.g. "SimpleRegression"). This value also appears in the persisted JSON spec. |
Methods
| From | Reconstructs a fitted model from a JSON string. |
| ToJson | Serializes the fitted model to a JSON string. |