Machine Learning Fundamentals · 免费预览

线性模型

线性模型把目标预测为各特征的加权和再加上一个偏置,而一次矩阵-向量乘法就能算出整个数据集的预测值。

1. From a weighted sum to a dot product

From a weighted sum to a dot product

2. One matrix product for the whole dataset

One matrix product for the whole dataset

3. The assumption behind the numbers

The assumption behind the numbers

4. What the bias term is for

A linear regression model is fitted to predict house price from area and age. The bias term bb is kept in the model. Which statement describes what bb contributes?

5. Reading the design matrix

A dataset has n=500n = 500 examples and d=7d = 7 features. Its design matrix X\mathbf{X} has shape ____.

进入交互式练习

免费注册 · 即时批改 · 自动安排间隔复习。

免费开始这门课