語言

ComputeLRTrainingStdThroughMkl.ComputeStandardDeviation 方法

定義

計算每個非零訓練權重的標準偏差矩陣,進一步計算標準偏差、p 值及 z 分數。

public override Microsoft.ML.Data.VBuffer<float> ComputeStandardDeviation(double[] hessian, int[] weightIndices, int numSelectedParams, int currentWeightsCount, Microsoft.ML.Runtime.IChannel ch, float l2Weight);
override this.ComputeStandardDeviation : double[] * int[] * int * int * Microsoft.ML.Runtime.IChannel * single -> Microsoft.ML.Data.VBuffer<single>
Public Overrides Function ComputeStandardDeviation (hessian As Double(), weightIndices As Integer(), numSelectedParams As Integer, currentWeightsCount As Integer, ch As IChannel, l2Weight As Single) As VBuffer(Of Single)

參數

hessian
Double[]
weightIndices
Int32[]
numSelectedParams
Int32
currentWeightsCount
Int32
ch
IChannel

用來 IChannel 傳訊息。

l2Weight
Single

訓練用的L2Weight。 (提供訓練時用過的那個。)

傳回

適用於