3 writes to Biases
Microsoft.ML.StandardTrainers (3)
Standard\LogisticRegression\MulticlassLogisticRegression.cs (3)
469
Biases
= new float[NumberOfClasses];
512
Biases
= new float[NumberOfClasses];
557
Biases
= ctx.Reader.ReadFloatArray(NumberOfClasses);
18 references to Biases
Microsoft.ML.StandardTrainers (18)
Standard\LogisticRegression\MulticlassLogisticRegression.cs (18)
470
for (int i = 0; i <
Biases
.Length; i++)
471
weights.GetItemOrDefault(i, ref
Biases
[i]);
517
Biases
[iClass] = bias[iClass];
629
Host.Assert(
Biases
.Length == NumberOfClasses);
630
Host.Assert(
Biases
.Length == Weights.Length);
653
ctx.Writer.WriteSinglesNoCount(
Biases
.AsSpan(0, NumberOfClasses));
790
for (int i = 0; i <
Biases
.Length; i++)
791
editor.Values[i] =
Biases
[i] + VectorUtils.DotProduct(in weights[i], in src);
840
for (int classNumber = 0; classNumber <
Biases
.Length; classNumber++)
844
Biases
[classNumber]
911
for (int i = 0; i <
Biases
.Length; i++)
915
Biases
[i],
957
predictor["const"] = new JArray(
Biases
);
995
node.AddAttribute("intercepts",
Biases
);
1042
return
Biases
;
1047
Contracts.Assert(Weights.Length ==
Biases
.Length);
1103
bldr.AddColumn("Bias", NumberDataViewType.Single,
Biases
);
1257
for (int c = 0; c <
Biases
.Length; c++)