次の方法で共有


BuilderExtensions.FromFile メソッド

定義

オーバーロード

FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String)

指定したファイルにあるモデルをビルダーに追加します。

FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, Boolean)

指定したファイルにあるモデルをビルダーに追加します。

FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, String)

指定したファイルにあるモデルをビルダーに追加します。

FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, String, Boolean)

指定したファイルにあるモデルをビルダーに追加します。

FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String)

指定したファイルにあるモデルをビルダーに追加します。

public static Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> FromFile<TData,TPrediction> (this Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> builder, string filePath) where TData : class where TPrediction : class, new();
static member FromFile : Microsoft.Extensions.ML.PredictionEnginePoolBuilder<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))> * string -> Microsoft.Extensions.ML.PredictionEnginePoolBuilder<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))> (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))
<Extension()>
Public Function FromFile(Of TData As Class, TPrediction As Class) (builder As PredictionEnginePoolBuilder(Of TData, TPrediction), filePath As String) As PredictionEnginePoolBuilder(Of TData, TPrediction)

型パラメーター

TData
TPrediction

パラメーター

builder
PredictionEnginePoolBuilder<TData,TPrediction>

モデルを追加するビルダー。

filePath
String

モデルの場所。

戻り値

更新された PredictionEnginePoolBuilder<TData,TPrediction>

適用対象

FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, Boolean)

指定したファイルにあるモデルをビルダーに追加します。

public static Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> FromFile<TData,TPrediction> (this Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> builder, string filePath, bool watchForChanges) where TData : class where TPrediction : class, new();
static member FromFile : Microsoft.Extensions.ML.PredictionEnginePoolBuilder<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))> * string * bool -> Microsoft.Extensions.ML.PredictionEnginePoolBuilder<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))> (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))
<Extension()>
Public Function FromFile(Of TData As Class, TPrediction As Class) (builder As PredictionEnginePoolBuilder(Of TData, TPrediction), filePath As String, watchForChanges As Boolean) As PredictionEnginePoolBuilder(Of TData, TPrediction)

型パラメーター

TData
TPrediction

パラメーター

builder
PredictionEnginePoolBuilder<TData,TPrediction>

モデルを追加するビルダー。

filePath
String

モデルの場所。

watchForChanges
Boolean

ファイル パスの変更を監視し、ファイルが変更されたときにモデルを更新するかどうか。

戻り値

更新された PredictionEnginePoolBuilder<TData,TPrediction>

適用対象

FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, String)

指定したファイルにあるモデルをビルダーに追加します。

public static Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> FromFile<TData,TPrediction> (this Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> builder, string modelName, string filePath) where TData : class where TPrediction : class, new();
static member FromFile : Microsoft.Extensions.ML.PredictionEnginePoolBuilder<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))> * string * string -> Microsoft.Extensions.ML.PredictionEnginePoolBuilder<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))> (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))
<Extension()>
Public Function FromFile(Of TData As Class, TPrediction As Class) (builder As PredictionEnginePoolBuilder(Of TData, TPrediction), modelName As String, filePath As String) As PredictionEnginePoolBuilder(Of TData, TPrediction)

型パラメーター

TData
TPrediction

パラメーター

builder
PredictionEnginePoolBuilder<TData,TPrediction>

モデルを追加するビルダー。

modelName
String

複数のモデルが同じTDataTPredictionで型がある場合にモデルを一意に識別できるモデルの名前。

filePath
String

モデルの場所。

戻り値

更新された PredictionEnginePoolBuilder<TData,TPrediction>

適用対象

FromFile<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, String, Boolean)

指定したファイルにあるモデルをビルダーに追加します。

public static Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> FromFile<TData,TPrediction> (this Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> builder, string modelName, string filePath, bool watchForChanges) where TData : class where TPrediction : class, new();
static member FromFile : Microsoft.Extensions.ML.PredictionEnginePoolBuilder<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))> * string * string * bool -> Microsoft.Extensions.ML.PredictionEnginePoolBuilder<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))> (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))
<Extension()>
Public Function FromFile(Of TData As Class, TPrediction As Class) (builder As PredictionEnginePoolBuilder(Of TData, TPrediction), modelName As String, filePath As String, watchForChanges As Boolean) As PredictionEnginePoolBuilder(Of TData, TPrediction)

型パラメーター

TData
TPrediction

パラメーター

builder
PredictionEnginePoolBuilder<TData,TPrediction>

モデルを追加するビルダー。

modelName
String

複数のモデルが同じTDataTPredictionで型がある場合にモデルを一意に識別できるモデルの名前。

filePath
String

モデルの場所。

watchForChanges
Boolean

ファイル パスの変更を監視し、ファイルが変更されたときにモデルを更新するかどうか。

戻り値

更新された PredictionEnginePoolBuilder<TData,TPrediction>

適用対象