MatrixFactorizationPredictionTransformer Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Trains a MatrixFactorizationModelParameters. It factorizes the training matrix into the product of two low-rank matrices.
public sealed class MatrixFactorizationPredictionTransformer : Microsoft.ML.Data.PredictionTransformerBase<Microsoft.ML.Trainers.Recommender.MatrixFactorizationModelParameters>
type MatrixFactorizationPredictionTransformer = class
inherit PredictionTransformerBase<MatrixFactorizationModelParameters>
Public NotInheritable Class MatrixFactorizationPredictionTransformer
Inherits PredictionTransformerBase(Of MatrixFactorizationModelParameters)
- Inheritance
-
MatrixFactorizationPredictionTransformer
Properties
Model |
The model. (Inherited from PredictionTransformerBase<TModel>) |
Methods
Dispose() | (Inherited from PredictionTransformerBase<TModel>) |
GetOutputSchema(DataViewSchema) |
Schema propagation for transformers. Returns the output schema of the data, if the input schema is like the one provided. |
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 |
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. |