ComputeLRTrainingStdThroughMkl.ComputeStandardDeviation 方法

定义

计算每个非零训练权重(需要进一步计算非零训练权重、p 值和 z-Score)的自定偏差矩阵。

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。 (提供在 training.) 中使用的相同

返回

适用于