← 返回卡片

原书出处

Simplified Machine Learningː The Essential Building Blocks for Machine Learning Expertise

02 Data Pre-processing

First Edition · 核验版本的摘录快照 · 导入于 2026-11-27T03:57:14.138Z

of Code 2.15: Figure 2.15: Output of code 2.15

In this code, we start with sample data in a NumPy array (data) with two features. We create an instance of the StandardScaler from the sklearn.pre-processing module. We fit the scaler to the data using fit_transform, which standardizes the data by

subtracting the mean and dividing it by the standard

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

原书定位详情

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

正文位置:extracted/Simplified Machine Learningː The Essential Building Blocks for Machine Learning Expertise/_epub-src/OPS/ch02.xhtml

EPUB SHA-256:9f442c60f438c352dd1fee6496c7fb26e8e2c9df60cd14aff3493d89c24fd960