134 references to InputOutputColumnPair
Microsoft.ML.AutoML (6)
AutoMlUtils.cs (1)
42
res.Add(new
InputOutputColumnPair
(outputs[i], inputs[i]));
EstimatorExtensions\EstimatorExtensions.cs (5)
113
var pair = new
InputOutputColumnPair
(outColumns[i], inColumns[i]);
140
var pair = new
InputOutputColumnPair
(outColumns[i], inColumns[i]);
188
cols[i] = new
InputOutputColumnPair
(outColumns[i], inColumns[i]);
219
cols[i] = new
InputOutputColumnPair
(outColumns[i], inColumns[i]);
266
cols[i] = new
InputOutputColumnPair
(outColumns[i], inColumns[i]);
Microsoft.ML.Data (1)
Transforms\ExtensionsCatalog.cs (1)
49
infos.Select(info => new
InputOutputColumnPair
(info.outputColumnName, info.inputColumnName)).ToList().AsReadOnly();
Microsoft.ML.Samples (30)
Dynamic\Transforms\Categorical\OneHotEncodingMultiColumn.cs (2)
33
new
InputOutputColumnPair
("Education"),
34
new
InputOutputColumnPair
("ZipCode")
Dynamic\Transforms\Categorical\OneHotHashEncodingMultiColumn.cs (2)
33
new
InputOutputColumnPair
("Education"),
34
new
InputOutputColumnPair
("ZipCode")
Dynamic\Transforms\Conversion\ConvertTypeMultiColumn.cs (4)
42
new
InputOutputColumnPair
("Converted1", "Feature1"),
43
new
InputOutputColumnPair
("Converted2", "Feature2"),
44
new
InputOutputColumnPair
("Converted3", "Feature3"),
45
new
InputOutputColumnPair
("Converted4", "Feature4"),
Dynamic\Transforms\Conversion\MapKeyToValueMultiColumn.cs (2)
48
new
InputOutputColumnPair
("LabelOriginalValue","Label"),
49
new
InputOutputColumnPair
("PredictedLabelOriginalValue",
Dynamic\Transforms\Conversion\MapKeyToVectorMultiColumn.cs (2)
35
new
InputOutputColumnPair
("TimeframeVector", "Timeframe"),
36
new
InputOutputColumnPair
("CategoryVector", "Category")
Dynamic\Transforms\Conversion\MapValueToKeyMultiColumn.cs (4)
31
new
InputOutputColumnPair
("StudyTimeCategory", "StudyTime"),
32
new
InputOutputColumnPair
("CourseCategory", "Course")
83
new
InputOutputColumnPair
("StudyTimeCategory", "StudyTime"),
84
new
InputOutputColumnPair
("CourseCategory", "Course")
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnCountMultiColumn.cs (2)
41
InputOutputColumnPair
("NumericVector"), new
InputOutputColumnPair
(
Dynamic\Transforms\FeatureSelection\SelectFeaturesBasedOnMutualInformationMultiColumn.cs (2)
41
{ new
InputOutputColumnPair
("NumericVectorA"), new
42
InputOutputColumnPair
("NumericVectorB") }, labelColumnName: "Label",
Dynamic\Transforms\IndicateMissingValuesMultiColumn.cs (2)
36
new
InputOutputColumnPair
("MissingIndicator1", "Features1"),
37
new
InputOutputColumnPair
("MissingIndicator2", "Features2")
Dynamic\Transforms\NormalizeBinningMulticolumn.cs (2)
38
new
InputOutputColumnPair
("Features"),
39
new
InputOutputColumnPair
("Features2"),
Dynamic\Transforms\NormalizeMinMaxMulticolumn.cs (2)
46
new
InputOutputColumnPair
("Features"),
47
new
InputOutputColumnPair
("Features2")
Dynamic\Transforms\ReplaceMissingValuesMultiColumn.cs (4)
37
new
InputOutputColumnPair
("MissingReplaced1", "Features1"),
38
new
InputOutputColumnPair
("MissingReplaced2", "Features2")
72
new
InputOutputColumnPair
("MissingReplaced1", "Features1"),
73
new
InputOutputColumnPair
("MissingReplaced2", "Features2")
Microsoft.ML.TensorFlow.Tests (3)
TensorflowTests.cs (3)
1282
new[] { new
InputOutputColumnPair
("Features", "TokenizedWords") }));
1351
.Append(_mlContext.Transforms.CopyColumns(new[] { new
InputOutputColumnPair
("AOut", "Original_A"), new
InputOutputColumnPair
("BOut", "Joined_Splited_Text") }));
Microsoft.ML.Tests (92)
OnnxConversionTest.cs (1)
1167
var pipeline = mlContext.Transforms.IndicateMissingValues(new[] { new
InputOutputColumnPair
("MissingIndicator", "Features"), })
Transformers\CountTargetEncodingTests.cs (14)
33
new
InputOutputColumnPair
("ScalarString"), new
InputOutputColumnPair
("VectorString") }, "Label");
64
new
InputOutputColumnPair
("ScalarString"), new
InputOutputColumnPair
("VectorString") }, "Label", CountTableBuilderBase.CreateCMCountTableBuilder(2, 1 << 6));
67
estimator = ML.Transforms.CountTargetEncode(new[] { new
InputOutputColumnPair
("ScalarString"), new
InputOutputColumnPair
("VectorString") }, transformer);
85
new
InputOutputColumnPair
("ScalarString"), new
InputOutputColumnPair
("VectorString") }, "Label", CountTableBuilderBase.CreateCMCountTableBuilder(2, 1 << 6), laplaceScale: 1f)
93
new
InputOutputColumnPair
("ScalarString"), new
InputOutputColumnPair
("VectorString") }, "Label", CountTableBuilderBase.CreateCMCountTableBuilder(2, 1 << 6))
102
new
InputOutputColumnPair
("ScalarString"), new
InputOutputColumnPair
("VectorString") }, "Label", CountTableBuilderBase.CreateCMCountTableBuilder(2, 1 << 6))
170
ML.Transforms.CountTargetEncode(new[] { new
InputOutputColumnPair
("ScalarString1", "ScalarString"), new
InputOutputColumnPair
("VectorString2", "VectorString") },
Transformers\FeatureSelectionTests.cs (2)
180
new
InputOutputColumnPair
("out1", "VectorFloat"),
181
new
InputOutputColumnPair
("out2", "VectorDouble")
Transformers\KeyToBinaryVectorEstimatorTest.cs (9)
54
var pipe = ML.Transforms.Conversion.MapKeyToBinaryVector(new[] { new
InputOutputColumnPair
("CatA", "TermA"), new
InputOutputColumnPair
("CatC", "TermC") });
101
new
InputOutputColumnPair
("CatA", "TA"),
102
new
InputOutputColumnPair
("CatB", "TB"),
103
new
InputOutputColumnPair
("CatC", "TC"),
104
new
InputOutputColumnPair
("CatD", "TD")
155
var pipe = ML.Transforms.Conversion.MapKeyToBinaryVector(new[] { new
InputOutputColumnPair
("CatA", "TermA"), new
InputOutputColumnPair
("CatB", "TermB"), new
InputOutputColumnPair
("CatC", "TermC") });
Transformers\NAIndicatorTests.cs (12)
48
new
InputOutputColumnPair
("NAA", "A"),
49
new
InputOutputColumnPair
("NAB", "B"),
50
new
InputOutputColumnPair
("NAC", "C"),
51
new
InputOutputColumnPair
("NAD", "D")
76
new
InputOutputColumnPair
("NAA", "A"),
77
new
InputOutputColumnPair
("NAB", "B"),
78
new
InputOutputColumnPair
("NAC", "C"),
79
new
InputOutputColumnPair
("NAD", "D")
106
new
InputOutputColumnPair
("A", "ScalarFloat"),
107
new
InputOutputColumnPair
("B", "ScalarDouble"),
108
new
InputOutputColumnPair
("C", "VectorFloat"),
109
new
InputOutputColumnPair
("D", "VectorDoulbe")
Transformers\NormalizerTests.cs (28)
239
new[] { new
InputOutputColumnPair
("float1"), new
InputOutputColumnPair
("float4"),
240
new
InputOutputColumnPair
("double1"), new
InputOutputColumnPair
("double4"), })
242
new[] {new
InputOutputColumnPair
("float1bin", "float1"), new
InputOutputColumnPair
("float4bin", "float4"),
243
new
InputOutputColumnPair
("double1bin", "double1"), new
InputOutputColumnPair
("double4bin", "double4")}))
245
new[] {new
InputOutputColumnPair
("float1mv", "float1"), new
InputOutputColumnPair
("float4mv", "float4"),
246
new
InputOutputColumnPair
("double1mv", "double1"), new
InputOutputColumnPair
("double4mv", "double4")}))
248
new[] {new
InputOutputColumnPair
("float1lmv", "float1"), new
InputOutputColumnPair
("float4lmv", "float4"),
249
new
InputOutputColumnPair
("double1lmv", "double1"), new
InputOutputColumnPair
("double4lmv", "double4")}))
251
new[] {new
InputOutputColumnPair
("float1nsb", "float1"), new
InputOutputColumnPair
("float4nsb", "float4"),
252
new
InputOutputColumnPair
("double1nsb", "double1"), new
InputOutputColumnPair
("double4nsb", "double4")}));
392
new[] {new
InputOutputColumnPair
("float1rbs", "float1"), new
InputOutputColumnPair
("float4rbs", "float4"),
393
new
InputOutputColumnPair
("double1rbs", "double1"), new
InputOutputColumnPair
("double4rbs", "double4")});
431
new[] {new
InputOutputColumnPair
("float1rbs", "float1"), new
InputOutputColumnPair
("float4rbs", "float4"),
432
new
InputOutputColumnPair
("double1rbs", "double1"), new
InputOutputColumnPair
("double4rbs", "double4")}
Transformers\ValueMappingTests.cs (26)
146
Append(ML.Transforms.Conversion.MapValue(keyValuePairs, true, new[] { new
InputOutputColumnPair
("VecD", "TokenizeA"), new
InputOutputColumnPair
("E", "B"), new
InputOutputColumnPair
("F", "C") }));
371
new[] { new
InputOutputColumnPair
("D", "A"), new
InputOutputColumnPair
("E", "B"), new
InputOutputColumnPair
("F", "C") });
403
new[] { new
InputOutputColumnPair
("D", "A"), new
InputOutputColumnPair
("E", "B"), new
InputOutputColumnPair
("F", "C") });
437
var estimator = ML.Transforms.Conversion.MapValue(keyValuePairs, true, new[] { new
InputOutputColumnPair
("D", "A"), new
InputOutputColumnPair
("E", "B"), new
InputOutputColumnPair
("F", "C") });
478
var estimator = ML.Transforms.Conversion.MapValue(keyValuePairs, true, new[] { new
InputOutputColumnPair
("D", "A"), new
InputOutputColumnPair
("E", "B"), new
InputOutputColumnPair
("F", "C") });
519
var estimator = ML.Transforms.Conversion.MapValue(keyValuePairs, true, new[] { new
InputOutputColumnPair
("D", "A"), new
InputOutputColumnPair
("E", "B"), new
InputOutputColumnPair
("F", "C") });
601
var est = ML.Transforms.Conversion.MapValue(keyValuePairs, new[] { new
InputOutputColumnPair
("D", "A"), new
InputOutputColumnPair
("E", "B"), new
InputOutputColumnPair
("F", "C") });
620
var est = ML.Transforms.Conversion.MapValue(keyValuePairs, new[] { new
InputOutputColumnPair
("D", "A"), new
InputOutputColumnPair
("E", "B"), new
InputOutputColumnPair
("F", "C") });
693
new[] { new
InputOutputColumnPair
("D", "A"), new
InputOutputColumnPair
("E", "B") });
Microsoft.ML.Transforms (2)
Dracula\CountTargetEncodingTransformer.cs (2)
151
columns.Select(c => new
InputOutputColumnPair
(c.OutputColumnName, c.OutputColumnName)).ToArray());
535
return new CountTargetEncodingEstimator(CatalogUtils.GetEnvironment(catalog), labelColumn, initialCounts, new[] { new
InputOutputColumnPair
(outputColumnName, inputColumnName) });