LearningPipelineExtensions.AppendCacheCheckpoint<TTrans> Method

Definition

Append a 'caching checkpoint' to the estimator chain. This will ensure that the downstream estimators will be trained against cached data. It is helpful to have a caching checkpoint before trainers that take multiple data passes.

C#
public static Microsoft.ML.Data.EstimatorChain<TTrans> AppendCacheCheckpoint<TTrans>(this Microsoft.ML.IEstimator<TTrans> start, Microsoft.ML.Runtime.IHostEnvironment env) where TTrans : class, Microsoft.ML.ITransformer;

Type Parameters

TTrans

Parameters

start
IEstimator<TTrans>

The starting estimator

env
IHostEnvironment

The host environment to use for caching.

Returns

EstimatorChain<TTrans>

Applies to

Product Versions
ML.NET 1.0.0, 1.1.0, 1.2.0, 1.3.1, 1.4.0, 1.5.0, 1.6.0, 1.7.0, 2.0.0, 3.0.0, 4.0.0, Preview