BuilderExtensions.FromUri Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
FromUri<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String) |
Adds the model at the specified location to the builder. |
FromUri<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, String) |
Adds the named model at the specified location to the builder. |
FromUri<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, TimeSpan) |
Adds the model at the specified location to the builder. |
FromUri<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, Uri) |
Adds the named model at the specified location to the builder. |
FromUri<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, String, TimeSpan) |
Adds the named model at the specified location to the builder. |
FromUri<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, Uri, TimeSpan) |
Adds the named model at the specified location to the builder. |
FromUri<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String)
Adds the model at the specified location to the builder.
public static Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> FromUri<TData,TPrediction> (this Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> builder, string uri) where TData : class where TPrediction : class, new();
static member FromUri : 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 FromUri(Of TData As Class, TPrediction As Class) (builder As PredictionEnginePoolBuilder(Of TData, TPrediction), uri As String) As PredictionEnginePoolBuilder(Of TData, TPrediction)
Type Parameters
- TData
- TPrediction
Parameters
The builder to which to add the model.
- uri
- String
The location of the model.
Returns
The updated PredictionEnginePoolBuilder<TData,TPrediction>.
Applies to
FromUri<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, String)
Adds the named model at the specified location to the builder.
public static Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> FromUri<TData,TPrediction> (this Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> builder, string modelName, string uri) where TData : class where TPrediction : class, new();
static member FromUri : 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 FromUri(Of TData As Class, TPrediction As Class) (builder As PredictionEnginePoolBuilder(Of TData, TPrediction), modelName As String, uri As String) As PredictionEnginePoolBuilder(Of TData, TPrediction)
Type Parameters
- TData
- TPrediction
Parameters
The builder to which to add the model.
- modelName
- String
The name of the model which allows for uniquely identifying the model when
multiple models have the same TData
and
TPrediction
types.
- uri
- String
The location of the model.
Returns
The updated PredictionEnginePoolBuilder<TData,TPrediction>.
Applies to
FromUri<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, TimeSpan)
Adds the model at the specified location to the builder.
public static Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> FromUri<TData,TPrediction> (this Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> builder, string uri, TimeSpan period) where TData : class where TPrediction : class, new();
static member FromUri : Microsoft.Extensions.ML.PredictionEnginePoolBuilder<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))> * string * TimeSpan -> 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 FromUri(Of TData As Class, TPrediction As Class) (builder As PredictionEnginePoolBuilder(Of TData, TPrediction), uri As String, period As TimeSpan) As PredictionEnginePoolBuilder(Of TData, TPrediction)
Type Parameters
- TData
- TPrediction
Parameters
The builder to which to add the model.
- uri
- String
The location of the model.
- period
- TimeSpan
How often to query if the model has been updated at the specified location.
Returns
The updated PredictionEnginePoolBuilder<TData,TPrediction>.
Applies to
FromUri<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, Uri)
Adds the named model at the specified location to the builder.
public static Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> FromUri<TData,TPrediction> (this Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> builder, string modelName, Uri uri) where TData : class where TPrediction : class, new();
static member FromUri : Microsoft.Extensions.ML.PredictionEnginePoolBuilder<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))> * string * Uri -> 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 FromUri(Of TData As Class, TPrediction As Class) (builder As PredictionEnginePoolBuilder(Of TData, TPrediction), modelName As String, uri As Uri) As PredictionEnginePoolBuilder(Of TData, TPrediction)
Type Parameters
- TData
- TPrediction
Parameters
The builder to which to add the model.
- modelName
- String
The name of the model which allows for uniquely identifying the model when
multiple models have the same TData
and
TPrediction
types.
- uri
- Uri
The location of the model.
Returns
The updated PredictionEnginePoolBuilder<TData,TPrediction>.
Applies to
FromUri<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, String, TimeSpan)
Adds the named model at the specified location to the builder.
public static Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> FromUri<TData,TPrediction> (this Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> builder, string modelName, string uri, TimeSpan period) where TData : class where TPrediction : class, new();
static member FromUri : Microsoft.Extensions.ML.PredictionEnginePoolBuilder<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))> * string * string * TimeSpan -> 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 FromUri(Of TData As Class, TPrediction As Class) (builder As PredictionEnginePoolBuilder(Of TData, TPrediction), modelName As String, uri As String, period As TimeSpan) As PredictionEnginePoolBuilder(Of TData, TPrediction)
Type Parameters
- TData
- TPrediction
Parameters
The builder to which to add the model.
- modelName
- String
The name of the model which allows for uniquely identifying the model when
multiple models have the same TData
and
TPrediction
types.
- uri
- String
The location of the model.
- period
- TimeSpan
How often to query if the model has been updated at the specified location.
Returns
The updated PredictionEnginePoolBuilder<TData,TPrediction>.
Applies to
FromUri<TData,TPrediction>(PredictionEnginePoolBuilder<TData,TPrediction>, String, Uri, TimeSpan)
Adds the named model at the specified location to the builder.
public static Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> FromUri<TData,TPrediction> (this Microsoft.Extensions.ML.PredictionEnginePoolBuilder<TData,TPrediction> builder, string modelName, Uri uri, TimeSpan period) where TData : class where TPrediction : class, new();
static member FromUri : Microsoft.Extensions.ML.PredictionEnginePoolBuilder<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))> * string * Uri * TimeSpan -> 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 FromUri(Of TData As Class, TPrediction As Class) (builder As PredictionEnginePoolBuilder(Of TData, TPrediction), modelName As String, uri As Uri, period As TimeSpan) As PredictionEnginePoolBuilder(Of TData, TPrediction)
Type Parameters
- TData
- TPrediction
Parameters
The builder to which to add the model.
- modelName
- String
The name of the model which allows for uniquely identifying the model when
multiple models have the same TData
and
TPrediction
types.
- uri
- Uri
The location of the model.
- period
- TimeSpan
How often to query if the model has been updated at the specified location.
Returns
The updated PredictionEnginePoolBuilder<TData,TPrediction>.