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