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