Share via


TextClassificationTransformer Class

Definition

public sealed class TextClassificationTransformer : Microsoft.ML.TorchSharp.NasBert.NasBertTransformer<uint,long>
type TextClassificationTransformer = class
    inherit NasBertTransformer<uint32, int64>
Public NotInheritable Class TextClassificationTransformer
Inherits NasBertTransformer(Of UInteger, Long)
Inheritance
Inheritance

Fields

LabelColumn (Inherited from NasBertTransformer<TLabelCol,TTargetsCol>)
SentenceColumn (Inherited from NasBertTransformer<TLabelCol,TTargetsCol>)
SentenceColumn2 (Inherited from NasBertTransformer<TLabelCol,TTargetsCol>)

Methods

Dispose() (Inherited from TorchSharpBaseTransformer<TLabelCol,TTargetsCol>)
Dispose(Boolean) (Inherited from TorchSharpBaseTransformer<TLabelCol,TTargetsCol>)
GetOutputSchema(DataViewSchema) (Inherited from RowToRowTransformerBase)
GetOutputSchema(SchemaShape) (Inherited from NasBertTransformer<TLabelCol,TTargetsCol>)
Transform(IDataView) (Inherited from RowToRowTransformerBase)

Explicit Interface Implementations

ICanSaveModel.Save(ModelSaveContext) (Inherited from RowToRowTransformerBase)
ITransformer.GetRowToRowMapper(DataViewSchema) (Inherited from RowToRowTransformerBase)
ITransformer.IsRowToRowMapper (Inherited from RowToRowTransformerBase)

Extension Methods

Preview(ITransformer, IDataView, Int32)

Preview an effect of the transformer on a given data.

Append<TTrans>(ITransformer, TTrans)

Create a new transformer chain, by appending another transformer to the end of this transformer chain.

CreateTimeSeriesEngine<TSrc,TDst>(ITransformer, IHostEnvironment, PredictionEngineOptions)

TimeSeriesPredictionEngine<TSrc,TDst> creates a prediction engine for a time series pipeline. It updates the state of time series model with observations seen at prediction phase and allows checkpointing the model.

CreateTimeSeriesEngine<TSrc,TDst>(ITransformer, IHostEnvironment, Boolean, SchemaDefinition, SchemaDefinition)

TimeSeriesPredictionEngine<TSrc,TDst> creates a prediction engine for a time series pipeline. It updates the state of time series model with observations seen at prediction phase and allows checkpointing the model.

Applies to