StochasticTrainerBase<TTransformer,TModel> 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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)
參數
- host
- IHost
- feature
- SchemaShape.Column
- label
- SchemaShape.Column
- weight
- SchemaShape.Column