• Non ci sono risultati.

azotaemia (mg/dl)

N/A
N/A
Protected

Academic year: 2021

Condividi "azotaemia (mg/dl)"

Copied!
14
0
0

Testo completo

(1)

Wulff’s crystallographic shapes

Overlap

(2)

Separation

glycaem ia vs. azotaem ia

0 10 20 30 40 50 60 70 80 90

40 60 80 100 120 140

glycaemia (mg/dl)

azotaemia (mg/dl)

But what if a separation hyperplane does not exist?

(3)

How to measure overlap

glycaem ia vs. azotaem ia

0 10 20 30 40 50 60 70 80 90

40 60 80 100 120 140

glycaemia (mg/dl)

azotaemia (mg/dl)

conv(P’)

S = {x

1

, …, x

s

}

conv(S) = {x ∈ IR

n

: x =

λ1

x

1

+ … +

λs

x

s

λ1 + … + λs

= 1

λi

> 0}

S = {x

1

, …, x

s

}

conv(S) = {x ∈ IR

n

: x =

λ1

x

1

+ … +

λs

x

s

λ1 + … + λs

= 1

λi

> 0}

We can compute its implicit form conv(S) = {x ∈ IR

n

: Ax < b} by Fourier-Motzkin’s method

convex hull

(4)

How to measure overlap

glycaem ia vs. azotaem ia

0 10 20 30 40 50 60 70 80 90

40 60 80 100 120 140

glycaemia (mg/dl)

azotaemia (mg/dl)

A’x < b’

A”x < b”

Q

diam(Q) = max {d(x , y): x, yQ}

diam(Q) = max {d(x , y): x, yQ}

Q = {x ∈ IR

n

: A’x < b’, A”x < b”}

Q = {x ∈ IR

n

: Ax < b}

The overlap can be measured by the diameter of Q

(5)

How to measure overlap

Problem Compute the diameter of a polytope Q = {x ∈ IR

n

: Ax < b}

max Σ

n

(x

i

y

i

)

2

i=1

a

i1

x

1

+ a

i2

x

2

+ … + a

in

x

n

< b

i

a

i1

y

1

+ a

i2

y

2

+ … + a

in

y

n

< b

i

i = 1, …, m

computing the diameter

diam(Q) = max {d(x , y): x, yQ}

diam(Q) = max {d(x , y): x, yQ}

Theorem Let f: QIR concave (convex) with Q polytope. Then there always

exists a vertex v

*

of Q such that f(v

*

) < f(x) (such that f(v

*

) > f(x))

for any xQ.

(6)

Convex and concave functions

Let f: IR

n

→ IR, and λ

1

, …, λ

m

> 0 such that

i=1m

Σ λ

i

= 1. Let x

1

, …, x

m

IR

n

.

f (x2)

x1 x2

f (x1)

x = λx1 + (1 –λ)x2 f (x)

λ f(x1) + (1 – λ)f (x2)

convex if

f ( Σ

i

λ

i

x

i

) < Σ

i

λ

i

f (x

i

)

Theorem Let f: QIR concave (convex) with Q polytope. Then there always exists a vertex v

*

of Q such that f(v

*

) < f(x) (such that f(v

*

) > f(x)) for any xQ.

We call f

(7)

Convex and concave functions

f (x2)

x1 x2

f (x1)

concave if instead f ( Σ

i

λ

i

x

i

) > Σ

i

λ

i

f (x

i

)

x = λx1 + (1 – λ)x2

f (x) λ f(x1) + (1 –λ)f (x2)

Let f: IR

n

→ IR, and λ

1

, …, λ

m

> 0 such that Σ λ

i

= 1. Let x

1

, …, x

m

IR

n

.

We call f

convex if

f ( Σ

i

λ

i

x

i

) < Σ

i

λ

i

f (x

i

)

Theorem Let f: QIR concave (convex) with Q polytope. Then there always

exists a vertex v

*

of Q such that f(v

*

) < f(x) (such that f(v

*

) > f(x))

for any xQ.

(8)

Convex and concave functions

Theorem Let f: Q → IR concave (convex) with Q polytope. Then there always exists a vertex v

*

of Q such that f(v

*

) < f(x) (such that f(v

*

) > f(x)) for any xQ.

