2 instantiations of TextFileSample
Microsoft.ML.AutoML (2)
ColumnInference\TextFileSample.cs (2)
156
return new
TextFileSample
(StitchChunks(false, chunks.ToArray()), fileSize, approximateRowCount);
168
return new
TextFileSample
(StitchChunks(readCount == stream.Length, buf),
15 references to TextFileSample
Microsoft.ML.AutoML (13)
ColumnInference\ColumnInferenceApi.cs (6)
16
var
sample =
TextFileSample
.CreateFromFullFile(path);
41
var
sample =
TextFileSample
.CreateFromFullFile(path);
107
private static TextFileContents.ColumnSplitResult InferSplit(MLContext context,
TextFileSample
sample, char? separatorChar, bool? allowQuotedStrings, bool? supportSparse)
133
private static ColumnTypeInference.InferenceResult InferColumnTypes(MLContext context,
TextFileSample
sample,
ColumnInference\TextFileSample.cs (7)
74
public 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
"/>.
93
public static
TextFileSample
CreateFromFullStream(Stream stream)
160
/// Create a <see cref="
TextFileSample
"/> by reading one chunk from the beginning.
162
private 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)
205
var
sample = TextFileSample.CreateFromFullFile(dataset);
TextFileSampleTests.cs (1)
50
var
sample = TextFileSample.CreateFromFullStream(stream);