Professional Documents
Culture Documents
Fuzzy logic
Rough sets and its applications
Soft sets and its applications
Artificial neural networks
Evolutionary algorithms
Dynamically evolving systems based on the above
as belief-based:
Dempster-Shafer theory
chaos theory
swarm and collective intelligence.
pattern recognition
image processing
classification
reduction of knowledge,
prediction of missing values
business and video analytics
Rough set theory: can be considered as a specific point on the long road of mathematics.
a topological bridge from real life problems to computer science and consequently to applications
in many fields.
This theory depends on a topological structure called a quasi-discrete topology generated by the
equivalence classes of the relation defined on the collection of data.
This theory was initiated by Pawlak. Exemplary applications are listed here:
Civil engineering,
medical data analysis,
pharmacology,
aircraft pilot performance evaluation,
data mining,
synthesis of switching circuit.
This term have been appeared and used after the fast development of rough set theory and its
applications. The main aim of this chapter is to give a comprehensive account on basic concepts of
rough sets and its applications, which play an important role in:
reduction of knowledge
artificial intelligent
data mining
decision making and others
where [U] is a non-empty finite set of objects ( states, patients, digits, cars, …….etc ) called the
universe
such that Xi ⊆ U, Xi ≠ φ ,
Xi ∩ Xj = φ ,
and Xj∪Xi = U,
The universe[U] of objects with the relation[R] play an important role in converting data into
knowledge which use [R] as a tool of a mathematical model for dealing with members and subsets of
[U].
Thus we can say that [R] changes [U] from just being a set to a mathematical model.
EX:
Let [U]={1,2,3,4,5,6,7,8,9} and a relation [R] which partitions [U] into two classes even and odd
numbers,
U/R= {{1,3,5,7,9},{2,4,6,8}}
X1={1,3,5,7,9]
X2={2,4,6,8}
X1∩X2=φ
X1∪X2=U
C: The knowledge base [C] Contains all the partitioned classes [U/R]
even/odd numbers
as College/CI/Examples/Ch1/EX1
U/R= {{1,3,5,7,9},{2,4,6,8}}
X1={1,3,5,7,9]
X2={2,4,6,8}
ρ: A function that maps attributes [A] with [U] elements to gat a value [V]
In an information system: S=(U,A, ρ,V) A subset X ⊆ U will be called a concept or a category in [U],
Each attribute [a] ∈ [A] can be viewed as a function [ρ] that maps elements of [U] into a set [Va]
ρ : UxA → Va
The following table contains [9 patients] records with the [symptom] attributes which are
temperature, cough, headache, muscle-pain and the diagnosis done by a doctor which says whether
or not the patient has flu.
EX:
this example is an example of information system which has: the objects [U] are the patients ID,
i.e. U={1,2,3,….,8,9},
and the values [V] of information table are normal, subfev, high, yes and no.
EX:
The objects are digits [U]={0,1,2,3...,9}
1 ≡ ON
0 ≡ OFF
a(5)=1
b(5)=0
g(9)=1
mathematical models
To extract knowledge from information system, it is necessary to find mathematical models using the
given data.
In the following we give some mathematical concepts that helps in modeling information systems.
indiscernibility
For a subset B ⊆ A
IND(B) is an equivalence relation[R] that partitions [U] and divides it into equivalence classes,
Thus the family of all equivalence classes with respect to [B] is denoted by U/IND(B), where:
∀ : For all.
EX:
Given a set of attributes B={a,b,c}.
we get:
IND(B)={(0,0),(1,1),(2,2),(3,3),(4,4),(5,5),(6,6),(7,7),(8, 8),(9,9),(0,3),(3,0),(0,7),(7,0),(0,8),(8,0),(0,9),(9,0),
(1,4),(4,1),(3,7),(7,3),(3,8),(8,3),(3,9),(9,3),(5,6),(6,5),(7,8),(8,7),(7,9),(9,7),(8,9),(9,8)}
[0]B={0,3,7,8,9}
[1]B={1,4}
[2]B={2}
[5]B={5,6}
U={1,2,3,4,5,6,7,8,9}
U/IND(B)={{0,3,7,8,9},{1,4},{2},{5,6}}
Note:
Every Element is similar to itself: {(0,0),(1,1),(2,2),(3,3),...,(9,9)}
{(0,3),(3,0),(0,7),(7,0),(3,7),(7,3)} & {8,9} are similar in the values of the attributes B={a,b,c}.
{2} is unique
B = {a,b,c}
IND(B) = {(0,0),(1,1),(2,2),(3,3),(4,4),(5,5),(6,6),(7,7),(8, 8),(9,9),(0,3),(3,0),(0,7),(7,0),(0,8),(8,0),
(0,9),(9,0),(1,4),(4,1),(3,7),(7,3),(3,8),(8,3),(3,9),(9,3),(5,6),(6,5),(7,8),(8,7),(7,9),(9,7),(8,9),(9,8)}
[0]B = {0,3,7,8,9}
[1]B = {1,4}
[2]B = {2}
[5]B ={5,6}
U = {1,2,3,4,5,6,7,8,9}
U/IND(B) = {{0,3,7,8,9},{1,4},{2},{5,6}}
discernibility matrix
An information system [S] defines a matrix MA called discernibility matrix.
consists of a set of attributes that can be used to discern between objects x,y ∈ U :
The discernibility matrix of Table (1.2) is shown in Table (1.3), in this table we neglect the row of object
9 and the column of object o for simplicity they will be blank,
not only for objects 0 and 9 but also for any two different objects, one from rows and the other from
columns
Note:
if they are similar then we delete one of them cause the same data is already represented in both.
discernibility function:
The discernibility function is a Boolean function representation of the 6-Discernibility_Matrices.
In the following sections, reduction of attributes and decision making will be discussed.
Reduction_of_Objects :
We can reduce the objects by using the discernibility matrix, where if we find an empty set (φ)
between 2 objects in discernibility matrix, then we can eliminate one of them.
They are completely similar so one of them is enough for the calculations.
reduction_of_attributes :
Let B ⊆ A, a ∈ B, then [a] is supperfluous (unnecessary) attributes in [B] if:
U/IND(B) = U/IND(B-{a})
The core is the set of all characteristic of knowledge, which can't be eliminated from knowledge in the
reduct process:
CORE(B)= ∩ RED(B)
consists of a set of all attributes that can be used to discern between objects x,y ∈ U
ƒA: The discernibility function is a Boolean function representation of the Discernibility Matrix
RED(B): the reduct of [B] is RED(B)=B-{a} where [a] is supperfluous (unnecessary) attributes in [B]
CORE(B): is the set of all characteristic of knowledge, which can't be eliminated from knowledge in
the reduct process CORE(B)= ∩ RED(B)
For objects reduction, there is no reduction of objects because we find that no empty set between
any two objects in discernibility matrix.
U/IND(a) = {{0,2,3,5,6,7,8,9},{1,4}}
U/IND(b) = {{0,1,2,3,4,7,8,9},{5,6}}
U/IND(c) = {{0,1,3,4,5,6,7,8,9},{2}}
U/IND(d) = {{0,2,3,5,6,8,9},{1,4,7}}
U/IND(e) = {{0,2,6,8},{1,3,4,5,7,9}}
U/IND(f) = {{0,4,5,6,8,9},{1,2,3,7}}
U/IND(g) = {{0,1,7},{2,3,4,5,6,8,9}}
U/IND(A)= {{0},{1},{2},{3},{4},{5},{6},{7},{8},{9}}
Note that all sets are different.
RED(A) = {{a,b,d,e,f,g},{a,b,c,e,f,g},{a,b,e,f,g}}
Note:
we can obtain the minimal reduct in one step by using discernibility function as shown in the next
example.
We can get to the same result in the last Example by using Table (1.3)
and Discernibility_Function as follows:
ƒA (a,b,c,d,e,f,g)=
{a+d+e+f}.{c+f+g}.{e+f+g}.{a+d+e+g}.{b+e+g}.{b+g}.{d+e+f}.{g}.{e,g}
.{a+c+d+e+g}.{a+d+g}.{f+g}.{a+b+d+f+g}.{a+b+d+e+f+g}.{a}.{a+d+e+f+g}.{a+d+f+g}
.{c+e}.{a+c+d+e+f}.{b+c+e+f}.{b+c+f}.{c+d+e+g}.{c+f}.{c+e+f}
.{a+ d+f}.{b+f}.{b+e+f}.{d+g}.{e+f}.{f}
.{a+b+d}.{a+b+d+e}.{a+f+g}.{a+d+e}.{a+d}
.{e}.{b+d+f+g}.{b+e}.{b}
.{b+d+e+f+g}.{b}.{b+e}
.{d+e+f+g}.{d+f+g}
.{e}
= a.b.e.f.g
P.O.S : use the smallest set {a} for example then delete each bigger set.
Note
if ƒA = a+b+e+f+g
it will be
{{a},{b},{e},{f},{g}}
while ƒA = a.b.e.f.g
will be
{a,b,e,f,g}
decision making
In this section we are going to illustrate by example the decision making which is used to give us a
decision table and find all minimal decision algorithms associated with the table.
By using the discernibility function we get the decision table which is shown in Table (1.6)
by taking the attributes which are found in row and column for each object, we get:
From the above, we can get the decision making for objects 0,1,2,…,9
As an example
the digit 1 appears iff Va(1)=0 & Vf(1)=0 or Va(1)=0 & Vg(1)=0
and so on
as shown below:
#CI
From the above, we can get the decision making for objects 0,1,2,…,9
As an example
the digit 1 appears iff Va(1)=0 & Vf(1)=0 or Va(1)=0 & Vg(1)=0
the digit 6 appears iff Ve(6)=1 & Vb(6)=0
and so on...