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