matlab.production_server.client.PipelineClient
命名空间: matlab.production_server
部署到 MATLAB Production Server 机器学习流水线的 Python 客户端
描述
matlab.production_server.client.PipelineClient 类创建一个连接对象,该对象封装 Python® 客户端与部署到 MATLAB® Production Server™ 实例的 LearningPipeline (Statistics and Machine Learning Toolbox) 对象之间的连接。连接建立后,您可以使用 get、learn 和 run 方法与已部署的 LearningPipeline 对象进行交互。
构造
with PipelineClient( 在 Python 客户端和指定的存档之间创建客户端连接,该存档已部署到在 archive,host,port) as clienthost:port 上运行的 MATLAB Production Server。
输入参量
输出参量
方法
公共方法
get |
对已部署的流水线应用索引操作,并可选择将结果存储在 URL 中。 输入参量
|
learn |
按指定顺序将输入数据传递到流水线中,从而评估与 您可以使用返回的流水线通过 输入参量
|
run |
评估相关流水线中所有需要返回输出的节点。该函数会忽略不需要返回输出的节点。该函数返回流水线的输出。这种方法是客户端的等效方法 输入参量
|
属性
示例
详细信息
另请参阅
LearningPipeline (Statistics and Machine Learning Toolbox) | package (Statistics and Machine Learning Toolbox)
主题
- Machine Learning Pipelines (Statistics and Machine Learning Toolbox)
- 在 MATLAB Production Server 和 Python 之间传递数据
- Create Simple Classification Pipeline (Statistics and Machine Learning Toolbox)