Share via


ClusteringPredictionTransformer<TModel> Class

Definition

Base class for the ISingleFeaturePredictionTransformer<TModel> working on clustering tasks.

public sealed class ClusteringPredictionTransformer<TModel> : Microsoft.ML.Data.SingleFeaturePredictionTransformerBase<TModel> where TModel : class
type ClusteringPredictionTransformer<'Model (requires 'Model : null)> = class
    inherit SingleFeaturePredictionTransformerBase<'Model (requires 'Model : null)>
Public NotInheritable Class ClusteringPredictionTransformer(Of TModel)
Inherits SingleFeaturePredictionTransformerBase(Of TModel)

Type Parameters

TModel

An implementation of the Microsoft.ML.IPredictorProducing`1

Inheritance

Properties

FeatureColumnName

The name of the feature column used by the prediction transformer.

(Inherited from SingleFeaturePredictionTransformerBase<TModel>)
FeatureColumnType

The type of the prediction transformer

(Inherited from SingleFeaturePredictionTransformerBase<TModel>)
Model

The model.

(Inherited from PredictionTransformerBase<TModel>)

Methods

Dispose() (Inherited from PredictionTransformerBase<TModel>)
GetOutputSchema(DataViewSchema)

Schema propagation for this prediction transformer.

(Inherited from SingleFeaturePredictionTransformerBase<TModel>)
Transform(IDataView)

Transforms the input data.

(Inherited from PredictionTransformerBase<TModel>)

Explicit Interface Implementations

ICanSaveModel.Save(ModelSaveContext) (Inherited from PredictionTransformerBase<TModel>)
ITransformer.GetRowToRowMapper(DataViewSchema)

Gets a IRowToRowMapper instance.

(Inherited from PredictionTransformerBase<TModel>)
ITransformer.IsRowToRowMapper

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

(Inherited from PredictionTransformerBase<TModel>)

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