# Final Notes

## Bayesian Decision

### decision theory

min error:

min risk:

for every single x, find the minimized error / risk to make the whole loss minimized.

### normal distribution

properties:

- linear:
- whiten:

## non-parametric estimation

region:

where:

- k: samples in the region
- n: the number of total samples

pointwise：

for a series convergent to p(x) (a single point), there’re 3 conditions:

two way to fix a variable:

- k-means,
- parzen window,

## parametric estimation

### MLE / BE:

key:

MLE find the max theta that

BE find max

### EM:

in order to maximize

iteratively, using Jensen inequality to find a lower bound for

to maximize the lower bound of gives the Q function

## SVM

### original model

using lagrange multiplier method, this is equivalent to

note the max part, in order to minimize it, discuss about both the condition violation and alpha value

then the lagrange duality may apply

### relaxed model:

## feature extraction

### PCA

- way1: minimize the variation of projected samples
- way2: minimize the difference(least square) of reconstructed samples

using way1:

using way2:

### LDA

to minimize the loss within classes and maximize the loss between classes

### KPCA

replace the reconstruction with kernels (???)

### LLE

using neighbor to reconstruct the data

1. find w that

equ. to (???)

2. find embedding y that (???)

result is eigenvectors of M (???)

## feature selection

- criterion
- searching methods: branch and bound, gene, forward/backward greedy algorithms

## clustering

### mixture

start from the mixture density:

### hierarchical

every points is a cluster -> every points is assigned into a big cluster

- find the minimal dist within a class that is the smallest
- use the max dist between class

### spectral

generalized graph nodes and edges for points and similarity.

simplest: L = D - W

## linear discriminant functions

### perceptron

- perceptron:
- add a margin to the boundary:
- single sample update and batch update

### relaxation

### MSE

solve:

- LMS
- pseudo-inverse

## model selection

no free lunch

visualize ROC curve: http://www.navan.name/roc/

### adaboost

## neural networks

… omitted