PRML README

The project's README from github.com/ctgk/PRML. As one markdown file: README.md.

PRML

Python codes implementing algorithms described in Bishop's book "Pattern Recognition and Machine Learning"

Required Packages

Notebooks

The notebooks in this repository can be viewed with nbviewer or other tools, or you can use Amazon SageMaker Studio Lab, a free computing environment on AWS (prior registration with an email address is required. Please refer to this document for usage).

From the table below, you can open the notebooks for each chapter in each of these environments.

nbviewer Amazon SageMaker Studio Lab
ch1. Introduction Open in SageMaker Studio Lab
ch2. Probability Distributions Open in SageMaker Studio Lab
ch3. Linear Models for Regression Open in SageMaker Studio Lab
ch4. Linear Models for Classification Open in SageMaker Studio Lab
ch5. Neural Networks Open in SageMaker Studio Lab
ch6. Kernel Methods Open in SageMaker Studio Lab
ch7. Sparse Kernel Machines Open in SageMaker Studio Lab
ch8. Graphical Models Open in SageMaker Studio Lab
ch9. Mixture Models and EM Open in SageMaker Studio Lab
ch10. Approximate Inference Open in SageMaker Studio Lab
ch11. Sampling Methods Open in SageMaker Studio Lab
ch12. Continuous Latent Variables Open in SageMaker Studio Lab
ch13. Sequential Data Open in SageMaker Studio Lab

If you use the SageMaker Studio Lab, open a terminal and execute the following commands to install the required libraries.

conda env create -f environment.yaml  # might be optional
conda activate prml
python setup.py install

PRML (ctgk/PRML)

Searching Database…

11.7K ·GitHub
这是什么?这是一组 Python 实现,对应 Christopher Bishop 的书《Pattern Recognition and Machine Learning》(PRML)中描述的算法,按章节组织成 Jupyter notebook。
这是一个库,还是一组教程 notebook?这是一组 Jupyter notebook,每章一个,用来配合书本阅读和运行,而不是作为包导入使用。
怎样查看或运行这些 notebook?通过 nbviewer 或其他 notebook 查看器打开各章节的 notebook;也可以使用 Amazon SageMaker Studio Lab 在线运行,这是一个由 AWS 托管的免费环境,需要用邮箱注册。
要自己运行代码,需要先安装什么?需要 Python 3 以及 numpy 和 scipy;运行或绘图 notebook 时 jupyter 和 matplotlib 可选;获取数据集时 sklearn 可选。
要看懂这个仓库,我需要先读过这本书吗?需要。这些 notebook 实现的是书中的具体算法,并且按章节组织(从 ch1 到 ch13),所以最好配合一本 PRML 一起看。
内容是怎样组织的?按 PRML 一书的 13 章组织,从 Introduction 到 Sequential Data,每章一个 notebook,涵盖该章的算法。
不在本地安装任何东西,能运行这些代码吗?可以。Amazon SageMaker Studio Lab 提供免费的托管环境,注册邮箱后即可打开并运行这些 notebook。
Creator
ctgk
Size
26.7 MB
Stars
11.7K
Updated
CommitApr 05
Age
9y
Commits · 90 Days