Machine Learning: A Probabilistic Perspective 代码运行说明

Linux下 Machine Learning: A Probabilistic Perspective 代码下载与运行

代码在这里下: 
https://github.com/probml/pmtk3

注意事项:

  1. 代码运行顺序参考readme.txt
  2. 要能访问google code(运行initPmtk3.m需要在上面下载代码),一定要在上面的github下载,initPmtk3.m有最新修改版本,如果自行在其他地方下载,可能会在在 downloadAllSupport() 这里报错。

正确安装后的结果:

>> initPmtk3
initializing pmtk3
downloading packages to pmtk3/pmtksupportCopy from github - this may take a few minutes
welcome to pmtk3
  • 1
  • 2
  • 3
  • 4

测试testPmtk3.m会出现一系列图片,然后显示:

All Tests Passed
Type runDemos for a more extensive test of the system
  • 1
  • 2

如果你想按照作者原本的意图测试所有的demo,可以在接下来的命令行输入:

>> runDemos
  • 1

然后就是长达1h的测试时间,Ctrl+C终止测试。

l*a*ntern安装与使用

  1. 下载 l*a*ntern            地址:www.oss.io/p/getlantern/lantern
  2. 安装:
$ dpkg -i lantern-installer-beta-64-bit.deb
  • 1
  1. 运行:
$ lantern
  • 1

保持终端运行即可。

猜你喜欢

转载自blog.csdn.net/han____shuai/article/details/79819433