2 instantiations of TextFileSample
Microsoft.ML.AutoML (2)
ColumnInference\TextFileSample.cs (2)
156return new TextFileSample(StitchChunks(false, chunks.ToArray()), fileSize, approximateRowCount); 168return new TextFileSample(StitchChunks(readCount == stream.Length, buf),
15 references to TextFileSample
Microsoft.ML.AutoML (13)
ColumnInference\ColumnInferenceApi.cs (6)
16var sample = TextFileSample.CreateFromFullFile(path); 41var sample = TextFileSample.CreateFromFullFile(path); 107private static TextFileContents.ColumnSplitResult InferSplit(MLContext context, TextFileSample sample, char? separatorChar, bool? allowQuotedStrings, bool? supportSparse) 133private static ColumnTypeInference.InferenceResult InferColumnTypes(MLContext context, TextFileSample sample,
ColumnInference\TextFileSample.cs (7)
74public static TextFileSample CreateFromFullFile(string path) 83/// Create a <see cref="TextFileSample"/> by reading multiple chunks from the file (or other source) and 91/// 5. Stitch and return a <see cref="TextFileSample"/>. 93public static TextFileSample CreateFromFullStream(Stream stream) 160/// Create a <see cref="TextFileSample"/> by reading one chunk from the beginning. 162private static TextFileSample CreateFromHead(Stream stream) 177/// then joins the rest together to form a final byte buffer and returns a <see cref="TextFileSample"/>
Microsoft.ML.AutoML.Tests (2)
ColumnInferenceTests.cs (1)
205var sample = TextFileSample.CreateFromFullFile(dataset);
TextFileSampleTests.cs (1)
50var sample = TextFileSample.CreateFromFullStream(stream);