Next Article in Journal
Color Image Encryption Algorithm Based on Cross-Spiral Transformation and Zone Diffusion
Next Article in Special Issue
Three-Way Co-Training with Pseudo Labels for Semi-Supervised Learning
Previous Article in Journal
COVID-19: From Limit Cycle to Stable Focus
Previous Article in Special Issue
Role Minimization Optimization Algorithm Based on Concept Lattice Factor
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Fast Algorithm for Updating Negative Concept Lattices with Increasing the Granularity Sizes of Attributes

Faculty of Transportation Engineering, Kunming University of Science and Technology, Kunming 650500, China
*
Author to whom correspondence should be addressed.
Mathematics 2023, 11(14), 3229; https://doi.org/10.3390/math11143229
Submission received: 11 June 2023 / Revised: 18 July 2023 / Accepted: 19 July 2023 / Published: 22 July 2023
(This article belongs to the Special Issue Data Mining: Analysis and Applications)

Abstract

:
In this paper, firstly, we studied the relationship between negative concept lattices with increasing the granularity sizes of the attributes. Aiming to do this, negative concepts and covering relations were both classified into three types, and the sufficient and necessary conditions of distinguishing these kinds of negative concepts and covering relations are given, respectively. Further, based on the above analysis, an algorithm for updating negative concept lattices after the increase is proposed. Finally, the experimental results demonstrated that our algorithm performed significantly better than the direct construction algorithm.

1. Introduction

Formal concept analysis (FCA), proposed by Wille [1], has been widely applied in knowledge discovery [2,3,4,5,6]. In FCA, formal contexts, formal concepts, and concept lattices are the three cornerstones [7]. To deal with various data, formal contexts are extended to fuzzy contexts [8,9,10,11,12,13,14,15,16], decision contexts, incomplete contexts [17,18,19,20], multi-scale contexts [21,22,23,24], and triadic contexts [25]. Most of the studies on FCA concentrate on the following topics: concept lattices’ construction [26,27,28], knowledge reduction [29,30], rule acquisition [19,31,32,33,34,35,36], three-way FCA [37,38,39,40,41,42,43,44], and concept learning [45,46].
In classic FCA, attention is only paid to positive attributes, while negative attributes are neglected. In fact, positive attributes and negative attributes are of equal importance in many fields. Qi et al. [37] proposed negative operators. To be specific, using negative operators, the attributes that are not owned by any given set of objects and the objects that do not have any given set of attributes can be obtained. Based on negative operators, negative concepts and negative concept lattices are defined.
In classic contexts, an attribute is either owned or not owned by an object, that is the relation between an object and an attribute is a binary relation. However, in real data, attributes could be many-valued, and these many-valued attributes are called general attributes. A data table with general attributes needs to be transformed into a one-valued context by the scaling approach [7]. The scaling approach is to replace each general attribute with a sequence of one-valued attributes considered as the corresponding values of the general attribute at certain granularity sizes. For a general attribute, finding appropriate granularity sizes is expected according to a specific requirement. Since the requirements are different, changing the granularity sizes of general attributes is common.
If a classic or negative concept lattice is reconstructed every time whenever the granularity sizes of the attributes change, it is obvious that it will be very computationally expensive and time consuming. In order to avoid reconstructing classic or negative concept lattices, studying the issues of updating classical or negative concept lattices is important when the granularity sizes of attributes change. Many researchers [8,47,48,49] have investigated how to update classic concept lattices when the granularity sizes of attributes change. However, little work has been performed on how to update negative concept lattices when the granularity sizes of attributes change. This paper focused on how to update negative concept lattices with increasing the granularity sizes of the attributes.
The rest of this paper is structured as follows. Section 2 recalls the basic knowledge about formal concept analysis. Section 3 studies the relationship between negative concept lattices (negative concepts and covering relations) before and after increasing the granularity sizes of attributes. Section 4 develops a new algorithm (named NCL-Fold) to update the negative concept lattices after the increase. Section 5 carries out the comparison experiment for verifying the effectiveness of our algorithm. Section 6 concludes this paper.

2. Preliminaries

