Fuzzy and Rough Sets Part I

Similar documents
Motivation. From Propositions To Fuzzy Logic and Rules. Propositional Logic What is a proposition anyway? Outline

n Empty Set:, or { }, subset of all sets n Cardinality: V = {a, e, i, o, u}, so V = 5 n Subset: A B, all elements in A are in B

Foundations of Mathematics

Automata and Languages

Packet #2: Set Theory & Predicate Calculus. Applied Discrete Mathematics

Automata Theory and Formal Grammars: Lecture 1

Inference in Propositional Logic

Chapter 1 : The language of mathematics.

Chapter Summary. Sets (2.1) Set Operations (2.2) Functions (2.3) Sequences and Summations (2.4) Cardinality of Sets (2.5) Matrices (2.

With Question/Answer Animations. Chapter 2

Knowledge base (KB) = set of sentences in a formal language Declarative approach to building an agent (or other system):

cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska

Propositional Logic: Models and Proofs

3. Only sequences that were formed by using finitely many applications of rules 1 and 2, are propositional formulas.

Sample Problems for all sections of CMSC250, Midterm 1 Fall 2014

Lecture Notes 1 Basic Concepts of Mathematics MATH 352

Chapter 0 Introduction. Fourth Academic Year/ Elective Course Electrical Engineering Department College of Engineering University of Salahaddin

Notes for Science and Engineering Foundation Discrete Mathematics

Discrete Mathematical Structures: Theory and Applications

Chapter 4: Classical Propositional Semantics

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

LING 501, Fall 2004: Laws of logic and the definitions of the connectives

Sets McGraw-Hill Education

It rains now. (true) The followings are not propositions.

Review 1. Andreas Klappenecker

Applied Logic. Lecture 3 part 1 - Fuzzy logic. Marcin Szczuka. Institute of Informatics, The University of Warsaw

Propositional Logic, Predicates, and Equivalence

Automata Theory for Presburger Arithmetic Logic

Language of Propositional Logic

Knowledge representation DATA INFORMATION KNOWLEDGE WISDOM. Figure Relation ship between data, information knowledge and wisdom.

CSCE 222 Discrete Structures for Computing. Review for Exam 1. Dr. Hyunyoung Lee !!!

02 Propositional Logic

Discrete Mathematics. W. Ethan Duckworth. Fall 2017, Loyola University Maryland

2.1 Sets. Definition 1 A set is an unordered collection of objects. Important sets: N, Z, Z +, Q, R.

Review of Predicate Logic

Mathematical Preliminaries. Sipser pages 1-28

Chapter Summary. Sets The Language of Sets Set Operations Set Identities Functions Types of Functions Operations on Functions Computability

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

Propositional Logic. Yimei Xiang 11 February format strictly follow the laws and never skip any step.

How to determine if a statement is true or false. Fuzzy logic deal with statements that are somewhat vague, such as: this paint is grey.

CHAPTER 1. Preliminaries. 1 Set Theory

HANDOUT AND SET THEORY. Ariyadi Wijaya

Discrete Mathematics. (c) Marcin Sydow. Sets. Set operations. Sets. Set identities Number sets. Pair. Power Set. Venn diagrams

Sets, Logic, Relations, and Functions

Propositional Logic: Syntax

Exclusive Disjunction

Syntax and Semantics. The integer arithmetic (IA) is the first order theory of integer numbers. The alphabet of the integer arithmetic consists of:

Review CHAPTER. 2.1 Definitions in Chapter Sample Exam Questions. 2.1 Set; Element; Member; Universal Set Partition. 2.

AI Principles, Semester 2, Week 2, Lecture 5 Propositional Logic and Predicate Logic

Why Knowledge Representation?

9/19/2018. Cartesian Product. Cartesian Product. Partitions

2. The Logic of Compound Statements Summary. Aaron Tan August 2017

Notes on Sets, Relations and Functions

Introduction to Automata

Why Knowledge Representation? Example. Example. CSE 3401: Intro to AI & LP Knowledge Representation & First-Order Logic

Packet #1: Logic & Proofs. Applied Discrete Mathematics

Advanced Topics in LP and FP

MATH1240 Definitions and Theorems

Artificial Intelligence. Propositional logic

Chapter 2: Introduction to Propositional Logic

COT3100 SI Final Exam Review

The proposition p is called the hypothesis or antecedent. The proposition q is called the conclusion or consequence.

Any Wizard of Oz fans? Discrete Math Basics. Outline. Sets. Set Operations. Sets. Dorothy: How does one get to the Emerald City?

COMP9020 Lecture 3 Session 2, 2014 Sets, Functions, and Sequences. Revision: 1.3

Modal logics and their semantics

BASIC MATHEMATICAL TECHNIQUES

Discrete Mathematics

Where are we? Operations on fuzzy sets (cont.) Fuzzy Logic. Motivation. Crisp and fuzzy sets. Examples

Today s topics. Introduction to Set Theory ( 1.6) Naïve set theory. Basic notations for sets

CA320 - Computability & Complexity

Informal Statement Calculus

Discrete Basic Structure: Sets

Chapter 2 Background. 2.1 A Basic Description Logic

Propositional logic (revision) & semantic entailment. p. 1/34

Syntax of propositional logic. Syntax tree of a formula. Semantics of propositional logic (I) Subformulas


Logic Synthesis and Verification

15414/614 Optional Lecture 1: Propositional Logic

A set is an unordered collection of objects.

Comparison of Rough-set and Interval-set Models for Uncertain Reasoning

Propositional Logics and their Algebraic Equivalents

Math Fall 2014 Final Exam Solutions

CHAPTER 4 CLASSICAL PROPOSITIONAL SEMANTICS

Logic. Knowledge Representation & Reasoning Mechanisms. Logic. Propositional Logic Predicate Logic (predicate Calculus) Automated Reasoning

The Modal Logic of Pure Provability

Proving simple set properties...

4. Sets The language of sets. Describing a Set. c Oksana Shatalov, Fall

CSE 1400 Applied Discrete Mathematics Definitions

CHAPTER 2 INTRODUCTION TO CLASSICAL PROPOSITIONAL LOGIC

Applied Logic. Lecture 1 - Propositional logic. Marcin Szczuka. Institute of Informatics, The University of Warsaw

On the Complexity of the Reflected Logic of Proofs

Preliminaries to the Theory of Computation

Rule-Based Fuzzy Model

LING 106. Knowledge of Meaning Lecture 3-1 Yimei Xiang Feb 6, Propositional logic

Discrete Mathematics: Lectures 6 and 7 Sets, Relations, Functions and Counting Instructor: Arijit Bishnu Date: August 4 and 6, 2009

Tecniche di Verifica. Introduction to Propositional Logic

Problem 1: Suppose A, B, C and D are finite sets such that A B = C D and C = D. Prove or disprove: A = B.

Intro to Logic and Proofs

Theory of Languages and Automata

Transcription:

Fuzzy and Rough Sets Part I Decision Systems Group Brigham and Women s Hospital, Harvard Medical School Harvard-MIT Division of Health Sciences and Technology

Aim Present aspects of fuzzy and rough sets. Enable you to start reading technical literature in the field of AI, particularly in the field of fuzzy and rough sets. Necessitates exposure to some formal concepts.

Overview Part I Types of uncertainty Sets, relations, functions, propositional logic, propositions over sets = Basis for propositional rule based systems

Overview Part II Fuzzy sets Fuzzy logic Rough sets A method for mining rough/fuzzy rules Uncertainty revisited

Uncertainty What is uncertainty? The state of being uncertain. (Webster). What does uncertain mean? Not certain to occur. Not reliable. Not known beyond doubt. Not clearly identified or defined. Not constant. (Webster).

Uncertainty Ambiguity: existence of one-to-many relations Conflict: distinguishable alternatives Non-specificity: indistinguishable alternatives Fuzziness: Lack of distinction between a set and it s complement (Yager 1979) Vagueness: nonspecific knowledge about lack of distinction

Uncertainty Klir/Yuan/Rocha: Uncertainty Fuzziness Ambiguity Vagueness Non-specificity Conflict

Model What is a model? A mathematical representation (idealization) of some process (Smets 1994) Model of uncertainty: A mathematical representation of uncertainty

Sets: Definition A set is a collection of elements If i is a member of a set S, we write i S, if not we write iˇ S S = {1,2,3,4} = {4,1,3,2} explicit list S = {i Z 1 i 4} defining condition Usually: Uppercase letters denote sets, lowercase letters denote elements in sets, and functions.

Sets: Operations A = {1,2}, B = {2,3} sets of elements union: A B = {1,2,3} = {i i A or i B} Intersection: A B = {2} = {i i A and i B} Difference: A - B = {1} = {i i A but not i B}

Sets: Subsets A set B is a subset of A if and only if all elements in B are also in A. This is denoted B A. {1,2} {2,1,4}

Sets: Subsets The empty set, containing nothing, is a subset of all sets. Also, note that A A for any A.

Sets: Cardinality For sets with a finite number of elements, the cardinality of a set is synonymous with the number of elements in the set. {1,2,3} = 3 = 0

Cartesian Product: Set of Tuples (a,b) is called an ordered pair or tuple The cartesian product A B of sets A and B, is the set of all ordered pairs where the first element comes from A and the second comes from B. A B = {(a,b) a A and b B} {1,2} {3,2} = {(1,3),(1,2),(2,3),(2,2)}

Relations: Subsets of Cartesian Products A relation R from A to B is a subset of A B R A B {(1,2),(2,3)} is a relation from {1,2} to {3,2} {(1,3)} is also a relation from {1,2} to {3,2}

Binary Relations A relation from a set A to itself is called a binary relation, i.e., R A A is a binary relation. Properties of a binary relation R: (a,a) R for all a A, R is reflexive (a,b) R implies (b,a) R, R is symmetric (a,b),(b,c) R implies (a,c) R, R is transitive

Relations: Equivalence and Partitions A binary relation on A is an equivalence relation if it is reflexive, symmetric and transitive. Let R(a) = {b (a,b) R}

Relations: Equivalence and Partitions If R is an equivalence relation, then for a,b R, either R(a) = R(b) or R(a) R(b) =. R(a) is called the equivalence class of a under R The different equivalence classes under R of the elements of A form what is called a partition of A

Functions: Single Valued Relations R {a,b,c} {1,2} R(a) = {1} R(b) = {2} R(c) = R(x) 1 for all x, R is single valued 1 2 3 0 1 Is R on the right single valued? A B R = {(1,0),(2,1)}

Functions: Partial and Total A single valued relation is called a partial function. A partial function f from A to B is total if f(a) = 1 for all a A. It is then said to be defined for all elements of A. Usually a total function is just called a function.

Functions: Partial and Total If a function f is from A to B, A is called the domain of f, while B is called the co-domain of f. A function f with domain A and codomain B is often written f:a fi B.

Functions: Extensions A partial function g such that f g is called an extension of f. a 1 a 1 b 2 b 2 c c A B f = {(a,1),(b,2)} A B g = {(a,1),(b,2),(c,2)}

Characteristic functions: Sets A function f:a fi {0,1} is called a characteristic function of S = {a A f(a) = 1}. S A

Characteristic functions: Sets a b c 0 1 f = {(a,0),(b,1),(c,1)} S =? A B

Propositional Logic Proposition: statement that is either true or false. This statement is false. (Eubulides) If pain and ST-elevation, then MI. Patient is in pain and has ST-elevation. What can we say about the patient?

Propositional language Language: An infinite set of variables V={a, b,.} A set of symbols {~, v, (, )} Any string of elements from the above two sets is an expression An expression is a legal (well formed) formula (wff) or it is not

Propositional Syntax wff formation rules: A variable alone is a wff If a is a wff, so is ~a If a and b are wff, so is (a v b) Is (a v ~~~b) a wff? Is a v b a wff?

Propositional Operators Truth functional Negation (not): ~ ~a Disjunction (or): v (a v b) ~ 0 1 1 0 v 0 1 0 0 1 1 1 1

Semantics A setting s:v fi {0,1} assigning each variable either 0 or 1, denoting true or false respectively An Interpretation I V :wff fi {0,1} used to compute the truth value of a wff

Semantics Variables I(a) = s(a) Composite wff: I(~a) = ~I(a) I(a v b) = I(a) v I(b)

Semantics Example I(~(~a v ~b)) = ~I(~a v ~b) = ~(~I(a) v ~I(b)) = ~(~s(a) v ~s(b)) If we let s(a) = 1, s(b) = 0 I(~(~a v ~b)) = ~(~1 v ~0) = ~(0 v 1) = ~1 = 0

New Operator: And Conjunction (and): ^ (a ^ b) = ~(~a v ~b) ^ 0 1 0 0 0 1 0 1

New Operator: Implication Implication (if then): fi (a fi b) = (~a v b) fi 0 1 0 1 1 1 0 1

New Operator: Equivalence Equivalence: «(a «b) = (a fi b) ^ (b fi a) «0 1 0 1 0 1 0 1

Semantics Of New Operators Conjunction: I(a ^ b) = I(a) ^ I(b) Implication: I(a fi b) = ~I(a) v I(b) Equivalence: I(a «b) = I(a fi b) ^ I(bfi a)

Propositional Consequence: A Teaser s = Alf studies g = Alf gets good grades t = Alf has a good time (s fi g) (~s fi t) (~g fi ~t) (~s v g) ^ (s v t) ^ (g v ~t) = g ^ (s v t) At least Alf gets good grades.

Propositions Over a Set Propositions that describe properties of elements in a set Modeled by characteristic functions Example: even: N fi {0,1} even(x) = (x+1) modulo 2 even(2) = 1 even(3) = 0

Truth Sets Truth set of proposition over U p:u fi {0,1} T U (p) = {x p(x) = 1} Example T N (even) = {2,4,6, }

Semantics Semantics are based on truth sets I U (p(x)) = 1 if and only if x in T U (p) Following previous definitions, we have that T U (~p) = U T U (p) T U (p v q) = T U (p) T U (q) T U (p ^ q) = T U (p) T U (q)

Semantics Example Two propositions over natural numbers even prime T N (even ^ prime) = T N (even) T N (prime) = {2} I N (even(x) ^ prime(x)) = 1 if and only if x=2

Inference: Modus Ponens Modus Ponens (rule of detachment): a a fi b b Ted is cold If Ted is cold, he shivers Ted shivers An implication-type rule application mechanism

Next Time How to include uncertainty about set membership Extend this to logic A method for mining propositional rules