44 references to Common
Microsoft.ML.IntegrationTests (44)
Common.cs (2)
72
Common
.AssertEqual(data1.Schema, data2.Schema);
145
Common
.AssertEqual(testType1.Features, testType2.Features);
DataIO.cs (5)
38
Common
.AssertTypeTestDataset(data);
56
Common
.AssertEqual(enumerableBefore, enumerableAfter);
77
Common
.AssertTestTypeDatasetsAreEqual(mlContext, dataBefore, dataAfter);
99
Common
.AssertTestTypeDatasetsAreEqual(mlContext, dataBefore, dataAfter);
116
Common
.AssertTestTypeDatasetsAreEqual(mlContext, dataBefore, dataAfter);
DataTransformation.cs (1)
156
Common
.AssertMetrics(metrics);
Evaluation.cs (10)
49
Common
.AssertMetrics(metrics);
78
Common
.AssertMetrics(metrics);
107
Common
.AssertMetrics(metrics);
135
Common
.AssertMetrics(metrics);
165
Common
.AssertMetrics(metrics);
200
Common
.AssertMetrics(metrics);
217
Common
.AssertMetrics(metrics);
256
Common
.AssertMetrics(metrics);
281
Common
.AssertMetrics(metrics);
312
Common
.AssertMetrics(metrics);
Explainability.cs (1)
77
Common
.AssertMetricsStatistics(metricsStatistics);
IntrospectiveTraining.cs (4)
161
Common
.AssertFiniteNumbers(shapeFunctionBins as IList<double>, shapeFunctionBins.Count - 1);
162
Common
.AssertFiniteNumbers(shapeFunctionValues as IList<double>);
277
Common
.AssertFiniteNumbers(config.Offset);
278
Common
.AssertFiniteNumbers(config.Scale);
ONNX.cs (1)
126
Common
.AssertEqual(originalPrediction.Score, onnxPrediction.Score, precision: 4);
Training.cs (17)
72
Common
.AssertMetrics(sdcaMetrics);
73
Common
.AssertMetrics(fastTreeMetrics);
74
Common
.AssertMetrics(ffmMetrics);
116
Common
.AssertEqual(firstModelWeights.ToArray(), firstModelWeightsPrime.ToArray());
118
Common
.AssertNotEqual(firstModelWeights.ToArray(), secondModelWeights.ToArray());
204
Common
.AssertEqual(firstModelWeights.ToArray(), firstModelWeightsPrime.ToArray());
206
Common
.AssertNotEqual(firstModelWeights.ToArray(), secondModelWeights.ToArray());
248
Common
.AssertEqual(firstModelWeights.ToArray(), firstModelWeightsPrime.ToArray());
250
Common
.AssertNotEqual(firstModelWeights.ToArray(), secondModelWeights.ToArray());
296
Common
.AssertEqual(firstModelWeights[i].DenseValues().ToArray(), firstModelWeightsPrime[i].DenseValues().ToArray());
300
Common
.AssertNotEqual(firstModelWeights[i].DenseValues().ToArray(), secondModelWeights[i].DenseValues().ToArray());
342
Common
.AssertEqual(firstModelWeights.ToArray(), firstModelWeightsPrime.ToArray());
344
Common
.AssertNotEqual(firstModelWeights.ToArray(), secondModelWeights.ToArray());
386
Common
.AssertEqual(firstModelWeights.ToArray(), firstModelWeightsPrime.ToArray());
388
Common
.AssertNotEqual(firstModelWeights.ToArray(), secondModelWeights.ToArray());
434
Common
.AssertEqual(firstModelWeights.ToArray(), firstModelWeightsPrime.ToArray());
436
Common
.AssertNotEqual(firstModelWeights.ToArray(), secondModelWeights.ToArray());
Validation.cs (3)
55
Common
.AssertMetrics(result.Metrics);
139
Common
.AssertMetrics(trainMetrics);
140
Common
.AssertMetrics(validMetrics);