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