ComputeLRTrainingStdThroughMkl.ComputeStandardDeviation 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
计算每个非零训练权重(需要进一步计算非零训练权重、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
- l2Weight
- Single
用于训练的 L2Weight。 (提供在 training.) 中使用的相同