- Machine Learning for Cybersecurity Cookbook
- Emmanuel Tsukerman
- 98字
- 2021-06-24 12:28:56
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.
推薦閱讀
- 后稀缺:自動(dòng)化與未來工作
- 電氣自動(dòng)化專業(yè)英語(第3版)
- Clojure Data Analysis Cookbook
- 大數(shù)據(jù)專業(yè)英語
- Hadoop 2.x Administration Cookbook
- Hands-On Neural Networks with Keras
- 群體智能與數(shù)據(jù)挖掘
- Spark大數(shù)據(jù)技術(shù)與應(yīng)用
- 工業(yè)機(jī)器人操作與編程
- Lightning Fast Animation in Element 3D
- 傳感器與新聞
- 網(wǎng)絡(luò)布線與小型局域網(wǎng)搭建
- Silverlight 2完美征程
- Hands-On SAS for Data Analysis
- WPF專業(yè)編程指南