reading-notes

Reading Notes: Locally Weighted Regression, Probabilistic Interpretation, Logistic Regression, and Newton’s Method

Locally Weighted Regression (Loess/LOWESS)

Concepts:

Basic Algorithm:

  1. For each data point, fit a weighted least-squares regression model to its neighbors.
  2. Assign weights to the neighbors based on their distance from the target point, with higher weights for closer points.
  3. Compute the estimated value at the target point using the fitted local model.
  4. Repeat steps 1-3 for all data points to obtain a smooth curve.

Use Cases:


Parametric and Non-parametric Learning Algorithms

Parametric Algorithms:

Non-parametric Algorithms:


Probabilistic Interpretation

Concepts:

Use Cases:


Logistic Regression

Concepts:

Basic Algorithm:

Use Cases:


Newton’s Method

Concepts:

Basic Algorithm:

  1. Initialize a guess for the root of the function.
  2. Calculate the first and second derivatives of the function with respect to the variable.
  3. Update the guess by subtracting the ratio of the function value to its first derivative: x_new = x_old - f(x_old) / f'(x_old).
  4. Repeat steps 2 and 3 until convergence or a maximum number of iterations.