Microsoft.Extensions.ML 命名空间

用于扩展 ML.NET API 的实用工具,包括预测引擎池

类

名称 说明
BuilderExtensions

的 PredictionEnginePoolBuilder<TData,TPrediction>扩展方法 。

MLOptions

提供 ML.NET 对象的选项。

ModelLoader

定义一个类,该类提供加载 ML.NET 模型的机制,并传播模型源已更改的通知。

ModelReloadToken

实现 IChangeToken

PredictionEnginePool<TData,TPrediction>

提供可用于进行预测的对象池 PredictionEngine<TSrc,TDst> 。

PredictionEnginePoolBuilder<TData,TPrediction>

提供配置 ML.NET PredictionEngine<TSrc,TDst> 对象的池的机制的类。

PredictionEnginePoolExtensions

的 PredictionEnginePool<TData,TPrediction>扩展方法 。

PredictionEnginePoolOptions<TData,TPrediction>

指定创建时 PredictionEnginePool<TData,TPrediction>要使用的选项。

ServiceCollectionExtensions

的 IServiceCollection扩展方法 。