Aggregation Functions: Easy to Characterise?

  • Context: Undergrad 
  • Thread starter Thread starter Gerenuk
  • Start date Start date
  • Tags Tags
    Aggregation Functions
Click For Summary

Discussion Overview

The discussion revolves around the characterization of aggregation functions, which include operations like addition, multiplication, maximum, minimum, and count. Participants explore the properties of these functions, particularly focusing on commutativity and associativity, and whether they can be mapped to addition or belong to distinct classes.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants question whether aggregation functions can be easily characterized, noting that functions like addition and multiplication exhibit commutativity and associativity.
  • One participant suggests that every function on the set of n-element subsets of X could be considered an aggregation function, implying a vast number of such functions, although they later acknowledge the importance of associativity.
  • Another participant seeks clarification through examples, indicating that functions mapping to normal addition form a distinct class.
  • A participant points out that the max function can be expressed in terms of addition using limits, raising the question of whether there are aggregate functions that do not map to addition.
  • Discussion includes the function f(x, y) = x - y, which is not commutative or associative, thus not fitting the criteria for aggregation functions.
  • Multiplication is proposed as an example of an aggregation function that is commutative and associative, but another participant notes it can be mapped to addition through logarithms.
  • Participants explore the idea that functions can be transformed into equivalent forms through translations, leading to a classification of aggregation functions based on these equivalences.
  • Constant functions and the COUNT function are discussed as potential members of the aggregation class, with participants debating how they might relate to addition.

Areas of Agreement / Disagreement

Participants express differing views on the characterization of aggregation functions, the mapping of functions to addition, and the inclusion of certain functions within the aggregation category. No consensus is reached on these points.

Contextual Notes

Participants note limitations regarding the definitions and properties of aggregation functions, particularly concerning the requirements for commutativity and associativity, as well as the implications of mapping functions to addition.

Who May Find This Useful

This discussion may be of interest to those studying mathematical functions, particularly in the context of aggregation, as well as individuals exploring the properties and classifications of various operations in mathematics.

Gerenuk
Messages
1,027
Reaction score
5
Is the set of aggregation functions easy to characterise? I mean functions like addition, multiplication, maximum, minimum, count...
So basically everything that's commutative and associative:
<br /> f(x,y)=f(y,x)<br />
<br /> f(f(x,y),z)=f(x,f(y,z))<br />

What are other classes of such functions?
I can't all map to just addition, can I? I'd have no idea how to do it with the max(x,y) function?!
 
Physics news on Phys.org
Every function on the set of n-element subsets of X is an aggregation function on X^n in the obvious way, right? Which would imply there's too many of them to characterize easily.
edit: oops, I forgot about associativity.
 
I'm not sure what this means. Can you say it with an example?

(Of course all functions that somehow map to normal addition are one class only.)
 
I noticed that even the max function maps onto addition by
max(x,y)=\lim_{p\to\infty}\sqrt[p]{x^p+y^p}
Are there aggregate functions that do not map to addition?
 
What about something like f(x, y) = x - y? This is not commutative. The function could be thought of as the signed distance between two numbers on the real line.
 
But it is not associative nor commutative. So not an aggregate function I'm considering.
 
OK.
How about something like
\prod_{i = 1}^n a_i
?
That doesn't map to addition, and it's commutative and associative.
 
Hmm? You mean multiplication?
It easily maps to addition through logarithms.
 
could you be more precise with what you mean by 'maps to addition'?
 
  • #10
Instead of multiplying, I only need to "translate" the variables by logarithms and then the "structure" is the same as addition.
b_i=\ln a_i
b_\text{tot}=\sum_{i=1}^n b_i
I'm not sure what the mathematical terms are, but with this view all two value functions f(x,y) which can be created with an arbitrary one value function g(x) are "one class" and uninteresting.
f(x,y)=g^{-1}(g(x)+g(y))
Because its obviously easy to use this procedure to generate more aggregate functions.
 
  • #11
I see, so 2 aggregate functions f(x,y) and g(x,y) are equivalent if there exists a 'translation' t such that

f(x,y)= t^{-1} \circ g( tx, ty)

product is equivalent to addition by setting t=log
max is equivalent to addition by setting t: x \mapsto x^\infty
etc


and we are trying to classify these equivalence classes of aggregate functions.


One aggregation that isn't equivalent to addition is the constant function. Also all the constant functions are in the same class (take t to be any map that takes c to d, then c=t^-1 d).



btw, what is 'count' (your last example in the first post) ?
 
  • #12
Maybe I shouldn't require for g^{-1} to exist. So it doesn't have to be 1-to-1.
Then the constant function and also COUNT also somehow map onto addition?
I could map constants to infinity. And for COUNT I map all values to 1 and then add.

COUNT counts the number of variables. So
Count(a1,a2,...,aN)=N
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 30 ·
2
Replies
30
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 14 ·
Replies
14
Views
4K