13 references to WeightCount
Microsoft.ML.StandardTrainers (13)
Standard\LogisticRegression\LbfgsPredictorBase.cs (13)
329float[] initWeights = new float[BiasCount + WeightCount]; 337init = VBufferUtils.CreateEmpty<float>(BiasCount + WeightCount); 351var oldWeights = VBufferUtils.CreateEmpty<float>(BiasCount + WeightCount); 397sgdWeights = VBufferUtils.CreateDense<float>(BiasCount + WeightCount); 399sgdWeights = VBufferUtils.CreateEmpty<float>(BiasCount + WeightCount); 548float[] betaArray = new float[WeightCount + BiasCount]; 677int size = BiasCount + WeightCount; 709ch.Assert(CurrentWeights.Length == BiasCount + WeightCount); 716ch.Info("L1 regularization selected {0} of {1} weights.", numParams, BiasCount + WeightCount); 729Contracts.Assert(vec.Length == BiasCount + WeightCount); 747Contracts.Assert(x.Length == BiasCount + WeightCount); 748Contracts.Assert(gradient.Length == BiasCount + WeightCount); 894var initWeights = new float[BiasCount + WeightCount];