SlideShare a Scribd company logo
1 of 32
Symbolic Rules
Extraction From Trained
   Neural Networks

                                Koushal Kumar
                                   M .Tech CSE
                            Mob: +918968939621

26/5/2012   Koushal Kumar   1
What are Artificial Neural Networks?
• Artificial Neural Networks are powerful
  computational systems consisting of many
  simple processing elements connected together
  to perform tasks analogously to biological
  brains.
• They are massively parallel, which makes them
  efficient, robust, fault tolerant and noise tolerant
• They can learn from training data and generalize
  to new situations.
26/5/2012        Koushal Kumar         2
The limitation of Neural Network

The major criticism against Neural Network is that decision
given by neural networks is difficult to understand by a
human being. Reasons for this are

Knowledge in Neural Networks are stored as real values
parameters (weights and bias) of networks

Neural Networks are unable to explain its internal
processing how they come to particular decision

This behavior makes Neural Networks Black Box in
Nature
 26/5/2012         Koushal Kumar            3
Continue..




26/5/2012   Koushal Kumar   4
Rules extraction From Neural
              Networks.
So to overcome the       Black Box nature of Neural
Networks we need to extract rules from Neural
Networks so that the user can gain a better
understanding of the decision process. following types
of rules can be extracted from neural networks

I) M OF N types rules

II) Fuzzy rules
    26/5/2012      Koushal Kumar         5
continue..
 III) IF THEN RULES
 IV) Decision Rules

 V) First order logic rules

 From all above types of rules IF THEN RULES
 and Decision rules are easy to understand then
 others kind of rules.



26/5/2012         Koushal Kumar    6
J48 Algorithm for extracting
decision trees

• J48 is an algorithm used to generate a decision tree.
• Developed by quinlan and most widely used decision
    tree induction algorithm.
•   It is based upon greedy search approach i.e select the
    best attribute and never looks back to reconsider early
    choices.
•   It select the best attribute according to its entropy
    value.
•   More preference will be given to that attribute which
    has more value of entropy.
26/5/2012           Koushal Kumar           7
Before normalization




26/5/2012      Koushal Kumar   8
After normalization




26/5/2012      Koushal Kumar   9
MATLAB Simulator

•    Matlab stands for matrix laboratory.
•    It integrate computation, visualization, and
     programming in an easy-to-use environment.
•     MATLAB is a package that has been purpose-
     designed to make computations easy, fast and
     reliable.
•    Matlab can be used in math and computation,
     algorithm development, simulation purposes.
•    MATLAB is a powerful system that can plot graphs
     and perform a large variety of calculations with
     numbers.
    26/5/2012       Koushal Kumar       10
Weka simulator

• WEKA is abbreviation of Waikato Environment for
    Knowledge Analysis.
•   Weka is open source simulator with machine learning
    algorithms.
•   The Weka workbench contains a collection of
    visualization tools and algorithms for data analysis
    and predictive modelling.




26/5/2012          Koushal Kumar           11
Training data set and its Histogram




26/5/2012          Koushal Kumar              12
Histogram of input target values




26/5/2012            Koushal Kumar             13
Histogram of testing set as Inputs




26/5/2012         Koushal Kumar        14
Histogram of testing set as Target values




26/5/2012       Koushal Kumar        15
Neural networks Training with BPA




26/5/2012       Koushal Kumar      16
Best Training Performance curve




26/5/2012           Koushal Kumar       17
Gradient Performance Curve After Training &
Testing




26/5/2012      Koushal Kumar      18
Data import window in weka




26/5/2012     Koushal Kumar   19
J48 algorithm Output (pruned)




26/5/2012          Koushal Kumar            20
Results from pruned Tree




26/5/2012        Koushal Kumar     21
J48 algorithm Output (Unpruned)




26/5/2012           Koushal Kumar       22
Unpruned Tree Results




26/5/2012       Koushal Kumar       23
Results of classification from Decision Tree




26/5/2012      Koushal Kumar       24
Decision Tree Extracted From Exp no 7




