Dela via


StochasticTrainerBase<TTransformer,TModel> Constructor

Definition

public StochasticTrainerBase (Microsoft.ML.Runtime.IHost host, Microsoft.ML.SchemaShape.Column feature, Microsoft.ML.SchemaShape.Column label, Microsoft.ML.SchemaShape.Column weight = default);
new Microsoft.ML.Trainers.StochasticTrainerBase<'ransformer, 'Model (requires 'ransformer :> Microsoft.ML.ISingleFeaturePredictionTransformer<'Model> and 'Model : null)> : Microsoft.ML.Runtime.IHost * Microsoft.ML.SchemaShape.Column * Microsoft.ML.SchemaShape.Column * Microsoft.ML.SchemaShape.Column -> Microsoft.ML.Trainers.StochasticTrainerBase<'ransformer, 'Model (requires 'ransformer :> Microsoft.ML.ISingleFeaturePredictionTransformer<'Model> and 'Model : null)>
Public Sub New (host As IHost, feature As SchemaShape.Column, label As SchemaShape.Column, Optional weight As SchemaShape.Column = Nothing)

Parameters

host
IHost

Applies to