《贝叶斯方法——概率编程与贝叶斯推断》主要是讲解利用贝叶斯概率方法结合Python编程来求解一些问题。因为我注意到有一本书和研究方向是关于贝叶斯概率方法和量子力学相结合,甚至有量子贝叶斯这种新学科的产生,所以我想看看贝叶斯到底在做什么。

我没有学过概率论,据目前了解,贝叶斯概率是概率方法中的一种,但是作用很大。而且这本书印刷不错,抽空看了几页,文字言简意赅,值得读一读。

   

 

GRTensor 下载地址:https://github.com/grtensor/grtensor

GRTensor 博客:https://hyperspace.uni-frankfurt.de/2016/12/07/grtensoriii-for-maple-has-been-released/

GRTensor wiki介绍:https://github.com/grtensor/grtensor/wiki

GRTensor 官方网站:http://grtensor.phy.queensu.ca/


本段摘选自GRTensor wiki介绍,链接在上面已经给出。

GRTensorIII is provided as Maple package in the  lib/  directory of the project. This lib directory needs to be included in your Maple library path.

This can be accomplished in a Maple session with a command like (changing the path to the directory on your system):

For Windows users (DOUBLE backslashes!!):

If the library is not found the cryptic error message will say something like: “with expects it’s first argument to be of type….”

Alternately, this command can be placed in the Maple init file in the home directory on your computer. See Maple Init File

GRIII can then be loaded via:

And the output will be:

It is then useful to ensure you have a suitable path set for loading and saving metrics. This is controlled by the global variable  grOptionMetricPath . The current option settings are displayed with the command  groptions(); . The grtensor distribution includes a directory with some useful metrics in  metrics/ .

grOptionMetricPath can be configured by assignment in the Maple session or set in your  .mapleinit  file.

GRTensorIII contains a new option variable  grOptionMapletInput  (default  true ). More recent Maple releases have made dialog box input the default mode. The interactive routines in GRTensorIII now use these dialogs by default. If this is not desired, set this option variable to  false . See  ?groptions for a description of all the options for GRTensorIII.

Getting Started

There are multiple approaches to get started with GRTensor:

  • consult the built in help.  ?grtensor  and  ?grt_commands  are a good starting point
  • open one of the sample worksheets in the  worksheets  directory
  • read the PDF docs, typically starting with  grIntro.pdf  in the  docs/  directory.

软件制作界面:

注意,首先设置视频长度(按按帧数设置,比如每秒30帧,共900帧,则一共30秒)

然后按F3开始录制,

在时间轴上将进度条拖动到某一部位,比如300处,再框选局部区域,双击放大,则插入该区域的关键帧。

依此类推,直到末尾。

然后渲染,生成视频,这一步非常耗时。下面的视频一共三十秒,耗时2小时。

不过在这两小时可以做别的事,比如我看完了这本书《Wolfram语言入门》的部分章节,认识到“纯虚函数”的重要性,以及Mathematica中实现流程编程并不方便这一事实。还学到了如何用Mathematica制作声音, 特别有趣!

视频结果:

如何理解四维球体? 十维球体呢?

视频源地址:https://www.youtube.com/watch?v=zwAD6dRSVyI

https://brilliant.org/3b1b尝试基于问题的学习方式! https://www.benbenandblue.com/

特别感谢以下赞助者:http://3b1b.co/high-d-thanks

看看Ben Eater的通道:https://www.youtube.com/user/eaterbc

音乐: 文森特·鲁宾蒂 https://soundcloud.com/vincerubinetti…

分形的讲解。里面涉及到积分、维度。

这对理解积分,分形(不可积)的数学观念和本质有帮助。这个视频自带中文字幕,需要手动打开。

制作这个视频的团队(3blue1brown)官网:https://www.3blue1brown.com/ 。里面内容很强大,佩服!

视频源地址:Fractals are typically not self-similar


题外话:

我对老外做的这些视频很佩服,他们是如何制作这种视频的。里面包括各种动态效果,演示,我想象如果是我来做,会很费时间,但我猜他们应该有比较好的方法高效率制作这种视频。