26/5/2012      Koushal Kumar       25
The Following Rule Set Is Obtained From the above Decision
    Tree
I. Applying Remove Redundancy Conditions
   IF Children ≥ 1 AND Children >2AND Children >3 THEN Marital status =YES
   Children ≥ 1 is more specific than Children >3 and Children > 2. So we remove all such
         conditions
   Rule 1:
   a) IF Current_act = NO AND Age ≤ 48.0 AND Sex = FEMALE AND Children ≤ 0 THEN Region
         Town
   b) IF AGE > 48.0 AND Region Suburban AND Current_act = NO then Pep = NO
II. For every pair decision trees Remove redundancy rules. For example
    Rule 1: IF Age ≤60 AND Salary ≤ 3500 AND Pep = NO THEN Mortage = YES
    Rule 2: IF Age ≤ 50 AND Salary ≤ 3500 AND Pep = NO THEN Mortage = YES
    New Rule: IF Age ≤ 50 AND Salary ≤ 3500 AND Pep = NO THEN Mortage =YES
III. Remove more specific rules. The rules with a condition set which is a superset of
       another rule should be removed. For example



    26/5/2012                  Koushal Kumar                       26
Continue….
• Rule 1: IF Age ≤ 60 AND Region = Rural AND Saving_ act =
     YES THEN Pep = NO
•    Rule 2: IF Age <= 60 AND Children <= 1 AND Region
     =Rural AND saving act = YES THEN Pep= NO
•    Rule 3: IF Region = Rural AND saving _ act =YES THEN
     Pep = NO
•    New Rule: IF Region = Rural AND saving _ act =YES THEN
     Pep = NO




    26/5/2012        Koushal Kumar          27
Comparison of J48 algorithm with Others Classifiers




26/5/2012       Koushal Kumar         28
Graphical comparisons of algorithms




26/5/2012    Koushal Kumar     29
Data Flow diagram of J48 algorithm




26/5/2012       Koushal Kumar      30
Paper Published

• “Extracting Explanation From Artificial Neural Networks” is
  published in International Journal of Computer Science and
  Information Technologies.
• “Advanced Applications of Neural Networks and Artificial
  Intelligence: A Review” has been selected in International journal of
  information technologies and computer science and it will published
  on May June volume of journal.
• Seminar: Published Research paper on “Symbolic Rules Extraction
  From Trained Neural Networks” in two days UGC Sponsored
  National Seminar on Social Implications of Artificial Intelligence
  organized in KMV College in Jalandhar.



26/5/2012               Koushal Kumar                  31
References
• Olcay Boz AT & T Labs”Converting a trained neural network
    to a decision tree DecText-Decision Tree Extractor.
•   J.T Yao Dept of computer sci university of Regina “Knowledge
    extracted from Trained neural networks whats next?
•   Simon Haykin ”Neural networks a Comprehensive foundation”
    Pearson education(second edition).
•   R. Davis, B.G. Buchanan, and E. Shortcliff, “Production Rules
    as a
•   Representation for a Knowledge Based Consultation Progra”,
•   Artificial Intelligence, 1977, vol. 8(1), pp.15-45.
•   Knowledge Extraction from the Neural ‘Black Box’ in
    Ecological Monitoring Journal of Industrial and Systems
    Engineering Vol. 3, No. 1, pp 38-55 Spring 2009
26/5/2012             Koushal Kumar              32

More Related Content

Viewers also liked

Chapter 6 pwrpt 1 1
Chapter 6  pwrpt 1 1Chapter 6  pwrpt 1 1
Chapter 6 pwrpt 1 1jamiesamel
 
Basics of audio coding
Basics of audio codingBasics of audio coding
Basics of audio codingsakshij91
 
Visual Perception 101: Designing Better User Interfaces by Calvin Arterberry
Visual Perception 101: Designing Better User Interfaces by Calvin Arterberry Visual Perception 101: Designing Better User Interfaces by Calvin Arterberry
Visual Perception 101: Designing Better User Interfaces by Calvin Arterberry Calvin Arterberry, MA
 
