2 instantiations of InferenceResult
Microsoft.ML.AutoML (2)
ColumnInference\ColumnTypeInference.cs (2)
127
return new
InferenceResult
(true, columns, hasHeader, data);
132
return new
InferenceResult
(false, null, false, null);
13 references to InferenceResult
Microsoft.ML.AutoML (13)
ColumnInference\ColumnInferenceApi.cs (5)
18
var
typeInference = InferColumnTypes(context, sample, splitInference, hasHeader, labelColumnIndex, null);
43
var
typeInference = InferColumnTypes(context, sample, splitInference, hasHeader, null, columnInfo.LabelColumnName);
48
TextFileContents.ColumnSplitResult splitInference, ColumnTypeInference.
InferenceResult
typeInference,
133
private static ColumnTypeInference.
InferenceResult
InferColumnTypes(MLContext context, TextFileSample sample,
137
var
typeInferenceResult = ColumnTypeInference.InferTextFileColumnTypes(context, sample,
ColumnInference\ColumnTypeInference.cs (8)
125
public static
InferenceResult
Success(Column[] columns, bool hasHeader, ReadOnlyMemory<char>[][] data)
130
public static
InferenceResult
Fail()
240
public static
InferenceResult
InferTextFileColumnTypes(MLContext context, IMultiStreamSource fileSource, Arguments args)
245
private static
InferenceResult
InferTextFileColumnTypesCore(MLContext context, IMultiStreamSource fileSource, Arguments args)
250
return
InferenceResult
.Fail();
256
return
InferenceResult
.Fail();
311
return
InferenceResult
.Fail();
370
return
InferenceResult
.Success(outCols, args.HasHeader, cols.Select(col => col.RawData).ToArray());