- 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.
推薦閱讀
- CSS全程指南
- 電腦上網(wǎng)直通車
- Windows 7寶典
- Android游戲開發(fā)案例與關(guān)鍵技術(shù)
- INSTANT Drools Starter
- 工業(yè)機器人安裝與調(diào)試
- Mastering Game Development with Unreal Engine 4(Second Edition)
- 單片機C語言應用100例
- Machine Learning with the Elastic Stack
- 新編計算機圖形學
- 貫通Hibernate開發(fā)
- 電動汽車驅(qū)動與控制技術(shù)
- 運動控制系統(tǒng)(第2版)
- 計算機應用基礎(chǔ)實訓(職業(yè)模塊)
- Instant Slic3r