Image video processing and canvas element by Abhay Rao
Image video processing and canvas element by Abhay RaoImage video processing and canvas element by Abhay Rao
Image video processing and canvas element by Abhay RaoMrinmay Kulkarni
 
Wireless Communications Technology - R&D
Wireless Communications Technology - R&DWireless Communications Technology - R&D
Wireless Communications Technology - R&DDr. Mazlan Abbas
 
Slidecast Solvay by Tim Hertveldt
Slidecast Solvay by Tim HertveldtSlidecast Solvay by Tim Hertveldt
Slidecast Solvay by Tim HertveldtTim_214
 
Audio Processing and Music Recognition
Audio Processing and Music RecognitionAudio Processing and Music Recognition
Audio Processing and Music RecognitionMrinmoy Dalal
 
Frequency Domain Filtering of Digital Images
Frequency Domain Filtering of Digital ImagesFrequency Domain Filtering of Digital Images
Frequency Domain Filtering of Digital ImagesUpendra Pratap Singh
 
Bayesian Networks - A Brief Introduction
Bayesian Networks - A Brief IntroductionBayesian Networks - A Brief Introduction
Bayesian Networks - A Brief IntroductionAdnan Masood
 
The growth market mobile broadband business model
The growth market mobile broadband business modelThe growth market mobile broadband business model
The growth market mobile broadband business modelDr. Kim (Kyllesbech Larsen)
 
Artificial neural network
Artificial neural networkArtificial neural network
Artificial neural networkDEEPASHRI HK
 

Viewers also liked (17)

Chapter 6 pwrpt 1 1
Chapter 6  pwrpt 1 1Chapter 6  pwrpt 1 1
Chapter 6 pwrpt 1 1
 
Municipal Open Access Networks
Municipal Open Access NetworksMunicipal Open Access Networks
Municipal Open Access Networks
 
Singapore's Next Generation Broadband Network
Singapore's Next Generation Broadband NetworkSingapore's Next Generation Broadband Network
Singapore's Next Generation Broadband Network
 
Basics of audio coding
Basics of audio codingBasics of audio coding
Basics of audio coding
 
Video image processing
Video image processingVideo image processing
Video image processing
 
Visual Perception 101: Designing Better User Interfaces by Calvin Arterberry
Visual Perception 101: Designing Better User Interfaces by Calvin Arterberry Visual Perception 101: Designing Better User Interfaces by Calvin Arterberry
Visual Perception 101: Designing Better User Interfaces by Calvin Arterberry
 
Can you trust what you see? The magic of visual perception
Can you trust what you see? The magic of visual perceptionCan you trust what you see? The magic of visual perception
Can you trust what you see? The magic of visual perception
 
Image video processing and canvas element by Abhay Rao
Image video processing and canvas element by Abhay RaoImage video processing and canvas element by Abhay Rao
Image video processing and canvas element by Abhay Rao
 
Wireless Communications Technology - R&D
Wireless Communications Technology - R&DWireless Communications Technology - R&D
Wireless Communications Technology - R&D
 
Slidecast Solvay by Tim Hertveldt
Slidecast Solvay by Tim HertveldtSlidecast Solvay by Tim Hertveldt
Slidecast Solvay by Tim Hertveldt
 
Audio Processing and Music Recognition
Audio Processing and Music RecognitionAudio Processing and Music Recognition
Audio Processing and Music Recognition
 
Frequency Domain Filtering of Digital Images
Frequency Domain Filtering of Digital ImagesFrequency Domain Filtering of Digital Images
Frequency Domain Filtering of Digital Images
 
Bayesian Networks - A Brief Introduction
Bayesian Networks - A Brief IntroductionBayesian Networks - A Brief Introduction
Bayesian Networks - A Brief Introduction
 
The growth market mobile broadband business model
The growth market mobile broadband business modelThe growth market mobile broadband business model
The growth market mobile broadband business model
 
