PredictionTransformerBase<TModel> PredictionTransformerBase<TModel> PredictionTransformerBase<TModel> Class

Definition

Base class for transformers with no feature column, or more than one feature columns.

public abstract class PredictionTransformerBase<TModel> : Microsoft.ML.IPredictionTransformer<TModel>, Microsoft.ML.ITransformer where TModel : class
type PredictionTransformerBase<'Model (requires 'Model : null)> = class
    interface IPredictionTransformer<'Model (requires 'Model : null)>
    interface ITransformer
    interface ICanSaveModel
Public MustInherit Class PredictionTransformerBase(Of TModel)
Implements IPredictionTransformer(Of TModel), ITransformer

Type Parameters

TModel

The type of the model parameters used by this prediction transformer.

Inheritance
PredictionTransformerBase<TModel>PredictionTransformerBase<TModel>PredictionTransformerBase<TModel>
Derived
Implements

Properties

Model Model Model

The model.

Methods

GetOutputSchema(DataViewSchema) GetOutputSchema(DataViewSchema) GetOutputSchema(DataViewSchema)

Gets the output schema resulting from the Transform(IDataView)

Transform(IDataView) Transform(IDataView) Transform(IDataView)

Transforms the input data.

Explicit Interface Implementations

ICanSaveModel.Save(ModelSaveContext) ICanSaveModel.Save(ModelSaveContext) ICanSaveModel.Save(ModelSaveContext)
ITransformer.GetRowToRowMapper(DataViewSchema) ITransformer.GetRowToRowMapper(DataViewSchema) ITransformer.GetRowToRowMapper(DataViewSchema)

Gets a IRowToRowMapper instance.

ITransformer.IsRowToRowMapper ITransformer.IsRowToRowMapper ITransformer.IsRowToRowMapper

Whether a call to GetRowToRowMapper(DataViewSchema) should succeed, on an appropriate schema.

Extension Methods

Preview(ITransformer, IDataView, Int32) Preview(ITransformer, IDataView, Int32) Preview(ITransformer, IDataView, Int32)

Preview an effect of the transformer on a given data.

Append<TTrans>(ITransformer, TTrans) Append<TTrans>(ITransformer, TTrans) 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, Boolean, SchemaDefinition, SchemaDefinition) CreateTimeSeriesEngine<TSrc,TDst>(ITransformer, IHostEnvironment, Boolean, SchemaDefinition, SchemaDefinition) 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