Learn Before
Example

Nadaraya-Watson Estimation Synthetic Data

To observe Nadaraya-Watson estimation in action, a synthetic training dataset can be generated using a specific nonlinear dependency. A common dependency used for this purpose is yi=2sin(xi)+xi+ϵy_i = 2\sin(x_i) + x_i + \epsilon, where the noise term ϵ\epsilon is drawn from a standard normal distribution with zero mean and unit variance. For example, a dataset might consist of 4040 training examples sampled from this distribution.

0

1

Updated 2026-05-14

Contributors are:

Who are from:

Tags

D2L

Dive into Deep Learning @ D2L