pyprobml

Python code for "Machine learning: a probabilistic perspective" (2nd edition)

Github星跟蹤圖

pyprobml

Python 3 code for the second edition of my book Machine learning: a probabilistic perspective. This is work in progress, so expect rough edges.

Notebooks

I have created Jupyter notebooks for some of the chapters (more coming later). When you open a notebook, there will be a button at the top that says 'Open in colab'. If you click on this, it will start a virtual machine (VM) instance on Google Cloud Platform (GCP), running Colab, which has most of the libraries you will need (e.g., scikit-learn, tensorflow 2, JAX) pre-installed. Execute the code in the colab to temporally pip-install any remaining libraries. (You can select 'GPU' from the 'Runtime' menu at the top of Colab to make things run faster, but you will get logged out automatically if your session is idle for too long.) Alternatively, you can run these notebooks locally on your desktop in Jupyter, but then you will have to install the packages yourself (see instructions below).

Scripts

Many of the figures in the book are generated by these scripts. To execute a script, cd (change directory) to the scripts folder, and then type 'python foo.py'. You can also run each script from inside a Python IDE (like Spyder).
Many of the scripts create plots, which are saved to ../figures.

To run the scripts, we assume you have installed the packages listed in the requirements.txt file.
Most of these are bundled with anaconda.

Table of contents

The book should become available (both in print, and online for free) in Fall 2021.
A snapshot (as of 6/14/20) of the book's table of contents is shown
here.
Individual chapters will be made available
here.

主要指標

概覽
名稱與所有者probml/pyprobml
主編程語言Jupyter Notebook
編程語言Python (語言數: 6)
平台
許可證MIT License
所有者活动
創建於2016-08-17 16:42:24
推送於2024-11-26 00:32:39
最后一次提交2024-11-25 16:32:39
發布數1
最新版本名稱v0.1.0 (發布於 )
第一版名稱v0.1.0 (發布於 )
用户参与
星數6.7k
關注者數195
派生數1.6k
提交數3k
已啟用問題?
問題數458
打開的問題數35
拉請求數577
打開的拉請求數0
關閉的拉請求數83
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?