In this section, we present the related notions and propositions in FCA. A detailed description of them can be found in [1,37,47]. We write P ( · ) to denote the power set of a set.
A formal context is a triple ( G , M , I ) , where G refers to a set of objects, M refers to a set of attributes, and I refers to a binary relation between G and M. Here, ( x , m ) I (or ( x , m ) I c ) denotes that the object x has the attribute m, while ( x , m ) I (or ( x , m ) I c ) denotes that the object x does not have the attribute m, where I c = ( G × M ) I .
Let ( G , M , I ) be a formal context. For X , Y G and A , B M , the positive derivative operator ∗ and the negative derivative operator ¯ are as follows:
: P ( G ) P ( M ) , X = { m M | x X , ( x , m ) I } , : P ( M ) P ( G ) , B = { x G | m B , ( x , m ) I } , ¯ : P ( G ) P ( M ) , X ¯ = { m M | x X , ( x , m ) I c } , ¯ : P ( M ) P ( G ) , B ¯ = { x G | m B , ( x , m ) I c } .
For these operators, there exist some useful properties. Take the negative derivative operator for example. For X , X 1 , X 2 G and A , A 1 , A 2 M , then:
(1)
X 1 X 2 X 2 ¯ X 1 ¯ and A 1 A 2 A 2 ¯ A 1 ¯ ;
(2)
X X ¯ ¯ and A A ¯ ¯ ;
(3)
X ¯ = X ¯ ¯ ¯ and A ¯ = A ¯ ¯ ¯ ;
(4)
X A ¯ A X ¯ ;
(5)
( X 1 X 2 ) ¯ = X 1 ¯ X 2 ¯ and ( A 1 A 2 ) ¯ = A 1 ¯ A 2 ¯ ;
(6)
( X 1 X 2 ) ¯ X 1 ¯ X 2 ¯ and ( A 1 A 2 ) ¯ A 1 ¯ A 2 ¯ .
Using these derivative operators, formal concepts and negative concepts are formed. For X , Y G and A , B M :
(1) A formal concept is a pair ( X , A ) , iff X = A and A = X ;
(2) A negative concept (N-concept) is a pair ( Y , B ) , iff Y ¯ = B and B ¯ = Y .
The partial-order relationship among formal concepts and N-concepts is defined as follows, respectively. For formal concepts ( X 1 , A 1 ) and ( X 2 , A 2 ) , N-concepts ( Y 1 , B 1 ) and ( Y 2 , B 2 ) of the formal context ( G , M , I ) :
( X 1 , A 1 ) ( X 2 , A 2 ) X 1 X 2 A 2 A 1 ; ( Y 1 , B 1 ) ( Y 2 , B 2 ) Y 1 Y 2 B 2 B 1 .
All formal concepts and N-concepts generated from the formal context ( G , M , I ) compose the formal concept lattice and the N-concept lattice under the above partial-order relationships, respectively. The formal concept lattice and N-concept lattice of the formal context ( G , M , I ) are denoted by F C L ( G , M , I ) and N C L ( G , M , I ) , respectively.
On the basis of the partial-order ⩽, the definition of the covering relation ≺ is proposed. For formal concepts ( X 1 , A 1 ) and ( X 2 , A 2 ) , N-concepts ( Y 1 , B 1 ) and ( Y 2 , B 2 ) of the formal context ( G , M , I ) :
( X 1 , A 1 ) ( X 2 , A 2 ) ( X 1 , A 1 ) ( X 2 , A 2 ) and { ( X 3 , A 3 ) F C L ( G , M , I ) | ( X 1 , A 1 ) < ( X 3 , A 3 ) < ( X 2 , A 2 ) } = ; ( Y 1 , B 1 ) ( Y 2 , B 2 ) ( Y 1 , B 1 ) ( Y 2 , B 2 ) and { ( Y 3 , B 3 ) N C L ( G , M , I ) | ( Y 1 , B 1 ) < ( Y 3 , B 3 ) < ( Y 2 , B 2 ) } = .
On the basis of the partial-order ≺, the definitions of lower neighbors (or children) and upper neighbors (or parents) are proposed. For formal concepts ( X 1 , A 1 ) and ( X 2 , A 2 ) , N-concepts ( Y 1 , B 1 ) and ( Y 2 , B 2 ) of the formal context ( G , M , I ) :
(1) If ( X 1 , A 1 ) ( X 2 , A 2 ) , then ( X 1 , A 1 ) is called a lower neighbor (or a child) of ( X 2 , A 2 ) or ( X 2 , A 2 ) is called an upper neighbor (or a parent) of ( X 1 , A 1 ) ;
(2) If ( Y 1 , B 1 ) ( Y 2 , B 2 ) , then ( Y 1 , B 1 ) is called a lower neighbor (or a child) of ( Y 2 , B 2 ) or ( Y 2 , B 2 ) is called an upper neighbor (or a parent) of ( Y 1 , B 1 ) .
In addition, the notions of a granularity tree, cuts, and increasing the granularity sizes are given. A granularity tree (g-tree) of attribute m is a rooted tree, in which each node of the tree is labeled as a unique attribute name, and if, for any node v, the children of node v are nodes v 1 , v 2 , , v n , then { v 1 , v 2 , , v n } must be a partition of v . For a set of nodes C in the g-tree of attribute m, if, for each leaf node v 0 , there is only one node v C on the path from the root m to v 0 , the set of nodes C is a cut at certain granularity sizes in the g-tree. For two cuts in a given g-tree C 1 and C 2 , if, for any v C 1 , there exists v C 2 such that v v , C 1 is called a refinement of C 2 , denoted by C 1 C 2 . Increasing the granularity sizes of an attribute m replaces the existing finer cut H f = { v i | i = 1 , , n f } ( n f 2 ) of the attribute m with another coarser cut H c = { v j | j = 1 , , n c } ( n c 2 ) of the attribute m, where H f and H c are two different cuts in the g-tree of attribute m, and H f H c .
Example 1.
Table 1 depicts a context T 1 = ( U , M ) , where a, b, and c are three one-valued attributes and y is a many-valued attribute. The g-tree for attribute y is displayed in Figure 1. In the g-tree, there are five cuts: { y } , { y 1 , y 2 } , { y 1 , y 3 , y 4 } , { y 1 , y 2 , y 2 } , and { y 1 , y 2 , y 3 , y 4 } . In Table 1, the cut { y 1 , y 2 , y 3 , y 4 } is used. In Table 1, for attribute y, by replacing the finer cut { y 1 , y 2 , y 3 , y 4 } with the coarser cut { y 1 , y 2 } , which increases the granularity sizes, the context T 1 is transformed into the context T 2 (i.e., Table 2).
For a formal context ( G , M , I ) , before and after increasing the granularity sizes of the attributes, the negative derivative operators, the N-concept lattices, the subconcept–supconcept relations, and the covering relations are denoted by ¯ f , N C L f , f , f , and ¯ c , N C L c , c , c , respectively, hereafter.
For the finer cut H f and the coarser cut H c of attribute m, there exists the attribute-value-transformation function α : H f H c such that α ( v i ) = v j . On the basis of the function α : H f H c , the following mappings are defined:
β : P ( H f ) P ( H c ) such that β ( V ) = { α ( v ) H c | v V } ;
γ : H c P ( H f ) such that γ ( v j ) = { v H f | α ( v ) = v j } ;
δ : H f P ( H f ) such that δ ( v ) = γ ( α ( v ) ) ;
λ : P ( H f ) P ( H f ) such that λ ( V ) = { v H f | δ ( v ) V , v V } ;
μ : P ( H f ) P ( H c ) such that μ ( V ) = { δ ( v ) H c | δ ( v ) V , v V } .

3. Relationship between N-Concept Lattices before and after Increasing the Granularity Sizes of Attributes

In this section, we discuss the relationship between N-concept lattices before and after increasing the granularity sizes of the attributes. The following theorems are useful to discuss the issue.
Theorem 1.
Let N C L f and N C L c be the N-concept lattices of a given formal context before and after increasing the granularity sizes of an attribute m, respectively, and H f = { v i | i = 1 , , n f } and H c = { v j | j = 1 , , n c } be the cuts of the attribute m before and after the increase. If ( X , A ) N C L f , then, for each v H c , X v ¯ c is an extent in N C L c .
Proof. 
It is obvious that increasing the granularity sizes of an attribute m is equal to adding attributes in H c and removing attributes in H f . In addition, for v H c , we have v ¯ c = α ( v ) = v v ¯ f . Thus, for each v H c , X v ¯ c must be an extent in N C L c if X is an extent in N C L f . □
Theorem 2.
Let N C L f and N C L c be the N-concept lattices of a given formal context before and after increasing the granularity sizes of an attribute m, respectively. If ( X , A ) is an N-concept in N C L c , then X is an extent in N C L f .
Proof. 
We discuss two situations for any ( X , A ) N C L c :
(i) Assume A H c = . Obviously, A ¯ c = A ¯ f = X holds. Thus, we can obtain that X is an extent in N C L f .
(ii) Assume A H c . Since v ¯ c = α ( v ) = v v ¯ f holds for v H c , we can obtain ( A H c ) ¯ c = Θ ¯ f , where Θ = v A H c γ ( v ) . Hence, A ¯ c = ( A H c ) ¯ c ( A H c ) ¯ c = ( A H c ) ¯ f Θ ¯ f = ( ( A H c ) Θ ) ¯ f = X . Consequently, X is an extent in N C L f .
Finally, we can conclude that X is an extent in N C L f for any ( X , A ) N C L c .
Based on Theorem 2, we can easily conclude the following theorem.
Theorem 3.
Let N C L f and N C L c be the N-concept lattices of a given formal context before and after increasing the granularity size of an attribute m, respectively. There does not exist new N-concepts in N C L c .

