语言

LpNormNormalizingEstimatorBase 类

定义

用于规范化器的LpNormNormalizingEstimator基估算器类GlobalContrastNormalizingEstimator。

public abstract class LpNormNormalizingEstimatorBase : Microsoft.ML.Data.TrivialEstimator<Microsoft.ML.Transforms.LpNormNormalizingTransformer>
type LpNormNormalizingEstimatorBase = class
    inherit TrivialEstimator<LpNormNormalizingTransformer>
Public MustInherit Class LpNormNormalizingEstimatorBase
Inherits TrivialEstimator(Of LpNormNormalizingTransformer)
继承
LpNormNormalizingEstimatorBase
派生

方法

名称 说明
Fit(IDataView)

用于规范化器的LpNormNormalizingEstimator基估算器类GlobalContrastNormalizingEstimator。

(继承自 TrivialEstimator<TTransformer>)
GetOutputSchema(SchemaShape)

返回 SchemaShape 由转换器生成的架构。 用于管道中的架构传播和验证。

扩展方法

名称 说明
AppendCacheCheckpoint<TTrans>(IEstimator<TTrans>, IHostEnvironment)

将“缓存检查点”追加到估算器链。 这将确保根据缓存的数据训练下游估算器。 在执行多个数据传递的训练器之前,拥有缓存检查点会很有帮助。

WithOnFitDelegate<TTransformer>(IEstimator<TTransformer>, Action<TTransformer>)

给定估算器后,返回一个包装对象,该对象将调用委托一次 Fit(IDataView) 。 估算器通常必须返回有关拟合情况的信息,这就是为什么 Fit(IDataView) 该方法返回特定类型化对象的原因,而不仅仅是常规 ITransformer对象。 但是,同时, IEstimator<TTransformer> 通常形成成包含许多对象的管道,因此我们可能需要通过 EstimatorChain<TLastTransformer> 估算器链来生成一个估算器链,而我们想要获取转换器的估算器被埋在此链中的某个位置。 对于这种情况,我们可以通过此方法附加一个委托,该委托将在调用拟合后调用。

适用于