f (x)

v

1

, …, v

q

vertices of Q

xQx = Σ

λi

v

i

q

i=1

with

λi

> 0, Σ

λi

= 1

q

i=1

f (x) = f ( Σ

λi

v

i

) > Σ

λi

f (v

i

) >

q

i=1

q

i=1

> Σ

λi

min {f (v

i

)} = f (v

*

)

i = 1…q q

i=1

Q = conv{v

1

, …, v

q

}

Q

*

minimum point v*

(9)

How to measure overlap

0 10 20 30 40 50 60 70 80 90

40 60 80 100 120 140

Q

The theorem says that diam(Q) is the distance between two vertices of Q but the vertices of Q are not necessarily members of the sample P = P’P”

Saying it differently, it might well be Q

*

= conv(QP) Q

(10)

How to measure overlap

0 10 20 30 40 50 60 70 80 90

40 60 80 100 120 140

Q*

Instead of diam(Q), let us measure overlap as the maximum distance d between the sample points which belong to Q

d

In altre parole, può darsi che Q

*

= conv(QP) Q

without having to compute conv(QP) (Fourier-Motzkin’s method is extremely heavy) and having than to solve a quadratic problem

Knowing Q P one can compute d through

|QP|⋅(|QP| – 1)

iterations

2

(11)

How to measure overlap

0 10 20 30 40 50 60 70 80 90

40 60 80 100 120 140

Q*

Definition We say that x ∈ P’ is separable from P” if there exists a hyperplane H = {x ∈ IR

n

: ax = b} such that ax > b e ax

k

< b for any x

k

P”

ax= b

x

(12)

How to measure overlap

0 10 20 30 40 50 60 70 80 90

40 60 80 100 120 140

Q*

Definition We say that x ∈ P’ is separable from P” if there exists a hyperplane H = {x ∈ IR

n

: ax = b} uch that ax > b e ax

k

< b for any x

k

P”

x

Teorema Siano N’, N” gli insiemi dei punti di P’, P” non separabili rispettiva mente da P”, P’. Allora PQ

*

= N’N”

Theorem Let x ∈ P’ be separable from P”. Then x ∉ Q

*

.

Similarly, every x of P” separable from P’ does not belong to Q

*

.

N’ N”

(13)

How to measure overlap

Definition We say that x ∈ P’ is separable from P” if there exists a hyperplane H = {x ∈ IR

n

: ax = b} such that ax > b e ax

k

< b for any x

k

P”

such that x = λ1x1 + … + λmxm Then we could write λ1ax1 < λ1b

λmaxm < λmb

a(λ1x1 + … + λmxm) < (λ1 + … + λm)b Hence x∉conv(P”)

Let xP’ – N’. Then there are a, b such that ax > b

axk < b for any xkP”

Theorem Let x ∈ P’ be separable from P”. Then x ∉ Q

*

.

Similarly, every x of P” separable from P’ does not belong to Q

*

.

Let |P”| = m. If x ∈ conv(P”), there would be λ1, …, λm > 0 with

Σ

λi = 1

m

i=1

that is ax < b

and, since Q*conv(P”), xQ*

(14)

How to measure overlap

0 10 20 30 40 50 60 70 80 90

40 60 80 100 120 140

Q*

So, to decide whether a point of P’ (di P”) belongs or not to Q

*

, we check whether it is inseparable or not from P” (from P’)

• Once constructed P ∩ Q

*

, we compute its diameter by exhaustion

x

Checking if x is separable from P” (or from P’) is a linear programming problem

The objective chosen can be maximizing the violation by x

Riferimenti

Documenti correlati

ereditate

- se valgono convessità delle preferenze e ottimo interno, la tangenza è necessaria e sufficiente per ottimo, - se vale solo convessità potremmo avere un ottimo di frontiera

Three types of results are provided: (i) Existence of common ex- tensions satisfying certain properties, (ii) Finitely additive mixtures of extreme points, (iii) Countably

On the other hand, we expand the product and we obtain a sum with rational coefficients of numbers of the form e β where β is a sum of conjugates of n not necessarily distinct

Trovare il valore ottimale della costante C j per ciascuna variabile

[r]

[r]

Gulfoss fault,