2 writes to ParametersCount
Microsoft.ML.StandardTrainers (2)
Standard\ModelStatistics.cs (2)
100
ParametersCount
= paramCount;
118
ParametersCount
= ctx.Reader.ReadInt32();
23 references to ParametersCount
Microsoft.ML.StandardTrainers (21)
Standard\ModelStatistics.cs (21)
119
Env.CheckDecode(
ParametersCount
> 0);
144
Env.Assert(
ParametersCount
> 0);
145
ctx.Writer.Write(
ParametersCount
);
164
writer.WriteLine("AIC: \t{0}", 2 *
ParametersCount
+ Deviance);
178
resultCollection.Add(new KeyValuePair<string, object>("AIC", 2 *
ParametersCount
+ Deviance));
188
builder.AddPrimitiveValue("AIC", NumberDataViewType.Single, 2 *
ParametersCount
+ Deviance);
275
float[] stdErrorValues = ctx.Reader.ReadFloatArray(
ParametersCount
);
277
env.CheckDecode(length >=
ParametersCount
);
279
if (length ==
ParametersCount
)
285
env.Assert(length >
ParametersCount
);
286
int[] stdErrorIndices = ctx.Reader.ReadIntArray(
ParametersCount
);
287
_coeffStdError = new VBuffer<float>(length,
ParametersCount
, stdErrorValues, stdErrorIndices);
320
Env.Assert(coeffStdErrorValues.Length ==
ParametersCount
);
362
var statisticsCount =
ParametersCount
- 1;
374
for (int i = 1; i <
ParametersCount
; i++)
413
List<CoefficientStatistics> result = new List<CoefficientStatistics>(
ParametersCount
- 1);
416
float[] zScores = new float[
ParametersCount
- 1];
417
for (int i = 1; i <
ParametersCount
; i++) //skip the bias term
442
for (int i = 1; i <
ParametersCount
; i++) //skip the bias term
464
if (paramCountCap >
ParametersCount
)
465
paramCountCap =
ParametersCount
;
Microsoft.ML.Tests (2)
TrainerEstimators\LbfgsTests.cs (2)
154
Assert.Equal(7, stats.
ParametersCount
);
244
Assert.Equal(11, stats.
ParametersCount
);