TextLoader 類別

定義

將文字檔載入 IDataView。 支援從輸入資料行到 IDataView 資料行的基本對應。

public sealed class TextLoader : Microsoft.ML.IDataLoader<Microsoft.ML.Data.IMultiStreamSource>
type TextLoader = class
    interface IDataLoader<IMultiStreamSource>
    interface ICanSaveModel
Public NotInheritable Class TextLoader
Implements IDataLoader(Of IMultiStreamSource)
繼承
TextLoader
實作

方法

GetOutputSchema()

載入器將產生的輸出 DataViewSchema

Load(IMultiStreamSource)

將資料從 sourceIDataView 載入 。

明確介面實作

ICanSaveModel.Save(ModelSaveContext)

將文字檔載入 IDataView。 支援從輸入資料行到 IDataView 資料行的基本對應。

擴充方法

Preview<TSource>(IDataLoader<TSource>, TSource, Int32)

預覽在指定 source 上的效果 loader

Append<TSource,TTrans>(IDataLoader<TSource>, TTrans)

將轉換器附加至此資料載入器,以建立新的複合載入器。

Append<TSource,TTrans>(IDataLoader<TSource>, IEstimator<TTrans>)

藉由將估算器附加至此資料載入器,以建立新的複合載入器估算器。

適用於