Share via


TreeEnsembleFeaturizationTransformer Class

Definition

ITransformer resulting from fitting any derived class of TreeEnsembleFeaturizationEstimatorBase. The derived classes include, for example, FastTreeBinaryFeaturizationEstimator and FastForestRegressionFeaturizationEstimator.

public sealed class TreeEnsembleFeaturizationTransformer : Microsoft.ML.Data.PredictionTransformerBase<Microsoft.ML.Trainers.FastTree.TreeEnsembleModelParameters>
type TreeEnsembleFeaturizationTransformer = class
    inherit PredictionTransformerBase<TreeEnsembleModelParameters>
Public NotInheritable Class TreeEnsembleFeaturizationTransformer
Inherits PredictionTransformerBase(Of TreeEnsembleModelParameters)
Inheritance
TreeEnsembleFeaturizationTransformer

Properties

Model

The model.

(Inherited from PredictionTransformerBase<TModel>)

Methods

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

TreeEnsembleFeaturizationTransformer appends three columns to the inputSchema. The three columns are all Single vectors. The fist column stores the prediction values of all trees and its default name is "Trees". The second column (default name: "Leaves") contains leaf IDs where the given feature vector falls into. The third column (default name: "Paths") encodes the paths to those leaves via a 0-1 vector.

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