Decision theory
Decision theoryDecision theory
Decision theory
 
Decision tree
Decision treeDecision tree
Decision tree
 
Artificial neural network
Artificial neural networkArtificial neural network
Artificial neural network
 

Similar to Symbolic Rules Extraction From Trained Neural Networks

Table of Contents
Table of ContentsTable of Contents
Table of Contentsbutest
 
Cloud_Storage
Cloud_Storage Cloud_Storage
Cloud_Storage Larvish1
 
New Approach for K-mean and K-medoids Algorithm
New Approach for K-mean and K-medoids AlgorithmNew Approach for K-mean and K-medoids Algorithm
New Approach for K-mean and K-medoids AlgorithmEditor IJCATR
 
Review of Existing Methods in K-means Clustering Algorithm
Review of Existing Methods in K-means Clustering AlgorithmReview of Existing Methods in K-means Clustering Algorithm
Review of Existing Methods in K-means Clustering AlgorithmIRJET Journal
 
IRJET- A Detailed Study on Classification Techniques for Data Mining
IRJET- A Detailed Study on Classification Techniques for Data MiningIRJET- A Detailed Study on Classification Techniques for Data Mining
IRJET- A Detailed Study on Classification Techniques for Data MiningIRJET Journal
 
[Paper Reading] Steering Query Optimizers: A Practical Take on Big Data Workl...
[Paper Reading] Steering Query Optimizers: A Practical Take on Big Data Workl...[Paper Reading] Steering Query Optimizers: A Practical Take on Big Data Workl...
[Paper Reading] Steering Query Optimizers: A Practical Take on Big Data Workl...PingCAP
 
Deep learning summary
Deep learning summaryDeep learning summary
Deep learning summaryankit_ppt
 
Unit 1 Fundamentals of Artificial Intelligence-Part II.pptx
Unit 1  Fundamentals of Artificial Intelligence-Part II.pptxUnit 1  Fundamentals of Artificial Intelligence-Part II.pptx
Unit 1 Fundamentals of Artificial Intelligence-Part II.pptxDrYogeshDeshmukh1
 
Distilling dark knowledge from neural networks
Distilling dark knowledge from neural networksDistilling dark knowledge from neural networks
Distilling dark knowledge from neural networksAlexander Korbonits
 
Strategies oled optimization jmp 2016 09-19
Strategies oled optimization jmp 2016 09-19Strategies oled optimization jmp 2016 09-19
Strategies oled optimization jmp 2016 09-19David Lee
 
Strategies for Optimization of an OLED Device
Strategies for Optimization of an OLED DeviceStrategies for Optimization of an OLED Device
Strategies for Optimization of an OLED DeviceDavid Lee
 
Master defense presentation 2019 04_18_rev2
Master defense presentation 2019 04_18_rev2Master defense presentation 2019 04_18_rev2
Master defense presentation 2019 04_18_rev2Hyun Wong Choi
 
master defense hyun-wong choi_2019_05_14_rev19
master defense hyun-wong choi_2019_05_14_rev19master defense hyun-wong choi_2019_05_14_rev19
master defense hyun-wong choi_2019_05_14_rev19Hyun Wong Choi
 
defense hyun-wong choi_2019_05_14_rev18
defense hyun-wong choi_2019_05_14_rev18defense hyun-wong choi_2019_05_14_rev18
defense hyun-wong choi_2019_05_14_rev18Hyun Wong Choi
 
master defense hyun-wong choi_2019_05_14_rev19
master defense hyun-wong choi_2019_05_14_rev19master defense hyun-wong choi_2019_05_14_rev19
master defense hyun-wong choi_2019_05_14_rev19Hyun Wong Choi
 
master defense hyun-wong choi_2019_05_14_rev19
master defense hyun-wong choi_2019_05_14_rev19master defense hyun-wong choi_2019_05_14_rev19
master defense hyun-wong choi_2019_05_14_rev19Hyun Wong Choi
 
