- Bayesian Analysis with Python
- Osvaldo Martin
- 255字
- 2021-08-20 10:13:31
PyMC3 primer
PyMC3 is a Python library for probabilistic programming. The last version at the moment of writing is 3.6. PyMC3 provides a very simple and intuitive syntax that is easy to read and that is close to the syntax used in the statistical literature to describe probabilistic models. PyMC3's base code is written using Python, and the computationally demanding parts are written using NumPy and Theano.
Theano is a Python library that was originally developed for deep learning and allows us to define, optimize, and evaluate mathematical expressions involving multidimensional arrays efficiently. The main reason PyMC3 uses Theano is because some of the sampling methods, such as NUTS, need gradients to be computed, and Theano knows how to compute gradients using what is known as automatic differentiation. Also, Theano compiles Python code to C code, and hence PyMC3 is really fast. This is all the information about Theano we need to have to use PyMC3. If you still want to learn more about it, start reading the official Theano tutorial at http://deeplearning.net/software/theano/tutorial/index.html#tutorial.
- 網(wǎng)頁編程技術(shù)
- 2018西門子工業(yè)專家會(huì)議論文集(上)
- 現(xiàn)代機(jī)械運(yùn)動(dòng)控制技術(shù)
- 網(wǎng)絡(luò)綜合布線設(shè)計(jì)與施工技術(shù)
- 嵌入式操作系統(tǒng)
- 悟透AutoCAD 2009案例自學(xué)手冊
- 在實(shí)戰(zhàn)中成長:Windows Forms開發(fā)之路
- 網(wǎng)絡(luò)管理工具實(shí)用詳解
- Flink原理與實(shí)踐
- Artificial Intelligence By Example
- Windows安全指南
- 青少年VEX IQ機(jī)器人實(shí)訓(xùn)課程(初級)
- Web編程基礎(chǔ)
- 空間機(jī)器人
- ZigBee無線通信技術(shù)應(yīng)用開發(fā)