3.1. Relationship between N-Concepts before and after Increasing the Granularity Sizes of Attributes

We can describe N-concepts in N-concept lattices before and after increasing the granularity sizes of attributes in terms of the following definition.
Definition 1.
Let N C L f and N C L c be the N-concept lattices of a given formal context before and after increasing the granularity sizes of an attribute m, respectively, and H f = { v i | i = 1 , , n f } and H c = { v j | j = 1 , , n c } be the cuts of the attribute m before and after the increase, respectively. Then:
(1) 
If ( X , A ) N C L f and ( X , A ) N C L c , ( X , A ) is an old N-concept, denoted by c l a s s ( X , A ) = o l d ;
(2) 
If ( X , A ) N C L f and X is not an extent of any N-concept in N C L c , ( X , A ) is a deleted N-concept, denoted by c l a s s ( X , A ) = d e l e t e d ;
(3) 
if ( X , A ) N C L f with A H f and ( X , ( A H f ) μ ( A H f ) ) N C L c , ( X , A ) is a tight N-concept, denoted by c l a s s ( X , A ) = t i g h t .
Next, we give the necessary and sufficient conditions of each category.
Theorem 4.
For an N-concept ( X , A ) N C L f , we have:
(1) 
( X , A ) is an old N-concept if and only A H f = ;
(2) 
( X , A ) is a deleted N-concept if and only if the following statements are true: (i) A H f ; (ii) there exists at least one N-concept ( Y , C ) among the parents of ( X , A ) in N C L f such that ( Y , C ) satisfies the two conditions: C H f = A H f and λ ( C H f ) = λ ( A H f ) ;
(3) 
( X , A ) is a tight N-concept if and only if the following statements are true: (i) A H f ; (ii) there does not exist such an N-concept ( Y , C ) among the parents of ( X , A ) in N C L f such that ( Y , C ) satisfies the two conditions: C H f = A H f and λ ( C H f ) = λ ( A H f ) .
Proof. 
(1)
(⇒) If ( X , A ) is an old N-concept, it is obvious that ( X , A ) is an N-concept in N C L f and an N-concept in N C L c . Next, we prove A H f by using reduction to absurdity. Assume that A H f . According to the process of the proof in Theorem 2, we can obtain A ¯ c = ( ( A H c ) Θ ) ¯ f = X , where Θ = v A H c γ ( v ) . Hence, Θ X ¯ f = A , which contradicts Θ A . Hence, A H f = .
(⇒) If ( X , A ) with A H f = is an N-concept in N C L f , A ¯ c = A ¯ c = X and X ¯ c = X ¯ f = A hold. Hence, ( X , A ) is an N-concept in N C L f and an N-concept in N C L c . That is to say, ( X , A ) is an old N-concept.
(2)
(⇒) Firstly, by using reduction to absurdity, we prove that A H f . Assume that A H f = . Because the objects do not change before and after the increase, we can obtain X = A ¯ f = A ¯ c . Furthermore, it follows that X is an extent in N C L c , which is not consistent with c l a s s ( X , A ) = d e l e t e d . Hence, A H f .
Secondly, we prove the rest.
Because of A H f , we have X ( A H f ) ¯ f λ ( A H f ) ¯ f and X ( H f A H f ) ¯ f . Since v ¯ c = α ( v ) = v v ¯ f holds for v H c , we can obtain: μ ( A H f ) ¯ c = λ ( A H f ) ¯ f ; X v ¯ c holds when v μ ( A H f ) ; X v ¯ c holds when v μ ( A H f ) . Noting that ( X , A ) is a deleted N-concept, it follows that X X ¯ c ¯ c and X ¯ f = ( A H f ) ( A H f ) . Hence, X X ¯ c ¯ c = ( ( A H f ) μ ( A H f ) ) ¯ c = ( ( A H f ) λ ( A H f ) ) ¯ f . Therefore, there exists an N-concept ( Z , E ) N C L f such that ( Z , E ) = ( ( ( A H f ) λ ( A H f ) ) ¯ f , ( ( A H f ) λ ( A H f ) ) ¯ f ¯ f ) , and ( X , A ) f ( Z , E ) .
Then, we prove that E satisfies the following conditions. Because of ( A H f ) λ ( A H f ) ( ( A H f ) λ ( A H f ) ) ¯ f ¯ f = ( E H f ) ( E H f ) and ( E H f ) ( E H f ) = E A = ( A H f ) ( A H f ) , we have A H f E H f A H f and λ ( A H f ) λ ( E H f ) λ ( A H f ) . That is to say, E H f = A H f and λ ( E H f ) = λ ( A H f ) .
Finally, there must exist an N-concept ( Y , C ) N C L f such that ( X , A ) f ( Y , C ) , C H f = A H f and λ ( C H f ) = λ ( A H f ) .
(⇐) Assume that A H f and there exists one N-concept ( Y , C ) N C L f with ( X , A ) f ( Y , C ) such that C H f = A H f and λ ( C H f ) = λ ( A H f ) . Obviously, Y ( A H f ) ¯ f λ ( A H f ) ¯ f holds. By the analysis in (⇒), it follows that X ¯ c ¯ c = ( ( A H f ) λ ( A H f ) ) ¯ f . Since ( Y , C ) is a parent of ( X , A ) and Y ( A H f ) ¯ f λ ( A H f ) ¯ f holds, we can conclude that X Y ( A H f ) ¯ f λ ( A H f ) ¯ f = X ¯ c ¯ c . Thus, X is not an extent in N C L f . That is to say, ( X , A ) is a deleted N-concept:
(3)
It is easy to reach this conclusion according to (1) and (2) in Theorem 4.
Based on Theorem 4, we show the following definition and remark.
Definition 2.
Let N C L f be the N-concept lattices of a given formal context before increasing the granularity sizes of an attribute m and H f = { v i | i = 1 , , n f } be the cuts of the attribute m before the increase. For two N-concepts ( X , A ) N C L f with c l a s s ( X , A ) = d e l e t e d and ( Y , C ) N C L f with C H f = A H f and λ ( C H f ) = λ ( A H f ) :
(1) 
( Y , C ) is described as a destroyer of ( X , A ) , and ( X , A ) is described as a victim of ( Y , C ) ;
(2) 
The N-concept ( Z , E ) N C L f with Z = ( ( A H f ) λ ( A H f ) ) ¯ f and E = ( ( A H f ) λ ( A H f ) ) ¯ f ¯ f is described as a terminator of ( X , A ) .
Remark 1.
For two N-concepts ( X , A ) and ( Y , C ) in N C L f , if ( X , A ) is a deleted N-concept and ( Y , C ) is a destroyer of ( X , A ) , we have:
(1) 
The number of destroyers of ( X , A ) is either equivalent to one or more than one, and the set of all the destroyers is denoted by D e s t r o y e r s ( X , A ) ;
(2) 
The number of casualties of ( Y , C ) is either equivalent to one or more than one, and the set of all the victims of ( Y , C ) is denoted by V i c t i m s ( Y , C ) .
(3) 
The number of terminators of ( X , A ) is equivalent to one, and the only terminator of ( X , A ) is denoted by t e r m i n a t o r ( X , A ) ;
(4) 
The terminator of ( X , A ) is the maximum one among all the destroyers of ( X , A ) .
Combining Definition 2 with Theorem 4 and Remark 1, we have the following theorem.
Theorem 5.
For a deleted N-concept ( X , A ) , we have:
(1) 
If ( Z , E ) is the terminator of ( X , A ) , then ( Z , E ) must not be a deleted N-concept;
(2) 
If ( Y , C ) is a destroyer of ( X , A ) and ( Y , C ) is not the terminator of ( X , A ) , then ( Y , C ) must be a deleted N-concept.
(3) 
If ( Y , C ) is a destroyer of ( X , A ) and ( Y , C ) is not a deleted N-concept, then ( Y , C ) must be the terminator of ( X , A ) .
Proof. 
(1)
Since ( Z , E ) is the terminator of ( X , A ) , we can obtain ( Z , E ) = ( ( ( A H f ) λ ( A H f ) ) ¯ f , ( ( A H f ) λ ( A H f ) ) ¯ f ¯ f ) = ( ( ( A H f ) μ ( A H f ) ) ¯ c , ( ( A H f ) μ ( A H f ) ) ¯ c ¯ c ) . Obviously, ( Z , E ) must be an N-concept in N C L c . That is to say, ( Z , E ) is not a deleted N-concept.
(2)
Let ( Z , E ) be the terminator of ( X , A ) . Obviously, ( Z , E ) = ( ( ( A H f ) λ ( A H f ) ) ¯ f , ( ( A H f ) λ ( A H f ) ) ¯ f ¯ f ) . Since ( Z , E ) is the maximum one among all the destroyers of ( X , A ) and ( Y , C ) with ( Y , C ) ( Z , E ) is a destroyer of ( X , A ) , we have E H f = C H f = A H f and λ ( E H f ) = λ ( C H f ) = λ ( A H f ) . Hence, ( Y , C ) must be a deleted N-concept and ( Z , E ) is the terminator of ( Y , C ) .
(3)
It is easy to reach this conclusion according to (2) in Theorem 5.

