Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apriori algorithm Anti-monotonic vs monotonic

Tags:

data-mining

According to Wikipedia, a monotonic function is a function that is either increasing or decreasing. If a function is increasing and decreasing then it's not a monotonic function or it's an anti-monotonic function.

But the data mining book, "Data Mining: Concepts and Techniques," describes anti-monotonic property as: If a set is infrequent then all of its supersets are also infrequent.

Doesn't this property look the same as monotonic according to Wikipedia? What is the difference between the two?

like image 519
Mohamed Horani Avatar asked Nov 25 '16 16:11

Mohamed Horani


People also ask

What is anti monotonicity?

Definition 1. Anti-monotone: Given X ⊆ Y , if c(X) is not true then c(Y ) is not true, i.e., ¬c(X) =⇒ ¬c(Y ). Definition 2. Monotone: Given X ⊂ Y , if c(X) is true then c(Y ) is true, i.e., c(X) =⇒ c(Y ).

What is the anti-monotone property of support in terms of a priori principle?

This is called the anti-monotone property of support where if we drop out an item from an itemset, support value of new itemset generated will either be the same or will increase. Apriori principle is a result of anti-monotone property of support.

What is Minsup and Minconf?

Memory Usage Testing (Minsup and minconf mean minimum support and confidence respectively)

What is monotonic in data mining?

In data mining, what would be a monotonic function would be the support function of an itemset (its frequency in the transaction database).


2 Answers

To begin with a quote:

Mathematics is the art of giving the same name to different things.

Ferdinand Verhulst

Indeed, according to Wikipedia's page on Monotonic functions, the use of "anti" (before "monotone" or "monotonic") for a function in the realm of order theory is different than its use in calculus and analysis. In order theory, "a monotone function is also called isotone, or order-preserving. The dual notion is often called antitone, anti-monotone, or order-reversing". It only means that the order of the images of the function is inverted.

But generally speaking, we deal with calculus. There, your first definition is the right one : a function "is called monotonic if and only if it is either entirely non-increasing, or entirely non-decreasing."And if a function increases and decreases, it would be simply called non-monotonic.

In data mining, what would be a monotonic function would be the support function of an itemset (its frequency in the transaction database). But when "frequent" (i.e sup(X) > supmin) is our criteria : "if a set is frequent, then all of its subset are frequent too", and also "if a set is infrequent then all of its superset are also infrequent." The combination of both means the anti-monotonicity in this context.

like image 160
CharlesG Avatar answered Sep 28 '22 10:09

CharlesG


Different people use different definitions.

For real valued functions and sets, even the same author might be using different definitions.

like image 40
Has QUIT--Anony-Mousse Avatar answered Sep 28 '22 10:09

Has QUIT--Anony-Mousse