













Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!














total variation
iterated weighted
1
heuristic
matrix rank constraints
Prof. S. Boyd, EE364b, Stanford University
docsity.com
fit
x
cor
with piecewise constant
x
, no more than
k
jumps
convex-cardinality problem: minimize
x
x
cor
2
subject to
card
Dx
k
is first order difference matrix)
heuristic: minimize
x
x
cor
2
γ
Dx
1
; vary
γ
to adjust number of
jumps
Dx
1
is
total variation
of signal
x
method is called
total variation reconstruction
unlike
2
based reconstruction, TVR filters high frequency noise out
while preserving sharp jumps
Prof. S. Boyd, EE364b, Stanford University
1
docsity.com
for three values of
γ
0
500
1000
1500
2000
−
2 0
0
500
1000
1500
2000
−
2 0
0
500
1000
1500
2000
−
2 0
i
ˆx ˆx ˆx
Prof. S. Boyd, EE364b, Stanford University
3
docsity.com
2
for three values of
γ
0
500
1000
1500
2000
−
2 0
0
500
1000
1500
2000
−
2 0
0
500
1000
1500
2000
−
2 0
i
ˆx ˆx ˆx
Prof. S. Boyd, EE364b, Stanford University
4
docsity.com
5
10
15
20
25
30
0
5
10
15
20
25
30
35
−0.
0
1
original
5
10
15
20
25
30
0
5
10
15
20
25
30
35
−0.
0
1
TV reconstruction
... not bad for
more variables than measurements!
Prof. S. Boyd, EE364b, Stanford University
6
docsity.com
2
5
10
15
20
25
30
0
5
10
15
20
25
30
35
−0.
0
1
original
5
10
15
20
25
30
0
5
10
15
20
25
30
35
−0.
0
1
ℓ
2
reconstruction
... this is what you’d expect with
more variables than measurements
Prof. S. Boyd, EE364b, Stanford University
7
docsity.com
wlog we can take
x
(by writing
x
x
x
−
x
, x
−
, and
replacing
card
x
with
card
x
card
x
−
we’ll use approximation
card
z
log(1 +
z/ǫ
, where
ǫ >
z
using this approximation, we get (nonconvex) problem
minimize
n i
=
log(1 +
x
i
/ǫ
subject to
x
x
we’ll find a local solution by linearizing objective at current point,
n
i
=
log(1 +
x
i
/ǫ
n
i
=
log(1 +
x
(
k
)
i
/ǫ
n
i
=
x
i
x
(
k
)
i
ǫ
x
(
k
)
i
Prof. S. Boyd, EE364b, Stanford University
9
docsity.com
and solving resulting convex problem
minimize
n i
=
w
i
x
i
subject to
x
x
with
w
i
ǫ
x
i
, to get next iterate
repeat until convergence to get a local solution
Prof. S. Boyd, EE364b, Stanford University
10 docsity.com
AR(2) scalar time-series model
y
t
a
t
y
t
b
t
y
t
v
t
v
t
2
assumption:
a
t
and
b
t
are piecewise constant, change infrequently
given
y
t
t
, estimate
a
t
b
t
t
heuristic: minimize over variables
a
t
b
t
t
T
−
2
t
=
y
t
a
t
y
t
b
t
y
t
2
γ
T
−
2
t
=
a
t
a
t
b
t
b
t
vary
γ
to trade off fit versus number of changes in
a
b
Prof. S. Boyd, EE364b, Stanford University
12 docsity.com
0
50
100
150
200
250
300
−1 −2 −
3 2 1 0
t
)t(y
50
100
150
200
250
300
−
−0.2 −0.4 −0.6 −0.
0
0.8 0.6 0.4 0.
1
t
a
t
b
t
Prof. S. Boyd, EE364b, Stanford University
13 docsity.com
Rank
is natural analog of
card
for matrices
convex-rank problem: convex, except for
Rank
in objective or
constraints
rank problem reduces to card problem when matrices are diagonal: Rank
diag
x
card
x
analog of
1
heuristic: use
nuclear norm
∗
i
σ
i
(sum of singular values; dual of spectral norm)
for
, reduces to
Tr
(for
x
x
1
reduces to
T
x
Prof. S. Boyd, EE364b, Stanford University
15 docsity.com
given matrix
n +
, find approximation of form
T
, where
n
×
r
is diagonal nonnegative
gives underlying factor model (with
r
factors)
x
F z
v,
v
z
model with fewest factors:
minimize
Rank
subject to
diagonal
with variables
n
is convex set of acceptable approximations to
Prof. S. Boyd, EE364b, Stanford University
16 docsity.com
x
F z
v
z
v
diagonal;
20
×
3
is empirical covariance matrix from
samples
set of acceptable approximations
−
1
/
2
−
1
/
2
β
trace heuristic
minimize
Tr
subject to
d
−
1
/
2
diag
d
−
1
/
2
β
Prof. S. Boyd, EE364b, Stanford University
18 docsity.com
10
−
10
−
10
0
8 6 4 2
16 14 12 10
β
) X( Rank
10
−
10
−
10
0
10
−
10
−
10
0
10
2
β
λ
i ) X(
Prof. S. Boyd, EE364b, Stanford University
19 docsity.com