LpNormNormalizingEstimatorBase 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
用于 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)
- 继承
- 派生
方法
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> 估算器链生成一系列估算器,以便我们要获取转换器的估算器被埋在此链中的某个位置。 对于这种情况,我们可以通过此方法附加调用一次将调用的委托。 |