LinearMulticlassModelParametersBase.GetWeights 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將每個類別的加權向量複製到一組緩衝區中。
public void GetWeights (ref Microsoft.ML.Data.VBuffer<float>[] weights, out int numClasses);
member this.GetWeights : VBuffer * int -> unit
Public Sub GetWeights (ByRef weights As VBuffer(Of Single)(), ByRef numClasses As Integer)
參數
- numClasses
- Int32
設定為排名,這也是 的 weights
邏輯長度。