官术网_书友最值得收藏!

How it works...

We begin by reading in our dataset (step 1), which consists of the PE header information for a collection of PE files. These vary greatly, with some columns reaching hundreds of thousands of files, and others staying in the single digits. Consequently, certain models, such as neural networks, will perform poorly on such unstandardized data. In step 2, we instantiate StandardScaler() and then apply it to rescale X using .fit_transform(X). As a result, we obtained a rescaled dataset, whose columns (corresponding to features) have a mean of 0 and a variance of 1.

主站蜘蛛池模板: 合江县| 桃源县| 溧阳市| 衡阳市| 叶城县| 东城区| 武乡县| 交口县| 偃师市| 乌审旗| 淳安县| 朝阳区| 双桥区| 彭州市| 岳阳市| 新源县| 汉阴县| 潢川县| 南安市| 凌海市| 增城市| 秭归县| 临城县| 揭西县| 垣曲县| 莎车县| 新竹市| 汝阳县| 衡东县| 壤塘县| 天镇县| 临朐县| 淳安县| 双辽市| 五华县| 玉门市| 浮山县| 全南县| 淮阳县| 永定县| 永顺县|