View Single Post
  #15   Spotlight this post!  
Unread 13-10-2014, 08:58
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,050
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: paper: Weeks 1-2 Elo Analysis

Quote:
Originally Posted by Michael Hill View Post
I'm using the l1eq_pd.m function
That's the wrong solver.

Code:

% l1eq_pd.m
%
% Solve
% min_x ||x||_1 s.t.  Ax = b 
Firstly, you cannot find a min L1 norm vector x such that Ax=b because there is no vector x such that Ax=b, since the system is overdetermined.

Secondly, what you want to find is the min L1 norm of the residuals, not of the solution vector itself.

For the set of overdetermined linear equations Ax ≈ b, x is the solution vector. The residuals are b-Ax. So you want find a solution vector x which minimizes the L1 norm of b-Ax.


Reply With Quote