TimeSeriesPredictionEngine<TSrc,TDst>.Predict 方法

定义

重载

Predict(Nullable<Int32>, Nullable<Single>)

仅预测任务。

Predict(TSrc, TDst)

执行预测。 如果仅预测任务 example 可以为 null。 如果 example 不是 null,则它可用于更新具有新模糊的预测模型。 对于异常情况检测,模型始终使用 example.

Predict(TSrc, Nullable<Int32>, Nullable<Single>)

执行预测。 如果仅预测任务 example 可以为 null。 如果 example 不是 null,则它可用于更新具有新模糊的预测模型。

Predict(TSrc, TDst, Nullable<Int32>, Nullable<Single>)

执行预测。 如果仅预测任务 example 可以为 null。 如果 example 不是 null,则它可用于更新具有新模糊的预测模型。 对于异常情况检测,模型始终使用 example.

Predict(Nullable<Int32>, Nullable<Single>)

仅预测任务。

public TDst Predict (int? horizon = default, float? confidenceLevel = default);
override this.Predict : Nullable<int> * Nullable<single> -> 'Dst
Public Function Predict (Optional horizon As Nullable(Of Integer) = Nothing, Optional confidenceLevel As Nullable(Of Single) = Nothing) As TDst

参数

horizon
Nullable<Int32>

要预测的值数。

confidenceLevel
Nullable<Single>

预测的置信度。

返回

TDst

适用于

Predict(TSrc, TDst)

执行预测。 如果仅预测任务 example 可以为 null。 如果 example 不是 null,则它可用于更新具有新模糊的预测模型。 对于异常情况检测,模型始终使用 example.

public override void Predict (TSrc example, ref TDst prediction);
override this.Predict : 'Src * 'Dst -> unit
Public Overrides Sub Predict (example As TSrc, ByRef prediction As TDst)

参数

example
TSrc

预测引擎的输入。

prediction
TDst

来自引擎的预测/预测。

适用于

Predict(TSrc, Nullable<Int32>, Nullable<Single>)

执行预测。 如果仅预测任务 example 可以为 null。 如果 example 不是 null,则它可用于更新具有新模糊的预测模型。

public TDst Predict (TSrc example, int? horizon = default, float? confidenceLevel = default);
override this.Predict : 'Src * Nullable<int> * Nullable<single> -> 'Dst
Public Function Predict (example As TSrc, Optional horizon As Nullable(Of Integer) = Nothing, Optional confidenceLevel As Nullable(Of Single) = Nothing) As TDst

参数

example
TSrc

预测引擎的输入。

horizon
Nullable<Int32>

要预测的值数。

confidenceLevel
Nullable<Single>

预测的置信度。

返回

TDst

模型更新后预测/预测 example

适用于

Predict(TSrc, TDst, Nullable<Int32>, Nullable<Single>)

执行预测。 如果仅预测任务 example 可以为 null。 如果 example 不是 null,则它可用于更新具有新模糊的预测模型。 对于异常情况检测,模型始终使用 example.

public void Predict (TSrc example, ref TDst prediction, int? horizon = default, float? confidenceLevel = default);
override this.Predict : 'Src * 'Dst * Nullable<int> * Nullable<single> -> unit
Public Sub Predict (example As TSrc, ByRef prediction As TDst, Optional horizon As Nullable(Of Integer) = Nothing, Optional confidenceLevel As Nullable(Of Single) = Nothing)

参数

example
TSrc

预测引擎的输入。

prediction
TDst

来自引擎的预测/预测。

horizon
Nullable<Int32>

用于指示要预测的值数。

confidenceLevel
Nullable<Single>

在预测模型中用于置信度。

适用于