首页 > 技术文章 > Machine Learning week_2 Environment Setup Instructions

asmurmur 2021-10-13 21:42 原文

PerFace

第二周会使用矩阵来扩充之前的线性回归和梯度下降。

第二周一开始,吴恩达老师在课程开始前,引导我们做 MATLAB 和 Octave 的前期准备工作。这两个都可以完成编程作业。给了Octave的 Windows安装,Mac OS安装 Linux安装。MATLAB 可以在 MATLAB Online 上进行编程,只需要一个MathWorker的账号就可以了。如果没有账号就不能利用作业给的数据文件。为什么不能安装MATLAB呢?因为它并不是免费的。

期间给出了一个MATLAB的编程作业相关文件,编程作业需要这些数据文档。由于MATLAB和Octave的不同,这里的资料适用于MATLAB。而后课程的作业虽然会给数据文档,不过默认是Octave的,所以如果要用MATLAB做编程作业的话,一定要下载这个ZIP包。

最后还给出了 MATLAB 和 Octave 的一些教程。有视频有文档。

接着就是机器学习课程的教学视频了。

0 Environment Setup Instructions

0.1 Setting Up Your Programming Assignment Environment

  • Octave is a free, open-source application available for many platforms. It has a text interface and an experimental graphical one.

  • MATLAB is proprietary software, but a free trial license to MATLAB Online is being offered for the completion of this course.

0.2 Access to MATLAB Online and the Exercise Files for MATLAB Users

Exercise Files for MATLAB Users

0.3 Installing Octave on Windows

....

0.4 Installing Octave on Mac OS X (10.10 Yosemite and 10.9 Mavericks)

....

0.5 Installing Octave on GNU/Linux

....

0.6 More Octave/MATLAB resources

0.6.1 Octave Resources

At the Octave command line, typing help followed by a function name displays documentation for a built-in function. For example, help plot will bring up help information for plotting. Further documentation can be found at the Octave documentation pages.

Octave also have an Online Website https://octave-online.net/

0.6.2 MATLAB Resources

At the MATLAB command line, typing help followed by a function name displays documentation for a built-in function. For example, help plot will bring up help information for plotting. Further documentation can be found at the MATLAB documentation pages.

0.6.3 Introduction to MATLAB with Onramp

Made for MATLAB beginners or those looking for a quick refresh, the MATLAB Onramp is a 1-2 hour interactive introduction to the basics of MATLAB programming. Octave users are also welcome to use Onramp (requires creation of a free MathWorks account). To access Onramp:

  1. If you don’t already have one, create a MathWorks account at: https://www.mathworks.com/mwaccount/register

  2. Go to: https://matlabacademy.mathworks.com/ and click on the MATLAB Onramp button to start learning MATLAB!

0.6.4 MATLAB Programming Tutorials

These short tutorial videos introduce MATLAB and cover various programming topics used in the assignments. Feel free to watch some now and return to reference them as you work through the programming assignments. Many of the topics below are also covered in MATLAB Onramp. *Indicates content covered in Onramp.

0.6.5 Get Started with MATLAB and MATLAB Online

The teaching video here is from YouTube. No longer listed.

Assignment

image

推荐阅读