语言

ComputeLogisticRegressionStandardDeviation.ComputeStandardDeviation 方法

定义

计算每个非零训练权重的标准偏差矩阵,该矩阵需要进一步计算标准偏差、p 值和 z-Score。 由于 MKL 的大小,计算不属于 Microsoft.ML 包。 如果需要这些计算,请添加 Microsoft.ML.Mkl.Components 包,并初始化ComputeStandardDeviation到 ComputeLogisticRegressionStandardDeviation Microsoft.ML.Mkl.Components 包中的实现。 由于存在正则化,近似值用于计算定型线性系数的方差。

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

参数

hessian
Double[]
weightIndices
Int32[]
parametersCount
Int32
currentWeightsCount
Int32
l2Weight
Single

返回

适用于