Skip to Main Content
机器学习设计模式
book

机器学习设计模式

by Valliappa Lakshmanan, Sara Robinson, Michael Munn
September 2022
Beginner to intermediate content levelBeginner to intermediate
386 pages
7h 36m
Chinese
Southeast University Press
Content preview from 机器学习设计模式
问题表示设计模式
115
霉⠮
3
-
17
:将模型的级联作为单一任务来训练的管道
Kubeflow Pipelines
提供了这样一个框架。因为它适用于容器,它所包含的机器学
习模型和粘合代码几乎可以用任何编程语言或脚本语言编写。这里,我们将使用
BigQuery
客户端库将上面的
BigQuery SQL
模型封装为
Python
函数。我们可以用
Tensorflow
或者
scikit-learn
甚至
R
来实现单个组件。
使用
Kubeflow Pipelines
的管道代码可以非常简单地表示为如下形式(完整的代码可
以在本书的代码存储库中找到,
https://github.com/GoogleCloudPlatform/ml-design-
patterns/blob/master/03_problem_representation/cascade.ipynb
):
@dsl.pipeline(
name='Cascade pipeline on SF bikeshare',
description='Cascade pipeline on SF bikeshare'
)
def cascade_pipeline(
project_id = PROJECT_ID
):
ddlop = comp.func_to_container_op(run_bigquery_ddl,
packages_to_install=['google-cloud-bigquery']) ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

PyTorch深度学习

PyTorch深度学习

Posts & Telecom Press, Vishnu Subramanian
数据科学原理

数据科学原理

Posts & Telecom Press, Sinan Ozdemir
Rust程序设计

Rust程序设计

Jim Blandy, Jason Orendorff, Leonora F. S. Tindall

Publisher Resources

ISBN: 9787564196776