15-780 – Graduate Artificial Intelligence: Optimization
- J. Zico Kolter (this lecture) and Ariel Procaccia
Carnegie Mellon University Spring 2017
1
15-780 Graduate Artificial Intelligence: Optimization J. Zico - - PowerPoint PPT Presentation
15-780 Graduate Artificial Intelligence: Optimization J. Zico Kolter (this lecture) and Ariel Procaccia Carnegie Mellon University Spring 2017 1 Outline Introduction to optimization Types of optimization problems, convexity Solving
1
2
3
4
5
푥
푥∈풞
푥∈풞 𝑔(𝑦) – optimal objective
6
푥
2 푚 푖=1
7
푋
2 + 𝑌푖+1,푗 − 𝑌푖푗 2 1 2
8
(a) Original image. (b) Blurry, noisy image. (c) Restored image.
푥1:푇 ,푢1:푇−1
2 푇 푖=1
9
𝑒 𝑠
휃
푚 푖=1
10
11
12
13
14
푥
푥
푥
15
푚 푖=1
16
푛 푖=1
17
2 ≡ 𝑦푇 𝑦 ≡ ∑
2 푛 푖=1
푚 푖=1
18
2 + 𝑦2 2 + 𝑦1𝑦2
19
20
푅 2 푥−푦 2 𝑦 + 푅 2 푥−푦 2 𝑧 2 = 푅 푥−푦 2 푥−푦 2 2 = 푅 2
21
22
23
24
2)
25
2 2
2 2 + 𝐷 𝛽∇푥𝑔 𝑦 2 2
2 2
2 2 > 0)
2 2> 0 except at optima
26
27
푥
2 + 𝑦2 2 + 𝑦1𝑦2 − 6𝑦1 − 5𝑦2
28
29
30
import numpy as np import cvxpy as cp n,m = (5,10) y = np.random.randn(n,m) x = cp.Variable(n) f = sum(cp.norm2(x - y[:,i]) for i in range(m)) cp.Problem(cp.Minimize(f), []).solve()