Bruce Lee random walk

[SIAM NEWS] Julia: A Fast Language for Numerical Computing

By Alan Edelman March 01, 2016 [Alan Edelman is a professor of applied mathematics at Massachusetts Institute of Technology. He has been working in the area of high performance computing systems, networks, software, and algorithms for 30 years and has won many prizes for his work including the prestigious Gordan Bell Prize, a Householder Prize... Read more

Julia编程(三): 高性能计算

本文是Julia编程系列的第三篇文章,着重讲述它在高性能计算方面的应用。 1 引言 2 语言分析1 2.1 Profiling Julia中自带Profile包,实现了所谓的采样(sampling)或统计分析(statistical profiler)。在任务执行期间,它通过周期性地回溯(backtrace)来工作。每次回溯捕获当前运行的函数和行号,以及导致这行的完整函数调用链,因此这是当前执行状态的一个快照。一个统计分析软件并不提供完整的逐行覆盖,因为回溯是在一定时间段发生的,默认情况下,Unix系统为1ms,Windows系统为10ms。并且采样是在所有执行点的一个稀疏子集上进行的,因此这样的数据具有一定的统计噪声。 function myfunc() A = ran... Read more

Julia编程(二): 通用计算

本文是Julia编程系列的第二篇文章,着重讲述在几个通用计算方面的应用,如网络,并行1,日期等,关于最新用法和变更请查看在线文档。 1 网络&流 1.1 基本I/O流 write(STDOUT, "Hello World"); # suppress return value 11 with ; read(STDIN, Char) read(STDIn, 4) x = zeros(UInt8, 4) read!(STDIN, x) readline(STDIN) # read the entire line instead for line in eachline(STDIN) println("Found $line") end while !eof(ST... Read more

[SIAM NEWS] Machine Learning and the Prospect of a Master Algorithm

By Ernest Davis January 19, 2016 [Ernest Davis is a professor of computer science at the Courant Institute of Mathematical Sciences, NYU.] The Master Algorithm: How the Quest for the Ultimate Learning Machine Will Remake Our World. By Pedro Domingos, Basic Books, New York, 2015, 352 pages, $29.99. Machine learning (ML) has suddenly become ve... Read more

Julia包安装问题:关于qt5.6.2字符编码问题的一种解决方案

从事数据科学相关研究、工作时,我们知道有些方法使得安装极其便捷,conda便是其中之一。我们可以使用anaconda或者miniconda来进行安装,并设置运行环境。但是在Julia包安装时,尤其涉及qt相关包时,会出现令人恼火的问题。其实python一些包安装时同样会出现类似问题。在查阅很多文章后发现,conda4.3与python环境存在一些冲突。 下面我将以macOS Sierra系统,python2.7,miniconda为例来描述并给出问题的一种解决方案。 安装Julia(graphical/command-line)并设置路径 vi .bash_profile 并在文件中添加Julia执行路径 export PATH=“$/Applications/Julia-... Read more