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