properties of $min(x_1…x_n)$
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I want to take measurements of algorithm performance. I have two algorithms A and B that run one after the other (composition)
I want to measure how well the composition of algorithms is better than the algorithms individually.
I propose to get run times of A and B individually as rA and rB and their run times when composed together as prA and prB (pr for partial run time)
and take the min(prA/rA, prB/rB) as a performance metric.
What properties does min(x,y) have? I know max(x,y) gives the $L^infty$ norm on $mathbbR^2$ but what about min? What other performance metrics are good for comparing a composition of algorithms?
metric-spaces algorithms norm maxima-minima
add a comment |Â
up vote
1
down vote
favorite
I want to take measurements of algorithm performance. I have two algorithms A and B that run one after the other (composition)
I want to measure how well the composition of algorithms is better than the algorithms individually.
I propose to get run times of A and B individually as rA and rB and their run times when composed together as prA and prB (pr for partial run time)
and take the min(prA/rA, prB/rB) as a performance metric.
What properties does min(x,y) have? I know max(x,y) gives the $L^infty$ norm on $mathbbR^2$ but what about min? What other performance metrics are good for comparing a composition of algorithms?
metric-spaces algorithms norm maxima-minima
I wanted to note that taking min may be a bad idea since we may have min(1,.5)= min(.5,.5) but clearly .5 run time ratio for both algorithms A and B is better than one, say A, with .5 ratio and the other, say B, with no improvement. Either way, what are properties of min(x,y)? I was also thinking of a performance metric like ax+by where a and b are constant weights and x and y are variables. what are properties of ax+by? certainly we get equivalence classes of slanted lines.
– user352102
Jul 19 at 23:44
Also, how about (prA+prB)/(rA+rB)?
– user352102
Jul 19 at 23:51
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I want to take measurements of algorithm performance. I have two algorithms A and B that run one after the other (composition)
I want to measure how well the composition of algorithms is better than the algorithms individually.
I propose to get run times of A and B individually as rA and rB and their run times when composed together as prA and prB (pr for partial run time)
and take the min(prA/rA, prB/rB) as a performance metric.
What properties does min(x,y) have? I know max(x,y) gives the $L^infty$ norm on $mathbbR^2$ but what about min? What other performance metrics are good for comparing a composition of algorithms?
metric-spaces algorithms norm maxima-minima
I want to take measurements of algorithm performance. I have two algorithms A and B that run one after the other (composition)
I want to measure how well the composition of algorithms is better than the algorithms individually.
I propose to get run times of A and B individually as rA and rB and their run times when composed together as prA and prB (pr for partial run time)
and take the min(prA/rA, prB/rB) as a performance metric.
What properties does min(x,y) have? I know max(x,y) gives the $L^infty$ norm on $mathbbR^2$ but what about min? What other performance metrics are good for comparing a composition of algorithms?
metric-spaces algorithms norm maxima-minima
edited Jul 19 at 22:58
Bernard
110k635103
110k635103
asked Jul 19 at 22:55
user352102
34028
34028
I wanted to note that taking min may be a bad idea since we may have min(1,.5)= min(.5,.5) but clearly .5 run time ratio for both algorithms A and B is better than one, say A, with .5 ratio and the other, say B, with no improvement. Either way, what are properties of min(x,y)? I was also thinking of a performance metric like ax+by where a and b are constant weights and x and y are variables. what are properties of ax+by? certainly we get equivalence classes of slanted lines.
– user352102
Jul 19 at 23:44
Also, how about (prA+prB)/(rA+rB)?
– user352102
Jul 19 at 23:51
add a comment |Â
I wanted to note that taking min may be a bad idea since we may have min(1,.5)= min(.5,.5) but clearly .5 run time ratio for both algorithms A and B is better than one, say A, with .5 ratio and the other, say B, with no improvement. Either way, what are properties of min(x,y)? I was also thinking of a performance metric like ax+by where a and b are constant weights and x and y are variables. what are properties of ax+by? certainly we get equivalence classes of slanted lines.
– user352102
Jul 19 at 23:44
Also, how about (prA+prB)/(rA+rB)?
– user352102
Jul 19 at 23:51
I wanted to note that taking min may be a bad idea since we may have min(1,.5)= min(.5,.5) but clearly .5 run time ratio for both algorithms A and B is better than one, say A, with .5 ratio and the other, say B, with no improvement. Either way, what are properties of min(x,y)? I was also thinking of a performance metric like ax+by where a and b are constant weights and x and y are variables. what are properties of ax+by? certainly we get equivalence classes of slanted lines.
– user352102
Jul 19 at 23:44
I wanted to note that taking min may be a bad idea since we may have min(1,.5)= min(.5,.5) but clearly .5 run time ratio for both algorithms A and B is better than one, say A, with .5 ratio and the other, say B, with no improvement. Either way, what are properties of min(x,y)? I was also thinking of a performance metric like ax+by where a and b are constant weights and x and y are variables. what are properties of ax+by? certainly we get equivalence classes of slanted lines.
– user352102
Jul 19 at 23:44
Also, how about (prA+prB)/(rA+rB)?
– user352102
Jul 19 at 23:51
Also, how about (prA+prB)/(rA+rB)?
– user352102
Jul 19 at 23:51
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2857117%2fproperties-of-minx-1-x-n%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
I wanted to note that taking min may be a bad idea since we may have min(1,.5)= min(.5,.5) but clearly .5 run time ratio for both algorithms A and B is better than one, say A, with .5 ratio and the other, say B, with no improvement. Either way, what are properties of min(x,y)? I was also thinking of a performance metric like ax+by where a and b are constant weights and x and y are variables. what are properties of ax+by? certainly we get equivalence classes of slanted lines.
– user352102
Jul 19 at 23:44
Also, how about (prA+prB)/(rA+rB)?
– user352102
Jul 19 at 23:51