TD Modélisation de Problèmes de Data Science
TD Modélisation de Problèmes de Data Science
using
a. hx, yi := x> y
2 1 0
>
b. hx, yi := x Ay , A := 1 3 −1
0 −1 2
2 Compute the angle between
1 −1
x= , y=
2 −1
using
a. hx, yi := x> y
2 1
b. hx, yi := x> By , B :=
1 3
3 Consider the Euclidean vector space R5 with the dot product. A subspace
U ⊆ R5 and x ∈ R5 are given by
0 1 −3 −1 −1
−1 −3 4 −3 −9
2 ,
U = span[ −1
1 , 1 , 5 ] , x=
0 −1 2 0 4
2 2 1 7 1
5 Using the Gram-Schmidt method, turn the basis B = (b1, b2) of a two-
dimensional subspace U ⊆ R3 into an ONB C = (c1, c2) of U , where
1 −1
b1 := 1 , b2 := 2 .
1 0