- Machine Learning for Cybersecurity Cookbook
- Emmanuel Tsukerman
- 151字
- 2021-06-24 12:29:01
How it works...
We started by loading in the #Anonops text dataset (step 1). The Anonops IRC channel has been affiliated with the Anonymous hacktivist group. In particular, chat participants have in the past planned and announced their future targets on Anonops. Consequently, a well-engineered ML system would be able to predict cyber attacks by training on such data. In step 2, we instantiated a hashing vectorizer. The hashing vectorizer gave us counts of the 1- and 2-grams in the text, in other words, singleton and consecutive pairs of words (tokens) in the articles. We then applied a tf-idf transformer to give appropriate weights to the counts that the hashing vectorizer gave us. Our final result is a large, sparse matrix representing the occurrences of 1- and 2-grams in the texts, weighted by importance. Finally, we examined the frontend of a sparse matrix representation of our featured data in Scipy.
- Visualforce Development Cookbook(Second Edition)
- 極簡(jiǎn)AI入門:一本書讀懂人工智能思維與應(yīng)用
- MCSA Windows Server 2016 Certification Guide:Exam 70-741
- Python Data Science Essentials
- 小型電動(dòng)機(jī)實(shí)用設(shè)計(jì)手冊(cè)
- Maya 2012從入門到精通
- Mastering Machine Learning Algorithms
- Cloudera Administration Handbook
- 完全掌握AutoCAD 2008中文版:機(jī)械篇
- INSTANT Drools Starter
- Windows Server 2003系統(tǒng)安全管理
- Dreamweaver CS6精彩網(wǎng)頁(yè)制作與網(wǎng)站建設(shè)
- HBase Essentials
- 手把手教你學(xué)Flash CS3
- 基于Proteus的PIC單片機(jī)C語(yǔ)言程序設(shè)計(jì)與仿真