3.2. Relationship between the Covering Relations before and after Increasing the Granularity Sizes of Attributes

We can describe the covering relations in N-concept lattices before and after increasing the granularity sizes of the attributes in terms of the following definition.
Definition 3.
Let N C L f and N C L c be the N-concept lattices of a given formal context before and after increasing the granularity sizes of an attribute m, respectively. Then:
(1) 
If ( X , A ) f ( Y , C ) and f c ¯ ( X , A ) c f c ¯ ( Y , C ) hold, ( X , A ) f ( Y , C ) (or f c ¯ ( X , A ) c f c ¯ ( Y , C ) ) is an old covering relation;
(2) 
If ( X , A ) c ( Y , C ) and f c ¯ 1 ( X , A ) f f c ¯ 1 ( Y , C ) hold, ( X , A ) c ( Y , C ) is a new covering relation;
(3) 
If ( X , A ) f ( Y , C ) holds and at least one of ( X , A ) and ( Y , C ) is a deleted N-concept, ( X , A ) f ( Y , C ) is a deleted covering relation.
For ( X , A ) N C L f and ( Y , C ) N C L f with c l a s s ( Y , C ) deleted , two mappings are given by
f c : N C L f N C L c , f c ( X , A ) = ( X ¯ c ¯ c , X ¯ c ) , f c ¯ : N C L f { ( O , P ) N C L f | c l a s s ( O , P ) = deleted } N C L c , f c ¯ ( Y , C ) = ( Y , Y ¯ c ) .
Obviously, f c is not a bijection, but f c ¯ is a bijection.
Let ( X 2 , A 2 ) N C L f with c l a s s ( X 2 , A 2 ) deleted . If ( X 2 , A 2 ) is the terminator of a certain N-concept, then we give the following remarks:
C A N ° ( X 2 , A 2 ) = { ( X , A ) N C L f | ( X , A ) < f ( X 2 , A 2 ) , c l a s s ( X , A ) deleted } , C A N ( X 2 , A 2 ) = { ( X , A ) N C L f | ( X , A ) f ( X 2 , A 2 ) , c l a s s ( X , A ) deleted } { ( X , A ) N C L f | t e r m i n a t o r ( X , A ) = ( X 2 , A 2 ) , ( X , A ) f ( X , A ) , c l a s s ( X , A ) deleted } , C A N ( X 2 , A 2 ) = { ( X , A ) N C L f | ( X , A ) < f ( X , A ) , ( X , A ) C A N ( X 2 , A 2 ) , c l a s s ( X , A ) deleted } , C A N ( X 2 , A 2 ) = { ( X , A ) N C L f | ( X , A ) < f ( X , A ) < f ( X 2 , A 2 ) , t e r m i n a t o r ( X , A ) ( X 2 , A 2 ) , c l a s s ( X , A ) deleted } , C A N ( X 2 , A 2 ) = { ( X , A ) C A N ( X 2 , A 2 ) | ( X , A ) C A N ( X 2 , A 2 ) , ( X , A ) f ( X , A ) } , C A N ( X 2 , A 2 ) = C A N ( X 2 , A 2 ) { ( X , A ) N C L f | ( X , A ) f ( X 2 , A 2 ) , c l a s s ( X , A ) deleted } .
The covering relations among transformed concepts are listed in the following two theorems.
Theorem 6.
For ( X 2 , A 2 ) N C L f , if ( X 2 , A 2 ) is not the terminator of any N-concept, then { ( Z , E ) N C L c | ( Z , E ) c f c ¯ ( X 2 , A 2 ) } = { ( X , A ) N C L f | ( X , A ) f ( X 2 , A 2 ) } .
Proof. 
At first, by using reduction to absurdity, we prove that ( X 1 , A 1 ) is not a deleted N-concept if ( X 2 , A 2 ) is not the terminator of any N-concept and ( X 1 , A 1 ) is a child of ( X 2 , A 2 ) in N C L f . Assume that ( X 1 , A 1 ) is a deleted N-concept, which implies A 1 H f . Obviously, there must exist an N-concept ( X 3 , A 3 ) in N C L f such that ( X 2 , A 2 ) < f ( X 1 , A 1 ) , and ( X 3 , A 3 ) is the terminator of ( X 1 , A 1 ) . According to the definition of terminators, we can obtain that A 1 H f = A 3 H f and λ ( A 1 H f ) = λ ( A 3 H f ) . Because ( X 2 , A 2 ) with c l a s s ( X 2 , A 2 ) deleted is not the terminator of any N-concept and ( X 1 , A 1 ) is a child of ( X 2 , A 2 ) in N C L f , which implies A 2 H f = , A 2 A 1 , we have A 2 A 1 . Hence, A 2 A 3 , which means ( X 1 , A 1 ) < f ( X 3 , A 3 ) < f ( X 2 , A 2 ) . That is to say, ( X 1 , A 1 ) cannot be a child of ( X 2 , A 2 ) in N C L f , which is inconsistent with the fact that ( X 1 , A 1 ) is a child of ( X 2 , A 2 ) in N C L f . Thus, ( X 1 , A 1 ) is not a deleted N-concept. Therefore, X 1 ¯ c ¯ c = X 1 and X 3 = X 3 ¯ c ¯ c hold. In addition, since there do not exist new N-concepts in N C L c , f c ¯ ( X 1 , A 1 ) is a child of f c ¯ ( X 2 , A 2 ) in N C L c . In summary, { ( Z , E ) N C L c | ( Z , E ) c f c ¯ ( X 2 , A 2 ) } = { f c ¯ ( X , A ) | ( X , A ) f ( X 2 , A 2 ) } holds. □
Theorem 7.
For ( X 2 , A 2 ) N C L f , if ( X 2 , A 2 ) is the terminator of a certain N-concept, then { ( Z , E ) N C L c | ( Z , E ) c f c ¯ ( X 2 , A 2 ) } = { f c ¯ ( X , A ) | ( X , A ) C A N ( X 2 , A 2 ) } .
Proof. 
Since there does not exist new N-concepts in N C L c , it is obvious that { ( X , A ) N C L c | ( X , A ) c f c ¯ ( X 2 , A 2 ) } { f c ¯ ( ( X , A ) | ( X , A ) C A N ° ( X 2 , A 2 ) } .
Let ( X , A ) be an N-concept C A N ( X 2 , A 2 ) . It is easily seen that there must exist ( X , A ) C A N ( X 2 , A 2 ) such that ( X , A ) < f ( X , A ) < f ( X 2 , A 2 ) , which implies f c ¯ ( X , A ) < c f c ¯ ( X , A ) < c f c ¯ ( X 2 , A 2 ) . Hence, f c ¯ ( X , A ) c f c ¯ ( X 2 , A 2 ) holds.
Let ( Y , C ) be an N-concept C A N ( X 2 , A 2 ) . It is easily seen that there must exist two N-concepts ( Y , C ) and ( Y , C ) in N C L f such that ( Y , C ) < f ( Y , C ) < f ( Y , C ) < f ( X 2 , A 2 ) , t e r m i n a t o r ( Y , C ) = ( X 2 , A 2 ) and t e r m i n a t o r ( Y , C ) ( X 2 , A 2 ) . Hence, according to the definition of terminators, we have ( Y , C ) < f t e r m i n a t o r ( Y , C ) < f t e r m i n a t o r ( Y , C ) = ( X 2 , A 2 ) , which implies that t e r m i n a t o r ( Y , C ) is an N-concept in C A N ( X 2 , A 2 ) or C A N ( X 2 , A 2 ) . That is to say, ( Y , C ) C A N ( X 2 , A 2 ) holds. Thus, we can obtain f c ¯ ( Y , C ) c f c ¯ ( X 2 , A 2 ) and C A N ° ( X 2 , A 2 ) = C A N ( X 2 , A 2 ) C A N ( X 2 , A 2 ) C A N ( X 2 , A 2 ) .
In summary, { ( X , A ) N C L c | ( X , A ) c f c ¯ ( X 2 , A 2 ) } { f c ¯ ( ( X , A ) | ( X , A ) C A N ( X 2 , A 2 ) } . Finally, we can easily conclude that { ( Z , E ) N C L c | ( Z , E ) c f c ¯ ( X 2 , A 2 ) } = { f c ¯ ( X , A ) | ( X , A ) C A N ( X 2 , A 2 ) } . □
Theorem 8.
Let N C L f and N C L c be the N-concept lattices of a given formal context before and after increasing the granularity sizes of an attribute m, respectively. For two non-deleted N-concept ( X , A ) and ( Y , C ) in N C L f , the:
(1) 
( Y , C ) f ( X , A ) is an old covering relation, if and only if one of the following statements is true: (i) ( X , A ) is not the terminator of any N-concept and ( ( Y , C ) is an N-concept in { ( Y , C ) N C L f | ( Y , C ) f ( X , A ) } ; (ii) ( X , A ) is the terminator of a certain N-concept and ( ( Y , C ) is an N-concept in { ( Y , C ) N C L f | ( Y , C ) f ( X , A ) , c l a s s ( X , A ) d e l e t e d } C A N ( X , A ) ;
(2) 
f c ¯ ( Y , C ) c f c ¯ ( X , A ) is a new covering relation, if and only if ( X , A ) is the terminator of a certain N-concept and ( ( Y , C ) is an N-concept in C A N ( X , A ) .
Example 2.
Let us continue with Example 1. Two formal contexts T 1 and T 2 (i.e., Table 3 and Table 4) are obtained from T 1 and T 2 by the scaling approach. The concept lattices N C L ( T 1 ) and N C L ( T 2 ) of T 1 and T 2 are displayed in Figure 2 and Figure 3, respectively. In Figure 2 and Figure 3, old N-concepts, deleted N-concepts, and tight N-concepts are the white, red, and blue nodes, respectively. In Figure 2 and Figure 3, old covering relations, deleted covering relations, and new covering relations are the black, red, and green lines, respectively.

4. The NCL-Fold Algorithm

In this section, we propose a new algorithm (called the NCL-Fold algorithm i.e., Algorithm 1) for increasing the granularity sizes of an attribute m, based on the relationship between N-concept lattices before and after the increase as discussed in Section 3.
Algorithm 1 procedure N C L F o l d ( H f , H c , N C L ) .
1: 
Find the top N-concept ( X t o p , A t o p ) in N C L
2: 
P r o c e s s ( ( X t o p , A t o p ) , N C L , H f , H c )
3: 
return N C L
The procedure N C L F o l d accepts three arguments: the cuts before and after increasing the granularity sizes of attribute m H f and H c and the N-concept lattice N C L of a formal context before the increase. N C L F o l d updates the N-concept lattice N C L of a formal context after the increase.
The procedure first finds the top N-concept ( X t o p , A t o p ) in N C L (Line 1). Then, the procedure invokes the following Algorithm 2 to process every N-concept ( X , A ) in N C L (Line 2) and return updated N C L (Line 3).
Algorithm 2 procedure P r o c e s s ( ( X , A ) , N C L , H f , H c ) .
1:for each child ( Y , C ) of ( X , A )
2:   if ( Y , C ) has not been processed
3:      P r o c e s s ( ( Y , C ) , N C L , H f , H c )
4:   end if
5:end for
6:according to Theorem 4 and Definition 1, classify ( X , A ) and modify the intent of ( X , A )
7:if ( X , A ) is a deleted N-concept
8:   mark ( Z , E ) as a destroyer and V i c t i m s ( Z , E ) = V i c t i m s ( Z , E ) { ( X , A ) } V i c t i m s ( X , A ) , for every parent ( Z , E ) with Z H f = A H f and λ ( E H f ) = λ ( A H f ) of ( X , A )
9:end if
10:mark ( X , A ) as a terminator if ( X , A ) is not a deleted N-concept and is a destroyer
11:according to Definition 3 and Theorem 8, classify the covering relations relating to ( X , A ) , set the new covering relations, and remove the deleted covering relations
12: N C L = N C L V i c t i m s ( X , A )
13:Mark ( X , A ) as processed
14:return N C L
The procedure P r o c e s s accepts four arguments: An N-concept ( X , A ) , N C L , H f , and H c . P r o c e s s traverses all N-concepts in a recursive way.
If a child ( Y , C ) of ( X , A ) is not visited, the algorithm recursively invokes P r o c e s s using the child ( Y , C ) , N C L , H f , and H c as arguments (Lines 1–5). Then, the N-concept ( X , A ) is classified according to Theorem 4, and the intent of ( X , A ) is modified according to Definition 1 (Line 6). In addition, for every parent ( Z , E ) of ( X , A ) , if ( Z , E ) satisfies the conditions of a destroyer, ( Z , E ) is marked as a destroyer and V i c t i m s ( Z , E ) is updated by adding ( X , A ) and V i c t i m s ( X , A ) to V i c t i m s ( Z , E ) (Lines 7–9). If ( X , A ) satisfies the conditions of a terminator, ( Z , E ) is marked as a terminator (Line 10). Next, according to Definition 3 and Theorem 8, the covering relations relating to ( X , A ) are fixed (Line 11). Of course, V i c t i m s ( X , A ) should be deleted from N C L (Line 12). Finally, ( X , A ) is marked as processed, and the updated N C L is returned (Lines 13–14).
Now, we analyze the time complexity of Algorithms 1 and 2.
Firstly, we analyze the time complexity of Algorithm 2. The time complexity of Steps 6–10 is O ( m a x p a r e n t s | M | 2 ) , where m a x p a r e n t s is the maximum number of parents of N-concepts in N C L and | M | is the number of attributes. The time complexity of Steps 11–12 is O ( m a x c a n 2 | M | 2 ) , where m a x c a n = max ( X , A ) N C L { | C a n ( X , A ) | } and | M | is the number of attributes. Consequently, the time complexity of Algorithm 2 is O ( | N C L | ( m a x p a r e n t s | M | 2 + m a x c a n 2 | M | 2 ) ) , where | N C L | is the number of N-concepts in N C L .
Secondly, we can easily see that the time complexity of Algorithm 1 is O ( | N C L | ( m a x p a r e n t s | M | 2 + m a x c a n 2 | M | 2 ) ) , as well.

5. Experimental Evaluation

In this section, the main task was to compare our dynamic updating method algorithm NCL-Fold and the traditional method of directly constructing N-concept latices from datasets using the idea of FastAddIntent [27] in Matlab (Version R2018b). The experimental environment was a server equipped with the 64-bit operating system, Intel(R) Xeon(R) Silver 4210R CPU, 2.40 GHz, 128 GB RAM.
In the experiments, we used contexts that were randomly generated datasets with different fill ratios. The detailed information about the sixteen databases is shown in Table 5. In these datasets, every object owns the same number of attributes according to the fill ratios, and many-valued attribute y owns the same g-tree exhibited in Figure 4. In these datasets, the domain of y is Cut 1 in Figure 4. Figure 5 depicts the running time of our algorithm NCL-Fold and the traditional method on the sixteen random datasets from Cut 1 to Cut 2.
From Figure 5, we can see that: (i) NCL-Fold significantly outperformed the traditional method in every case; (ii) the performance gap was bigger when the number of attributes, fill ratios, and changes of granularity sizes were the same, respectively, and the number of objects increased.

6. Conclusions

In this part, we present the main work of this paper and the future research work:
(1) The main work of this paper:
In this paper, we analyzed the relationship between N-concept lattices with increasing the granularity sizes of attributes. Furthermore, we proposed a new algorithm (named NCL-Fold) to update and maintain N-concept lattices with increasing the granularity sizes of attributes. Finally, we conducted experiments, and the experimental results indicated that NCL-Fold has good performance.
(2) Future research work:
Since changing the granularity sizes of attributes includes increasing the granularity sizes of the attributes and decreasing the granularity sizes of the attributes, how to quickly update N-concept lattices when decreasing the granularity sizes of the attributes could be developed in future. In addition, based on our method, how to detect appropriate granularity sizes of the attributes deserves to be studied in the future.

Author Contributions

Conceptualization, J.X.; Methodology, J.X.; Validation, L.Z. and J.Y.; Writing—original draft preparation, J.X.; Writing—review and editing, L.Z. and J.Y.; Visualization, L.Z. and J.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Foundation for Fostering Talents in Kunming University of Science and Technology (No. KKSY201902007).

Data Availability Statement

Publicly available datasets are not used in this study, and datasets in this study are randomly generated.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Wille, R. Restructuring lattice theory: An approach based on hierarchies of concepts. In Ordered Sets; Rival, I., Ed.; Reidel: Dordrecht, The Netherlands; Boston, MA, USA, 1982; pp. 445–470. [Google Scholar]
  2. Aswani Kumar, C.; Srinivas, S. Mining associations in health care data using formal concept analysis and singular value decomposition. J. Biol. Syst. 2010, 18, 787–807. [Google Scholar] [CrossRef]
  3. Dias, S.; Vieira, N. Concept lattices reduction: Definition, analysis and classification. Expert Syst. Appl. 2015, 42, 7084–7097. [Google Scholar] [CrossRef]
  4. Kuznetsov, S. Machine learning and formal concept analysis. Lect. Notes Comput. Sci. 2004, 2961, 287–312. [Google Scholar]
  5. Poelmans, J.; Ignatov, D.; Kuznetsov, S.; Dedene, G. Formal concept analysis in knowledge processing: A survey on applications. Expert Syst. Appl. 2013, 40, 6538–6560. [Google Scholar] [CrossRef]
  6. Yang, L.; Xu, Y. Decision making with uncertainty information based on lattice-valued fuzzy concept lattice. J. Univers. Comput. Sci. 2010, 16, 159–177. [Google Scholar]
  7. Ganter, B.; Wille, R. Formal Concept Analysis: Mathematical Foundations; Springer: New York, NY, USA, 1999. [Google Scholar]
  8. Bĕlohlávek, R.; Sklenăŕ, V.; Zackpal, J. Crisply generated fuzzy concepts. In Proceedings of Formal Concept Analysis; Springer: Berlin/Heidelberg, Germany, 2005; pp. 269–284. [Google Scholar]
  9. Burusco, A.; Fuentes Gonzalez, R. The study of the L-fuzzy concept lattice. Matheware Soft Comput. 1994, 1, 209–218. [Google Scholar]
  10. Burusco, A.; Fuentes Gonzalez, R. The study of the interval-valued contexts. Fuzzy Sets Syst. 2001, 121, 439–452. [Google Scholar] [CrossRef]
  11. Dubois, D.; Prade, H. Possibility theory and formal concept analysis: Characterizing independent sub-contexts. Fuzzy Sets Syst. 2012, 196, 4–16. [Google Scholar] [CrossRef]
  12. Singh, P.; Aswani Kumar, C. Bipolar fuzzy graph representation of concept lattice. Inf. Sci. 2014, 288, 437–448. [Google Scholar] [CrossRef]
  13. Singh, P. Processing linked formal fuzzy context using non-commutative composition. Inst. Integr. Omics Appl. Biotechnol. 2016, 7, 21–32. [Google Scholar]
  14. Wang, L.; Liu, X. Concept analysis via rough set and AFS algebra. Inf. Sci. 2008, 178, 4125–4137. [Google Scholar] [CrossRef]
  15. Yao, Y. A comparative study of formal concept analysis and rough set theory in data analysis. In Proceedings of the 4th International Conference on Rough Sets and Current Trends in Computing (RSCTC 2004), Uppsala, Sweden, 1–5 June 2004; pp. 59–68. [Google Scholar]
  16. Yao, Y.; Mi, J.; Li, Z.; Xie, B. The construction of fuzzy concept lattices based on (θ, δ)-fuzzy rough approximation operators. Fundam. Informaticae 2011, 111, 33–45. [Google Scholar] [CrossRef]
  17. Krupka, M.; Laštovička, J. Concept lattices of incomplete data. In Proceedings of the International Conference on Formal Concept Analysis, Leuven, Belgium, 7–10 May 2012; pp. 180–194. [Google Scholar]
  18. Li, M.; Wang, G. Approximate concept construction with three-way decisions and attribute reduction in incomplete contexts. Knowl. Based Syst. 2016, 91, 165–178. [Google Scholar] [CrossRef]
  19. Li, J.; Mei, C.; Lv, Y. Incomplete decision contexts: Approximate concept construction, rule acquisition and knowledge reduction. Int. J. Approx. Reason. 2013, 54, 149–165. [Google Scholar] [CrossRef]
  20. Simiński, K. Neuro-rough-fuzzy approach for regression modelling from missing data. Int. J. Appl. Math. Comput. Sci. 2012, 22, 461–476. [Google Scholar] [CrossRef]
  21. Hao, C.; Fan, M.; Li, J. Optimal scale selecting in multi-scale contexts based on granular scale rules. Pattem Recognit. Aitificial Intell. 2016, 29, 272–280. (In Chinese) [Google Scholar]
  22. Ma, L.; Mi, J.; Xie, B. Multi-scaled concept lattices based on neighborhood systems. Int. J. Mach. Learn. Cybern. 2017, 8, 149–157. [Google Scholar] [CrossRef]
  23. Wu, W.; Leung, Y. Theory and applications of granular labeled partitions in multi-scale decision tables. Inf. Sci. 2011, 181, 3878–3897. [Google Scholar] [CrossRef]
  24. Wu, W.; Leung, Y. Optimal scale selection for multi-scale decision tables. Int. J. Approx. Reason. 2013, 54, 1107–1129. [Google Scholar] [CrossRef]
  25. Tang, Y.; Fan, M.; Li, J. An information fusion technology for triadic decision contexts. Int. J. Mach. Learn. Cybern. 2016, 7, 13–24. [Google Scholar] [CrossRef]
  26. Godin, R.; Missaoui, R.; Alaoui, H. Incremental concept formation algorithms based on Galois (concept) lattices. Comput. Intell. 1995, 11, 246–267. [Google Scholar] [CrossRef]
  27. Zou, L.; Zhang, Z.; Long, J. A fast incremental algorithm for constructing concept lattices. Expert Syst. Appl. 2015, 42, 4474–4481. [Google Scholar] [CrossRef]
  28. Zou, L.; Zhang, Z.; Long, J. A fast incremental algorithm for deleting objects from a concept lattice. Knowl.-Based Syst. 2015, 89, 411–419. [Google Scholar] [CrossRef]
  29. Shao, M.; Leung, Y. Relations between granular reduct and dominance reduct in formal contexts. Knowl.-Based Syst. 2014, 65, 1–11. [Google Scholar] [CrossRef]
  30. Wei, L.; Qi, J.; Zhang, W. Attribute reduction theory of concept lattice based on decision formal contexts. Sci. China Ser. F–Inf. Sci. 2008, 51, 910–923. [Google Scholar] [CrossRef]
  31. Li, J.; Mei, C.; Lv, Y. Knowledge reduction in decision formal contexts. Knowl.-Based Syst. 2011, 24, 709–715. [Google Scholar] [CrossRef]
  32. Li, J.; Mei, C.; Lv, Y. Knowledge reduction in real decision formal contexts. Inf. Sci. 2012, 189, 191–207. [Google Scholar] [CrossRef]
  33. Li, J.; Mei, C.; Aswani Kumar, C.; Zhang, X. On rule acquisition in decision formal contexts. Int. J. Mach. Learn. Cybern. 2013, 4, 721–731. [Google Scholar] [CrossRef]
  34. Shao, M.; Leung, Y.; Wu, W. Rule acquisition and complexity reduction in formal decision contexts. Int. J. Approx. Reason. 2014, 55, 259–274. [Google Scholar] [CrossRef]
  35. Wei, L.; Li, T. Rules acquisition in consistent formal decision contexts. In Proceedings of the 11th International Conference on Machine Learning and Cybernetics (ICMLC’12), Xi’an, China, 15–17 July 2012; pp. 801–805. [Google Scholar]
  36. Wu, W.; Leung, Y.; Mi, J. Granular computing and knowledge reduction in formal contexts. IEEE Trans. Knowl. Data Eng. 2009, 21, 1461–1474. [Google Scholar]
  37. Qi, J.; Wei, L.; Yao, Y. Three-way formal concept analysis. In Proceedings of the 2014 International Conference on Rough Sets and Knowledge Technology, Shanghai, China, 24–26 October 2014; pp. 732–741. [Google Scholar]
  38. Qi, J.; Qian, T.; Wei, L. The connections between three-way and classical concept lattices. Knowl.-Based Syst. 2016, 91, 143–151. [Google Scholar] [CrossRef]
  39. Qian, T.; Wei, L.; Qi, J. Constructing three-way concept lattices based on apposition and subposition of formal contexts. Knowl.-Based Syst. 2017, 116, 39–48. [Google Scholar] [CrossRef]
  40. Wang, W.; Qi, J. Algorithm for constructing three-way concepts. J. Xidian Univ. 2017, 44, 71–76. [Google Scholar]
  41. Yang, S.; Lu, Y.; Jia, X.; Li, W. Constructing three-way concept lattice based on the composite of classical lattices. Int. J. Approx. Reason. 2020, 121, 174–186. [Google Scholar] [CrossRef]
  42. Yao, Y. Three-way decisions with probabilistic rough sets. Inf. Sci. 2010, 180, 341–353. [Google Scholar] [CrossRef] [Green Version]
  43. Yao, Y. Three-way decision and granular computing. Int. J. Approx. Reason. 2018, 103, 107–123. [Google Scholar] [CrossRef]
  44. Yu, H.; Li, Q.; Cai, M. Characteristics of three-way concept lattices and three-way rough concept lattices. Knowl.-Based Syst. 2018, 146, 181–189. [Google Scholar] [CrossRef]
  45. Li, J.; Xu, W.; Qian, Y. Concept learning via granular computing: A cognitive viewpoint. Inf. Sci. 2015, 298, 447–467. [Google Scholar] [CrossRef]
  46. Li, J.; Huang, C.; Qi, J.; Qian, Y.; Liu, W. Three-way cognitive concept learning via multi-granularity. Inf. Sci. 2017, 378, 244–263. [Google Scholar] [CrossRef]
  47. Bĕlohlávek, R.; De Baets, B.; Konecny, J. Granularity of attributes in formal concept analysis. Inf. Sci. 2014, 260, 149–170. [Google Scholar] [CrossRef]
  48. Hashemi, R.; Agostino, S.; Westgeest, B.; Talburt, J. Data granulation and formal concept analysis. In Proceedings of the Processing NAFIPS—04. IEEE Annual Meeting of the Fuzzy Information, Banff, AB, Canada, 27–30 June 2004; Volume 1, pp. 79–83. [Google Scholar]
  49. Zou, L.; Zhang, Z.; Long, J. An efficient algorithm for increasing the granularity levels of attributes in formal concept analysis. Expert Syst. Appl. 2016, 46, 224–235. [Google Scholar] [CrossRef]
Figure 1. The g-tree for attribute y in Table 1.
Figure 1. The g-tree for attribute y in Table 1.
Mathematics 11 03229 g001
Figure 2. The N-concept lattice of Table 3.
Figure 2. The N-concept lattice of Table 3.
Mathematics 11 03229 g002
Figure 3. The N-concept lattice of Table 4.
Figure 3. The N-concept lattice of Table 4.
Mathematics 11 03229 g003
Figure 4. The g-tree for the attribute y.
Figure 4. The g-tree for the attribute y.
Mathematics 11 03229 g004
Figure 5. The running time of NCL-Fold and traditional method on Datasets 1–10 from Cut 1 to Cut 2.
Figure 5. The running time of NCL-Fold and traditional method on Datasets 1–10 from Cut 1 to Cut 2.
Mathematics 11 03229 g005
Table 1. The context T 1 .
Table 1. The context T 1 .
Uabcy
x 1 101 y 1
x 2 010 y 2
x 3 001 y 3
x 4 101 y 4
Table 2. The context T 2 .
Table 2. The context T 2 .
Uabcy
x 1 101 y 1
x 2 010 y 1
x 3 001 y 2
x 4 101 y 2
Table 3. The formal context T 1 .
Table 3. The formal context T 1 .
Uabc y 1 y 2 y 3 y 4
x 1 1011000
x 2 0100100
x 3 0010010
x 4 1010001
Table 4. The formal context T 2 .
Table 4. The formal context T 2 .
Uabc y 1 y 2
x 1 10110
x 2 01010
x 3 00101
x 4 10101
Table 5. The detailed information about the sixteen random datasets.
Table 5. The detailed information about the sixteen random datasets.
DatabaseObjectsAttributesFill Ratios
T 100 × 10 , 20 % 1009 (Boolean), 1 (discrete, but not Boolean) 20 %
T 100 × 10 , 30 % 1009 (Boolean), 1 (discrete, but not Boolean) 30 %
T 100 × 10 , 40 % 1009 (Boolean), 1 (discrete, but not Boolean) 40 %
T 100 × 10 , 50 % 1009 (Boolean), 1 (discrete, but not Boolean) 50 %
T 500 × 10 , 20 % 5009 (Boolean), 1 (discrete, but not Boolean) 20 %
T 500 × 10 , 30 % 5009 (Boolean), 1 (discrete, but not Boolean) 30 %
T 500 × 10 , 40 % 5009 (Boolean), 1 (discrete, but not Boolean) 40 %
T 500 × 10 , 50 % 5009 (Boolean), 1 (discrete, but not Boolean) 50 %
T 1000 × 10 , 20 % 10009 (Boolean), 1 (discrete, but not Boolean) 20 %
T 1000 × 10 , 30 % 10009 (Boolean), 1 (discrete, but not Boolean) 30 %
T 1000 × 10 , 40 % 10009 (Boolean), 1 (discrete, but not Boolean) 40 %
T 1000 × 10 , 50 % 10009 (Boolean), 1 (discrete, but not Boolean) 50 %
T 2000 × 10 , 20 % 20009 (Boolean), 1 (discrete, but not Boolean) 20 %
T 2000 × 10 , 30 % 20009 (Boolean), 1 (discrete, but not Boolean) 30 %
T 2000 × 10 , 40 % 20009 (Boolean), 1 (discrete, but not Boolean) 40 %
T 2000 × 10 , 50 % 20009 (Boolean), 1 (discrete, but not Boolean) 50 %
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Xie, J.; Zhang, L.; Yang, J. A Fast Algorithm for Updating Negative Concept Lattices with Increasing the Granularity Sizes of Attributes. Mathematics 2023, 11, 3229. https://doi.org/10.3390/math11143229

AMA Style

Xie J, Zhang L, Yang J. A Fast Algorithm for Updating Negative Concept Lattices with Increasing the Granularity Sizes of Attributes. Mathematics. 2023; 11(14):3229. https://doi.org/10.3390/math11143229

Chicago/Turabian Style

Xie, Junping, Liuhai Zhang, and Jing Yang. 2023. "A Fast Algorithm for Updating Negative Concept Lattices with Increasing the Granularity Sizes of Attributes" Mathematics 11, no. 14: 3229. https://doi.org/10.3390/math11143229

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop