Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 10812

Machine learning algorithms build a model of the training data. The term "machine learning" is vaguely defined; it includes what is also called statistical learning, reinforcement learning, unsupervised learning, etc. ALWAYS ADD A MORE SPECIFIC TAG.

1 vote
1 answer
60 views

Temporal difference definition (Reinforcement Learning)

Reading for instance Szepesvari or this : i struggle to understand the rationale behind the temporal-difference definition $\delta_{t}=R_{t}+\gamma V_{k}(x_{t+1})-V_{k}(x_{t})$ with the notation fr …
kiriloff's user avatar
  • 643
0 votes
0 answers
256 views

Bernouilli variables - bias and variance of estimator

Reading through this I work on Example 1 in 3. Consistency. $X_{1},... , X_{n} ∼ Bernoulli(p)$. The mle $\hat{p}$ has bias 0 and variance $p(1−p)/n \rightarrow 0$. Here $\hat{p} = \sum_{i} Xi/n$. So …
kiriloff's user avatar
  • 643
2 votes
0 answers
90 views

Bias Variance Decomposition 2.7 in Elements of Statistical Inference

I try to derive 2.7 from the book. I expose my demonstration $E_\tau[(y_0-\hat{y}_0)^2]=E_\tau[y_0^2]-2E_{\tau}[y_{0}\hat{y_{0}}]+E_{\tau}[\hat{y_{0}}^{2}]$ $= y_{0}^{2}-2y_{0}E_{\tau}[\hat{y_{0}}]+E …
kiriloff's user avatar
  • 643
2 votes
1 answer
4k views

Array of samples from multivariate gaussian distribution Python [closed]

I am trying to build in Python the scatter plot in part 2 of Elements of Statistical Learning. First it is said to generate 10 means mk from a bivariate Gaussian distribution N((1,0)T,I) and lab …
kiriloff's user avatar
  • 643
0 votes
Accepted

Prove that the direction in Least Angle Regression makes equal angle with all predictors

The fit direction at step $k$ is $u_{k}=X_{A_{k}}\delta_{k}$ where $\delta_{k}=(X^{T}_{A_{k}}X_{A_{k}})^{-1}X^{T}_{A_{k}}r_{k}$. Thus we have $X_{A_{k}}^{T}u_{k}=X_{A_{k}}^{T}X_{A_{k}}\delta_{k}=X_{A_ …
kiriloff's user avatar
  • 643
3 votes
1 answer
584 views

Finding optimal subspace for Linear Discriminant Analysis - Elements of Statistical Learning...

Linear Discriminant Analysis (LDA) possibly operates a dimension reduction. Section 4.3.3 in Elements of Statistical Learning explicits this notion as well as a method for computing the "optimal subsp …
kiriloff's user avatar
  • 643
2 votes
Accepted

Finding optimal subspace for Linear Discriminant Analysis - Elements of Statistical Learning...

Within-class, between-class covariance matrices • Assuming common covariance matrix $\hat{\Sigma}=\hat{\Sigma}_{k}$ for all classes $k$ we write $\hat{\Sigma}=\sum_{k=1}^{K}\sum_{g_{i}=k}{(x_{i}-\ha …
kiriloff's user avatar
  • 643
0 votes
1 answer
251 views

Prove that the direction in Least Angle Regression makes equal angle with all predictors [closed]

Least Angle Regression iteralively adds predictors according to the procedure described here : Writing by hand first steps in Least Angle Regression (LARS) We note $A_{k}$ the active set of variables …
kiriloff's user avatar
  • 643
4 votes
1 answer
832 views

Linear Discriminant Analysis - deriving classifier expression for multivariate normal distri...

From Elements of Statistical Learning chap 4 - https://web.stanford.edu/~hastie/Papers/ESLII.pdf We have K classes and we are modeling the posterior probability : $P(G=k|X=x)=\frac{f_{k}(x)\pi_{k}}{\ …
kiriloff's user avatar
  • 643
3 votes
1 answer
92 views

Rationale behind Q-learning

I am reading Sutton Barto on Reinforcement Learning. I understand that $TD(\lambda)$ methods propose better performance than Monte Carlo methods, with TD methods combining advantages of Dynamic Progra …
kiriloff's user avatar
  • 643
3 votes
1 answer
571 views

Computation of LDA in Elements of Statistical Learning 4.3.2

Elements of Statistical Learning 4.3.2 elaborates on computation for Linear Discriminant Analysis. https://web.stanford.edu/~hastie/Papers/ESLII.pdf Procedure is said to be • Sphere the data wit …
kiriloff's user avatar
  • 643
4 votes
Accepted

Computation of LDA in Elements of Statistical Learning 4.3.2

Sphering ( or whitening ) the data ($X$) means applying a transformation so that in the new basis, the covariance for sphered data ($X^{*}$) is the identity matrix, i.e. $E[X^{*T}X^{*}]=I_{n}$ . We op …
kiriloff's user avatar
  • 643