2 writes to Env
Microsoft.ML.StandardTrainers (2)
Standard\ModelStatistics.cs (2)
95
Env
= env;
109
Env
= env;
31 references to Env
Microsoft.ML.StandardTrainers (31)
Standard\ModelStatistics.cs (31)
97
Env
.Assert(trainingExampleCount > 0);
98
Env
.Assert(paramCount > 0);
110
Env
.AssertValue(ctx);
119
Env
.CheckDecode(ParametersCount > 0);
122
Env
.CheckDecode(TrainingExampleCount > 0);
130
Contracts.AssertValue(
Env
);
131
Env
.CheckValue(ctx, nameof(ctx));
144
Env
.Assert(ParametersCount > 0);
147
Env
.Assert(TrainingExampleCount > 0);
156
Contracts.AssertValue(
Env
);
157
Env
.CheckValue(writer, nameof(writer));
172
Contracts.AssertValue(
Env
);
173
Env
.AssertValue(resultCollection);
248
Env
.Assert(trainingExampleCount > 0);
249
Env
.Assert(paramCount > 0);
250
Env
.Assert(coeffStdError.Length > 0, nameof(coeffStdError));
251
Env
.Assert(weights.Length > 0, nameof(weights));
320
Env
.Assert(coeffStdErrorValues.Length == ParametersCount);
406
Contracts.AssertValue(
Env
);
408
Env
.Assert(_coeffStdError.Length == _weights.Length + 1);
420
Env
.Assert(0 <= wi && wi < _weights.Length);
435
Env
.Assert(names.Length > 0, "FeatureColumnName has no metadata.");
445
Env
.Assert(0 <= wi && wi < _weights.Length);
462
Env
.CheckParam(paramCountCap >= 0, nameof(paramCountCap));
484
Env
.Assert(featureNames.Length >= 1);
492
Contracts.AssertValue(
Env
);
493
Env
.Assert(0 <= probZ && probZ <= 1);
514
Env
.Assert(coeffStat.Index < featureNames.Length);
533
Env
.AssertValue(resultCollection);
549
Env
.Assert(coeffStat.Index < featureNames.Length);
559
Env
.AssertValue(schema);