Share via


ComputeLRTrainingStdThroughMkl.ComputeStandardDeviation Method

Definition

Computes the standart deviation matrix of each of the non-zero training weights, needed to calculate further the standart deviation, p-value and 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)

Parameters

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

The IChannel used for messaging.

l2Weight
Single

The L2Weight used for training. (Supply the same one that got used during training.)

Returns

Applies to