prediction

Locally Weighted Regression
  1. Construct an explicit approximation to f over a local region surrounding query instance xq.
  2. Locally weighted linear regression:
    1. The target function f is approximated near xq using the linear function:

minimize the squared error: distance-decreasing weight K

the gradient descent training rule:

In most cases, the target function is approximated by a constant, linear, or quadratic function.

 

Prediction: Numerical Data

 

 

Prediction: Categorical Data

 

 

 

 

Previous

classification and prediction by v. vanthana