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

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.

主站蜘蛛池模板: 获嘉县| 大竹县| 正蓝旗| 曲沃县| 游戏| 策勒县| 玉门市| 婺源县| 疏勒县| 双桥区| 梁山县| 彭水| 光山县| 呼图壁县| 景洪市| 白水县| 平武县| 清苑县| 康定县| 垦利县| 平塘县| 泊头市| 鹤山市| 平遥县| 惠安县| 江达县| 彝良县| 三原县| 喀喇| 石景山区| 溧阳市| 凤台县| 锡林浩特市| 岗巴县| 衡山县| 砀山县| 密云县| 甘孜县| 云霄县| 车险| 湟源县|