Udostępnij za pośrednictwem


ForecastHorizon Class

Definition

The desired maximum forecast horizon in units of time-series frequency. Please note ForecastHorizon is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AutoForecastHorizon and CustomForecastHorizon.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.MachineLearning.Models.UnknownForecastHorizon))]
public abstract class ForecastHorizon : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.MachineLearning.Models.ForecastHorizon>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.MachineLearning.Models.ForecastHorizon>
public abstract class ForecastHorizon
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.MachineLearning.Models.UnknownForecastHorizon))>]
type ForecastHorizon = class
    interface IJsonModel<ForecastHorizon>
    interface IPersistableModel<ForecastHorizon>
type ForecastHorizon = class
Public MustInherit Class ForecastHorizon
Implements IJsonModel(Of ForecastHorizon), IPersistableModel(Of ForecastHorizon)
Public MustInherit Class ForecastHorizon
Inheritance
ForecastHorizon
Derived
Attributes
Implements

Constructors

ForecastHorizon()

Initializes a new instance of ForecastHorizon.

Explicit Interface Implementations

IJsonModel<ForecastHorizon>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ForecastHorizon>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ForecastHorizon>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ForecastHorizon>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ForecastHorizon>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to