Final edited master defense-hyun_wong choi_2019_05_23_rev21
Final edited master defense-hyun_wong choi_2019_05_23_rev21Final edited master defense-hyun_wong choi_2019_05_23_rev21
Final edited master defense-hyun_wong choi_2019_05_23_rev21Hyun Wong Choi
 
Unsupervised Feature Learning
Unsupervised Feature LearningUnsupervised Feature Learning
Unsupervised Feature LearningAmgad Muhammad
 
MachineLearning.pptx
MachineLearning.pptxMachineLearning.pptx
MachineLearning.pptxBangtangurl
 

Similar to Symbolic Rules Extraction From Trained Neural Networks (20)

Table of Contents
Table of ContentsTable of Contents
Table of Contents
 
Cloud_Storage
Cloud_Storage Cloud_Storage
Cloud_Storage
 
New Approach for K-mean and K-medoids Algorithm
New Approach for K-mean and K-medoids AlgorithmNew Approach for K-mean and K-medoids Algorithm
New Approach for K-mean and K-medoids Algorithm
 
Review of Existing Methods in K-means Clustering Algorithm
Review of Existing Methods in K-means Clustering AlgorithmReview of Existing Methods in K-means Clustering Algorithm
Review of Existing Methods in K-means Clustering Algorithm
 
IRJET- A Detailed Study on Classification Techniques for Data Mining
IRJET- A Detailed Study on Classification Techniques for Data MiningIRJET- A Detailed Study on Classification Techniques for Data Mining
IRJET- A Detailed Study on Classification Techniques for Data Mining
 
[Paper Reading] Steering Query Optimizers: A Practical Take on Big Data Workl...
[Paper Reading] Steering Query Optimizers: A Practical Take on Big Data Workl...[Paper Reading] Steering Query Optimizers: A Practical Take on Big Data Workl...
[Paper Reading] Steering Query Optimizers: A Practical Take on Big Data Workl...
 
Deep learning summary
Deep learning summaryDeep learning summary
Deep learning summary
 
Unit 1 Fundamentals of Artificial Intelligence-Part II.pptx
Unit 1  Fundamentals of Artificial Intelligence-Part II.pptxUnit 1  Fundamentals of Artificial Intelligence-Part II.pptx
Unit 1 Fundamentals of Artificial Intelligence-Part II.pptx
 
Distilling dark knowledge from neural networks
Distilling dark knowledge from neural networksDistilling dark knowledge from neural networks
Distilling dark knowledge from neural networks
 
Strategies oled optimization jmp 2016 09-19
Strategies oled optimization jmp 2016 09-19Strategies oled optimization jmp 2016 09-19
Strategies oled optimization jmp 2016 09-19
 
Strategies for Optimization of an OLED Device
Strategies for Optimization of an OLED DeviceStrategies for Optimization of an OLED Device
Strategies for Optimization of an OLED Device
 
Master defense presentation 2019 04_18_rev2
Master defense presentation 2019 04_18_rev2Master defense presentation 2019 04_18_rev2
Master defense presentation 2019 04_18_rev2
 
KCC2017 28APR2017
KCC2017 28APR2017KCC2017 28APR2017
KCC2017 28APR2017
 
master defense hyun-wong choi_2019_05_14_rev19
master defense hyun-wong choi_2019_05_14_rev19master defense hyun-wong choi_2019_05_14_rev19
master defense hyun-wong choi_2019_05_14_rev19
 
defense hyun-wong choi_2019_05_14_rev18
defense hyun-wong choi_2019_05_14_rev18defense hyun-wong choi_2019_05_14_rev18
defense hyun-wong choi_2019_05_14_rev18
 
master defense hyun-wong choi_2019_05_14_rev19
master defense hyun-wong choi_2019_05_14_rev19master defense hyun-wong choi_2019_05_14_rev19
master defense hyun-wong choi_2019_05_14_rev19
 
