← 返回卡片

原书出处

Effective Machine Learning Teams (David Tan, Ada Leung, David Colls)

First Edition · 核验版本的摘录快照 · 导入于 2026-11-14T14:46:45.591Z

implementation detail of converting Age from a continuous variable (0 to 100) to a binned ordinal variable (0, 1, 2, 3, and 4), we later realized that this function could be easily extended (without modification) for a similar data transformation on the Fare column. categorize_column() was extensible—we can specify how many bins we want using the num_bins argument—without the need to modify the function’s implementation:

此预览只包含定位所需的摘录和上下文。

原书定位详情

来源:a19c7933-4eda-4176-aebd-30fe7e1ad292

正文位置:extracted/Effective Machine Learning Teams (David Tan, Ada Leung, David Colls)/_epub-src/OEBPS/ch08.html

EPUB SHA-256:d98501f374a474910f195f0adfd53c1d895ae8ddc5822476c05cd7ba006ac63d