73 references to HousingRegression
Microsoft.ML.IntegrationTests (73)
Debugging.cs (9)
104var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir, TestDatasets.housing.trainFilename), hasHeader: true); 107var pipeline = mlContext.Transforms.Concatenate("Features", HousingRegression.Features) 133var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir, TestDatasets.housing.trainFilename), hasHeader: true); 142Assert.Equal(HousingRegression.Features[i - 1], column.Name); 147foreach (var row in mlContext.Data.CreateEnumerable<HousingRegression>(mlContext.Data.TakeRows(data, 1), true)) 151foreach (var property in HousingRegression.Features) 171var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir, TestDatasets.housing.trainFilename), hasHeader: true); 174var pipeline = mlContext.Transforms.Concatenate("Features", HousingRegression.Features)
Evaluation.cs (2)
268var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir, TestDatasets.housing.trainFilename), hasHeader: true); 270var pipeline = mlContext.Transforms.Concatenate("Features", HousingRegression.Features)
Explainability.cs (24)
35var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir, TestDatasets.housing.trainFilename), hasHeader: true); 38var pipeline = mlContext.Transforms.Concatenate("Features", HousingRegression.Features) 75Assert.Equal(HousingRegression.Features.Length, permutationMetrics.Length); 93var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir, TestDatasets.housing.trainFilename), hasHeader: true); 96var pipeline = mlContext.Transforms.Concatenate("Features", HousingRegression.Features) 105Assert.Equal(HousingRegression.Features.Length, weights.Count); 117var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir, TestDatasets.housing.trainFilename), hasHeader: true); 120var pipeline = mlContext.Transforms.Concatenate("Features", HousingRegression.Features) 132Assert.Equal(HousingRegression.Features.Length, weights.Length); 144var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir, TestDatasets.housing.trainFilename), hasHeader: true); 147var pipeline = mlContext.Transforms.Concatenate("Features", HousingRegression.Features) 159Assert.Equal(HousingRegression.Features.Length, weights.Length); 171var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir, TestDatasets.housing.trainFilename), hasHeader: true); 174var pipeline = mlContext.Transforms.Concatenate("Features", HousingRegression.Features) 195Assert.Equal(HousingRegression.Features.Length, row.FeatureContributions.Length); 208var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir, TestDatasets.housing.trainFilename), hasHeader: true); 211var pipeline = mlContext.Transforms.Concatenate("Features", HousingRegression.Features) 232Assert.Equal(HousingRegression.Features.Length, row.FeatureContributions.Length); 245var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir, TestDatasets.housing.trainFilename), hasHeader: true); 248var pipeline = mlContext.Transforms.Concatenate("Features", HousingRegression.Features) 269Assert.Equal(HousingRegression.Features.Length, row.FeatureContributions.Length); 283var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir, TestDatasets.housing.trainFilename), hasHeader: true); 286var pipeline = mlContext.Transforms.Concatenate("Features", HousingRegression.Features) 307Assert.Equal(HousingRegression.Features.Length, row.FeatureContributions.Length);
IntrospectiveTraining.cs (4)
35var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir, TestDatasets.housing.trainFilename), hasHeader: true); 38var pipeline = mlContext.Transforms.Concatenate("Features", HousingRegression.Features) 289var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir, TestDatasets.housing.trainFilename), hasHeader: true); 292var pipeline = mlContext.Transforms.Concatenate("Features", HousingRegression.Features)
ModelFiles.cs (8)
45var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir, TestDatasets.housing.trainFilename), hasHeader: true); 48var pipeline = mlContext.Transforms.Concatenate("Features", HousingRegression.Features) 92var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir, TestDatasets.housing.trainFilename), hasHeader: true); 95var pipeline = mlContext.Transforms.Concatenate("Features", HousingRegression.Features) 115var originalPredictionEngine = mlContext.Model.CreatePredictionEngine<HousingRegression, ScoreColumn>(model); 116var serializedPredictionEngine = mlContext.Model.CreatePredictionEngine<HousingRegression, ScoreColumn>(serializedModel); 119var dataEnumerator = mlContext.Data.CreateEnumerable<HousingRegression>(mlContext.Data.TakeRows(data, 5), false); 120foreach (var row in dataEnumerator)
ONNX.cs (18)
37var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir, TestDatasets.housing.trainFilename), hasHeader: true); 40var pipeline = mlContext.Transforms.Concatenate("Features", HousingRegression.Features) 64var originalPredictionEngine = mlContext.Model.CreatePredictionEngine<HousingRegression, ScoreColumn>(model); 65var onnxPredictionEngine = mlContext.Model.CreatePredictionEngine<HousingRegression, VectorScoreColumn>(onnxModel); 68var dataEnumerator = mlContext.Data.CreateEnumerable<HousingRegression>(mlContext.Data.TakeRows(data, 5), false); 69foreach (var row in dataEnumerator) 87var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir, TestDatasets.housing.trainFilename), hasHeader: true); 90var pipeline = mlContext.Transforms.Concatenate("Features", HousingRegression.Features) 115var originalPredictionEngine = mlContext.Model.CreatePredictionEngine<HousingRegression, VectorScoreColumn>(model); 117var onnxPredictionEngine = mlContext.Model.CreatePredictionEngine<HousingRegression, VectorScoreColumn>(onnxWorkaroundPipeline); 120var dataEnumerator = mlContext.Data.CreateEnumerable<HousingRegression>(mlContext.Data.TakeRows(data, 5), false); 121foreach (var row in dataEnumerator) 139var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir, TestDatasets.housing.trainFilename), hasHeader: true); 142var pipeline = mlContext.Transforms.Concatenate("Features", HousingRegression.Features) 162var originalPredictionEngine = mlContext.Model.CreatePredictionEngine<HousingRegression, ScoreColumn>(model); 164var onnxPredictionEngine = mlContext.Model.CreatePredictionEngine<HousingRegression, VectorScoreColumn>(onnxModel); 167var dataEnumerator = mlContext.Data.CreateEnumerable<HousingRegression>(mlContext.Data.TakeRows(data, 5), false); 168foreach (var row in dataEnumerator)
Training.cs (4)
312var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir, TestDatasets.housing.trainFilename), 317var featurizationPipeline = mlContext.Transforms.Concatenate("Features", HousingRegression.Features) 356var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir, TestDatasets.housing.trainFilename), 361var featurizationPipeline = mlContext.Transforms.Concatenate("Features", HousingRegression.Features)
Validation.cs (4)
38var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir, TestDatasets.housing.trainFilename), hasHeader: true); 41var pipeline = mlContext.Transforms.Concatenate("Features", HousingRegression.Features) 104var data = mlContext.Data.LoadFromTextFile<HousingRegression>(TestCommon.GetDataPath(DataDir, TestDatasets.housing.trainFilename), hasHeader: true); 112var pipeline = mlContext.Transforms.Concatenate("Features", HousingRegression.Features)