Beamer snippets - download.tuxfamily.orgdownload.tuxfamily.org/jdhp/pdf/beamer_snippets.pdf ·...

Preview:

Citation preview

Introduction Snippets Conclusion References

Beamer snippets

Jeremie DECOCK

October 21, 2014

Decock

Beamer snippets

2

Introduction Snippets Conclusion References

Introduction

Decock

Beamer snippets

3

Introduction Snippets Conclusion References

Introduction

TODOTODO

TODO

Decock

Beamer snippets

4

Introduction Snippets Conclusion References

Snippets

Decock

Beamer snippets

5

Introduction Snippets Conclusion References

Snippets

Basic frameSubtitle

. . .

Decock

Beamer snippets

6

Introduction Snippets Conclusion References

Snippets

Citations and referencescite, label and ref commands

Eq. (1) define the Bellman equation [Bel57]

V (x) = maxa∈Γ(x)

{F (x , a) + βV (T (x , a))} (1)

Decock

Beamer snippets

7

Introduction Snippets Conclusion References

Snippets

Listsitemize, enumerate and description commands

I item 1

I item 2

I . . .

1. item 1

2. item 2

3. . . .

First item 1

Second item 2

Last . . .

Decock

Beamer snippets

8

Introduction Snippets Conclusion References

Snippets

Colorscolor environment

small

footnotesize

scriptsize

tiny

Decock

Beamer snippets

9

Introduction Snippets Conclusion References

Snippets

Fonts colorcolor environment

Red Green Blue

Decock

Beamer snippets

10

Introduction Snippets Conclusion References

Snippets

Centered imageincludegraphics command

Decock

Beamer snippets

11

Introduction Snippets Conclusion References

Snippets

Subfiguresfigure, subfigure and includegraphics commands

Decock

Beamer snippets

12

Introduction Snippets Conclusion References

Snippets

Blocksblock command

Block 1Blablabla

Block 2Blablabla

Decock

Beamer snippets

13

Introduction Snippets Conclusion References

Snippets

Equations

V (x) = maxa∈Γ(x)

{F (x , a) + βV (T (x , a))}

V (x) = maxa∈Γ(x)

{F (x , a) + βV (T (x , a))}

V (x) = maxa∈Γ(x)

{F (x , a) + βV (T (x , a))} (2)

Decock

Beamer snippets

14

Introduction Snippets Conclusion References

Snippets

Equation arrayeqnarray command

Expectation of N =n∑

i=1

E(Zi )

=n∑

i=1

γ

dβ/2

c(d)β

iαβ

dβ/2c(d)β

n∑i=1

1

iαβ

= z

Variance of N =n∑

i=1

V (Zi ) (3)

≤n∑

i=1

E(Zi ) (as V (Zi ) ≤ E(Zi )) (4)

≤ z

Decock

Beamer snippets

15

Introduction Snippets Conclusion References

Snippets

Matrices

Am,n =

a1,1 a1,2 · · · a1,n

a2,1 a2,2 · · · a2,n

......

. . ....

am,1 am,2 · · · am,n

M =

56

16 0

56 0 1

6

0 56

16

M =

( x y

A 1 0B 0 1

)

Decock

Beamer snippets

16

Introduction Snippets Conclusion References

Snippets

Systems of equation array

f (n) =

{n/2 if n is even−(n + 1)/2 if n is odd

Decock

Beamer snippets

17

Introduction Snippets Conclusion References

Snippets

Mathematical programmingwith align

max z = 4x1 + 7x2

s.t. 3x1 + 5x2 ≤ 6 (5)

x1 + 2x2 ≤ 8 (6)

x1, x2 ≥ 0

Decock

Beamer snippets

18

Introduction Snippets Conclusion References

Snippets

Mathematical programmingwith alignat

Max z = x1 + 12x2

s.t. 13x1 + x2 + 12x3 ≤ 5

x1 + x3 ≤ 16

15x1 + x2 = 14

xj ≥ 0, j = 1, 2, 3.

Max z = x1 + 12x2

s.t. 13x1 + x2 + 12x3 ≤ 5 (7)

x1 + x3 ≤ 16 (8)

15x1 + x2 = 14 (9)

xj ≥ 0, j = 1, 2, 3.

Decock

Beamer snippets

19

Introduction Snippets Conclusion References

Snippets

Animations

Slide 1

I . . .

I . . .

Decock

Beamer snippets

19

Introduction Snippets Conclusion References

Snippets

Animations

Slide 2

I . . .

I . . .

Decock

Beamer snippets

19

Introduction Snippets Conclusion References

Snippets

Animations

Slide 3

I . . .

I . . .

Decock

Beamer snippets

20

Introduction Snippets Conclusion References

Snippets

Algorithmsalgorithmic command

Require:〈S,A,T ,R〉, an MDPγ, the discount factorε, the maximum error allowed in the utility of any state in an iteration

Local variables:U,U′, vector of utilities for states in S, initially zeroδ, the maximum change in the utility of any state in an iteration

repeatU ← U′

δ ← 0for all s ∈ S do

U′[s]← R[s] + γmaxa∑

s′ T (s, a, s′)U[s′]if |U′[s]− U[s]| > δ thenδ ← |U′[s]− U[s]|

end ifend for

until δ < ε(1− γ)/γreturn U

Decock

Beamer snippets

21

Introduction Snippets Conclusion References

Snippets

Verbatim

To insert a verbatim paragraph, the frame have to be declared”fragile”. The title has to be written in frametitle command, notas argument of frame (I don’t know why. . . ).

.--.

|o_o |

|:_/ |

// \ \

(| | )

/’\_ _/‘\

\___)=(___/

# gcc -o hello hello.c

Decock

Beamer snippets

22

Introduction Snippets Conclusion References

Snippets

Listings I

1 #!/usr/bin/env python

2 # -*- coding: utf -8 -*-

3

4 # Author: Jeremie Decock

5

6 def main():

7 """ Main function """

8

9 print "Hello world!"

10

11 if __name__ == ’__main__ ’:

12 main()

listings/test.py

Decock

Beamer snippets

23

Introduction Snippets Conclusion References

Snippets

Tabletabular command

γ = 1 (small noise) γ < 1 (large noise)Proved rate for R-EDA 1

β ≤ α1

2β ≤ αFormer lower bounds α ≤ 1 α ≤ 1R-EDA experimental rates α = 1

β α = 12β

Rate by active learning α = 12 α = 1

2

Decock

Beamer snippets

24

Introduction Snippets Conclusion References

Snippets

Multi-columnscolumns and column commands

Blablabla

Decock

Beamer snippets

25

Introduction Snippets Conclusion References

Snippets

URL

http://www.jdhp.org/

JDHP

Decock

Beamer snippets

26

Introduction Snippets Conclusion References

Conclusion

Decock

Beamer snippets

27

Introduction Snippets Conclusion References

Conclusion

TODOTODO

TODO

Decock

Beamer snippets

28

Introduction Snippets Conclusion References

References I

Richard Ernest Bellman, Dynamic programming, PrincetonUniversity Press, Princeton, New Jersey, USA, 1957.

Decock

Beamer snippets