- Mastering Machine Learning for Penetration Testing
- Chiheb Chebbi
- 166字
- 2021-06-25 21:03:06
Theano
Optimization and speed are two key factors to building a machine learning model. Theano is a Python package that optimizes implementations and gives you the ability to take advantage of the GPU. To install it, use the following command:
pip install theano

To import all Theano modules, type:
>>> from theano import *
Here, we imported a sub-package called tensor:
>>> import theano.tensor as T
Let's suppose that we want to add two numbers:
>>> from theano import function
>>> a = T.dscalar('a')
>>> b = T.dscalar('b')
>>> c = a + b
>>> f = function([a, b], c)
The following are the full steps:

By now, we have acquired the fundamental skills to install and use the most common Python libraries used in machine learning projects. I assume that you have already installed all of the previous packages on your machine. In the subsequent chapters, we are going to use most of these packages to build fully working information security machine learning projects.
- RCNP實驗指南:構建高級的路由互聯網絡(BARI)
- 物聯網智慧安監(jiān)技術
- 物聯網網絡安全及應用
- INSTANT PhpStorm Starter
- 物聯網安全與深度學習技術
- Go Web Scraping Quick Start Guide
- 互聯網安全的40個智慧洞見:2015年中國互聯網安全大會文集
- Yii Application Development Cookbook(Second Edition)
- 網絡環(huán)境中基于用戶視角的信息質量評價研究
- 通信十年:擁抱互聯網
- 網絡AI+:2030后的未來網絡
- 云計算技術與標準化
- 走近2050:注意力、互聯網與人工智能
- 5G低功耗蜂窩物聯網開發(fā)與應用
- 移動應用開發(fā)技術