PredictionEngine<TSrc,TDst> クラス

定義

以前にトレーニングされたモデル (および前の変換パイプライン) で単一の予測を行うクラス。

public sealed class PredictionEngine<TSrc,TDst> : Microsoft.ML.PredictionEngineBase<TSrc,TDst> where TSrc : class where TDst : class, new()
type PredictionEngine<'Src, 'Dst (requires 'Src : null and 'Dst : null and 'Dst : (new : unit -> 'Dst))> = class
    inherit PredictionEngineBase<'Src, 'Dst (requires 'Src : null and 'Dst : null and 'Dst : (new : unit -> 'Dst))>
Public NotInheritable Class PredictionEngine(Of TSrc, TDst)
Inherits PredictionEngineBase(Of TSrc, TDst)

型パラメーター

TSrc
TDst
継承
PredictionEngine<TSrc,TDst>

注釈

このクラスは、予測器で終わっていないトレーニング済みパイプラインでも使用できます。この場合、"予測" はすべての変換の結果にすぎません。

PredictionEngine はスレッド セーフではありません。 スレッド化された環境で使用すると、予期しない問題が発生する可能性があります。

プロパティ

OutputSchema

出力スキーマを提供します。

(継承元 PredictionEngineBase<TSrc,TDst>)

メソッド

Dispose()

以前にトレーニングされたモデル (および前の変換パイプライン) で単一の予測を行うクラス。

(継承元 PredictionEngineBase<TSrc,TDst>)
Predict(TSrc)

1 つの例で予測パイプラインを実行します。

(継承元 PredictionEngineBase<TSrc,TDst>)
Predict(TSrc, TDst)

1 つの例で予測パイプラインを実行します。

適用対象