随笔分类 -  cs229

摘要:Independent Components Analysis Ambiguity ICA is ambiguous to scaling and permutation. but usually it doesn't matter. As long as the data is not Gauss 阅读全文
posted @ 2022-08-25 22:43 19376273 阅读(46) 评论(0) 推荐(0)
摘要:Principal Components Analysis Intuition PCA tries to identify the subspace in which the data approximately lies. Intuitively, we choose a direction fo 阅读全文
posted @ 2022-08-25 19:49 19376273 阅读(17) 评论(0) 推荐(0)
摘要:Decision Tree Greedy, Top-down, Recurrent Classification Tree misclassification loss is not suitable for decision tree loss, because $$ L(R_p) - (\lam 阅读全文
posted @ 2022-08-24 22:18 19376273 阅读(45) 评论(0) 推荐(0)
摘要:Factor Analysis Background when m (number of samples) < n (dimension of samples), the covariance matrix might be singular. So it is necessary to find 阅读全文
posted @ 2022-08-23 18:13 19376273 阅读(41) 评论(0) 推荐(0)
摘要:EM Algorithm Jensen's inequality convex function: $f''(x) \ge 0$ or $H \ge 0$ (Hessian matrix when x is a vector) $$ E[f(x)] \ge f(EX) $$ EM Algorithm 阅读全文
posted @ 2022-08-22 19:23 19376273 阅读(33) 评论(0) 推荐(0)
摘要:Reinforcement Learning Background Credit Assignment Problem: Explore how actions in an action sequence contribute to the outcome finally. MDP(Markov D 阅读全文
posted @ 2022-08-17 21:08 19376273 阅读(48) 评论(0) 推荐(0)
摘要:Learning Mathematical Theorem Feature Selection If we have n features, the VC dimension of hypothesis class would be O(n), if n>>m, over-fitting would 阅读全文
posted @ 2022-08-15 16:16 19376273 阅读(38) 评论(0) 推荐(0)
摘要:Support Vector Machine Two Margins Functional Margin $\gamma$ and Geometrical Margin $\hat{\gamma}$ $$ \hat{\gamma^{(i)}}=\frac{\gamma^{(i)}}{||w||} $ 阅读全文
posted @ 2022-08-13 10:56 19376273 阅读(39) 评论(0) 推荐(0)
摘要:Error Theorem in ML Basic Concepts $$ \varepsilon(h) = \text{Generalization Error} = E_{(x,y)\sim D}[1(h(x) \neq y)] $$ $$ \hat{\varepsilon}(h)=\text{ 阅读全文
posted @ 2022-08-12 15:30 19376273 阅读(149) 评论(0) 推荐(0)
摘要:Exponential Family The pdf is as follows, $$ p(y;\eta)=b(y) e^{\eta^TT(y)-a(\eta)} $$ Mathematical properties: MLE w.r.t. $\eta$ is concave, but negat 阅读全文
posted @ 2022-08-11 16:49 19376273 阅读(106) 评论(0) 推荐(0)
摘要:Locally Weighted Regression None parametric learning algorithm. Need to keep training data in the memory. Formally fit $\theta$ to minimize $$ \sum_{i 阅读全文
posted @ 2022-08-10 21:51 19376273 阅读(35) 评论(0) 推荐(0)
摘要:cs229 Generative Model & Discriminative Model Defination learns P(x|y) : x is feature and y is the class Bayes rule $$ P(y|x)=\frac{P(x|y)P(y)}{P(x)} 阅读全文
posted @ 2022-08-07 23:32 19376273 阅读(54) 评论(0) 推荐(0)