Learning machine learning need to use octave language, after all Wu Encheng recommend. Native System Mac OS X EI Capitan, in fact, what system does not matter, the installation principle is the same.
In a constant pit, the relationship between the various software is clear:
Octave is a language similar to MATLAB, it is open-source, compared to free! Octave uses gnuplot to draw images, so you need to install Gnuplot on your computer to use its image-drawing capabilities. PS: I first installed the curriculum resources inside the Coursera to the link, installed the octave, and later found that the drawing function can not be used (there is a problem), so just pour back the installation of the gnuplot.
The problem is as follows: Later found not installed gnuplot.
Set " Figure 1 " 560 420 " *,6 " 1 ^ 0'set terminal' for a list
Gnuplot installation can use the brew this open source software source management tool:
1. Install brew:$ ruby-e "$ (curl-fssl https://raw.githubusercontent.com/homebrew/install/master/install )"
2. Using the Brew installation gnuplot,with-x11 represents the installation terminal type X11, which is actually a terminal graphical interface under window.
brew install gnuplot --with-x11
3. Terminal enters Gnuplot, set terminal x11
4. The last and most important step: Remember to restart the machine!! Restart!! Reboot!
The laboratory requirements for learning gnuplot results in advance met here, the world is really small.
Problems with Mac OS Installation octave-' error:terminal type set to ' unknown ' resolution '