> For the complete documentation index, see [llms.txt](https://huataihuang.gitbook.io/cloud-atlas-draft/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://huataihuang.gitbook.io/cloud-atlas-draft/machine_learning/cs229/linear_regression_with_multiple_variables.md).

# 多变量线性回归

## 环境准备

* MATLAB

先访问 [MathWorks account](https://www.mathworks.com/mwaccount/register) 注册一个账号，不过这个账号是没有licence的，此时还不能登陆使用。

访问 [MATLAB Online license link](https://www.mathworks.com/licensecenter/classroom/machine_learning/) ，这个页面是针对MIT Machine Learning课程的特殊授权页面。在这个页面中用你注册的账号登陆，就可以访问MATLAB在线网站完成实验课程。

* Octave

[GNU Octave](https://www.gnu.org/software/octave/) 是开源的MATLAB替代软件，对于常见的机器学习使用场景已经够用，通常会用在最初的分析工作上。

[Octave.app提供macOS版本安装程序](https://octave-app.org/Download.html)

[GNU Octave使用文档](https://octave.org/doc/interpreter/)

## 多变量（Multiple Features）

多元线性回归：多元也就是用来预测的多个特征量或者变量。