master defense hyun-wong choi_2019_05_14_rev19
master defense hyun-wong choi_2019_05_14_rev19master defense hyun-wong choi_2019_05_14_rev19
master defense hyun-wong choi_2019_05_14_rev19
 
Final edited master defense-hyun_wong choi_2019_05_23_rev21
Final edited master defense-hyun_wong choi_2019_05_23_rev21Final edited master defense-hyun_wong choi_2019_05_23_rev21
Final edited master defense-hyun_wong choi_2019_05_23_rev21
 
Unsupervised Feature Learning
Unsupervised Feature LearningUnsupervised Feature Learning
Unsupervised Feature Learning
 
MachineLearning.pptx
MachineLearning.pptxMachineLearning.pptx
MachineLearning.pptx
 

Recently uploaded

Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterMateoGardella
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfSanaAli374401
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.MateoGardella
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 

Recently uploaded (20)

Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 

Symbolic Rules Extraction From Trained Neural Networks

  • 1. Symbolic Rules Extraction From Trained Neural Networks Koushal Kumar M .Tech CSE Mob: +918968939621 26/5/2012 Koushal Kumar 1
  • 2. What are Artificial Neural Networks? • Artificial Neural Networks are powerful computational systems consisting of many simple processing elements connected together to perform tasks analogously to biological brains. • They are massively parallel, which makes them efficient, robust, fault tolerant and noise tolerant • They can learn from training data and generalize to new situations. 26/5/2012 Koushal Kumar 2
  • 3. The limitation of Neural Network The major criticism against Neural Network is that decision given by neural networks is difficult to understand by a human being. Reasons for this are Knowledge in Neural Networks are stored as real values parameters (weights and bias) of networks Neural Networks are unable to explain its internal processing how they come to particular decision This behavior makes Neural Networks Black Box in Nature 26/5/2012 Koushal Kumar 3
  • 4. Continue.. 26/5/2012 Koushal Kumar 4
  • 5. Rules extraction From Neural Networks. So to overcome the Black Box nature of Neural Networks we need to extract rules from Neural Networks so that the user can gain a better understanding of the decision process. following types of rules can be extracted from neural networks I) M OF N types rules II) Fuzzy rules 26/5/2012 Koushal Kumar 5
  • 6. continue.. III) IF THEN RULES IV) Decision Rules V) First order logic rules From all above types of rules IF THEN RULES and Decision rules are easy to understand then others kind of rules. 26/5/2012 Koushal Kumar 6
  • 7. J48 Algorithm for extracting decision trees • J48 is an algorithm used to generate a decision tree. • Developed by quinlan and most widely used decision tree induction algorithm. • It is based upon greedy search approach i.e select the best attribute and never looks back to reconsider early choices. • It select the best attribute according to its entropy value. • More preference will be given to that attribute which has more value of entropy. 26/5/2012 Koushal Kumar 7
  • 10. MATLAB Simulator • Matlab stands for matrix laboratory. • It integrate computation, visualization, and programming in an easy-to-use environment. • MATLAB is a package that has been purpose- designed to make computations easy, fast and reliable. • Matlab can be used in math and computation, algorithm development, simulation purposes. • MATLAB is a powerful system that can plot graphs and perform a large variety of calculations with numbers. 26/5/2012 Koushal Kumar 10
  • 11. Weka simulator • WEKA is abbreviation of Waikato Environment for Knowledge Analysis. • Weka is open source simulator with machine learning algorithms. • The Weka workbench contains a collection of visualization tools and algorithms for data analysis and predictive modelling. 26/5/2012 Koushal Kumar 11
  • 12. Training data set and its Histogram 26/5/2012 Koushal Kumar 12
  • 13. Histogram of input target values 26/5/2012 Koushal Kumar 13
  • 14. Histogram of testing set as Inputs 26/5/2012 Koushal Kumar 14
  • 15. Histogram of testing set as Target values 26/5/2012 Koushal Kumar 15
  • 16. Neural networks Training with BPA 26/5/2012 Koushal Kumar 16
  • 17. Best Training Performance curve 26/5/2012 Koushal Kumar 17
  • 18. Gradient Performance Curve After Training & Testing 26/5/2012 Koushal Kumar 18
  • 19. Data import window in weka 26/5/2012 Koushal Kumar 19
  • 20. J48 algorithm Output (pruned) 26/5/2012 Koushal Kumar 20
  • 21. Results from pruned Tree 26/5/2012 Koushal Kumar 21
  • 22. J48 algorithm Output (Unpruned) 26/5/2012 Koushal Kumar 22
  • 24. Results of classification from Decision Tree 26/5/2012 Koushal Kumar 24
  • 25. Decision Tree Extracted From Exp no 7 26/5/2012 Koushal Kumar 25
  • 26. The Following Rule Set Is Obtained From the above Decision Tree I. Applying Remove Redundancy Conditions IF Children ≥ 1 AND Children >2AND Children >3 THEN Marital status =YES Children ≥ 1 is more specific than Children >3 and Children > 2. So we remove all such conditions Rule 1: a) IF Current_act = NO AND Age ≤ 48.0 AND Sex = FEMALE AND Children ≤ 0 THEN Region Town b) IF AGE > 48.0 AND Region Suburban AND Current_act = NO then Pep = NO II. For every pair decision trees Remove redundancy rules. For example Rule 1: IF Age ≤60 AND Salary ≤ 3500 AND Pep = NO THEN Mortage = YES Rule 2: IF Age ≤ 50 AND Salary ≤ 3500 AND Pep = NO THEN Mortage = YES New Rule: IF Age ≤ 50 AND Salary ≤ 3500 AND Pep = NO THEN Mortage =YES III. Remove more specific rules. The rules with a condition set which is a superset of another rule should be removed. For example 26/5/2012 Koushal Kumar 26
  • 27. Continue…. • Rule 1: IF Age ≤ 60 AND Region = Rural AND Saving_ act = YES THEN Pep = NO • Rule 2: IF Age <= 60 AND Children <= 1 AND Region =Rural AND saving act = YES THEN Pep= NO • Rule 3: IF Region = Rural AND saving _ act =YES THEN Pep = NO • New Rule: IF Region = Rural AND saving _ act =YES THEN Pep = NO 26/5/2012 Koushal Kumar 27
  • 28. Comparison of J48 algorithm with Others Classifiers 26/5/2012 Koushal Kumar 28
  • 29. Graphical comparisons of algorithms 26/5/2012 Koushal Kumar 29
  • 30. Data Flow diagram of J48 algorithm 26/5/2012 Koushal Kumar 30
  • 31. Paper Published • “Extracting Explanation From Artificial Neural Networks” is published in International Journal of Computer Science and Information Technologies. • “Advanced Applications of Neural Networks and Artificial Intelligence: A Review” has been selected in International journal of information technologies and computer science and it will published on May June volume of journal. • Seminar: Published Research paper on “Symbolic Rules Extraction From Trained Neural Networks” in two days UGC Sponsored National Seminar on Social Implications of Artificial Intelligence organized in KMV College in Jalandhar. 26/5/2012 Koushal Kumar 31
  • 32. References • Olcay Boz AT & T Labs”Converting a trained neural network to a decision tree DecText-Decision Tree Extractor. • J.T Yao Dept of computer sci university of Regina “Knowledge extracted from Trained neural networks whats next? • Simon Haykin ”Neural networks a Comprehensive foundation” Pearson education(second edition). • R. Davis, B.G. Buchanan, and E. Shortcliff, “Production Rules as a • Representation for a Knowledge Based Consultation Progra”, • Artificial Intelligence, 1977, vol. 8(1), pp.15-45. • Knowledge Extraction from the Neural ‘Black Box’ in Ecological Monitoring Journal of Industrial and Systems Engineering Vol. 3, No. 1, pp 38-55 Spring 2009 26/5/2012 Koushal Kumar 32

Editor's Notes

  1. 08/05/12