SlideShare a Scribd company logo
Output: Knowledge Representation
Topics CoveredWe will see how knowledge can be represented:Decision tablesDecision tressClassification and Association rulesDealing with complex rules involving exceptions and relationsTrees for numeric predictionInstance based representation Clustering
Decision TablesSimplest way to represent  the output is using the way input was representedSelection of attributes is crucial Only attributes  contributing to the results should be a part of a table
Decision TreesDivide and conquer approach gives us the results in the form of decision trees
Nodes in a decision tree involve testing a particular attribute Leaf nodes give a classification that applies to all instances that reach the leafThe number of children emerging from a node depends on the type of attribute being tested in the nodeFor nominal attribute the number of splits is generally the number of different values of nominal attributeFor example we can see 3 splits for outlook as it has three possible value For numeric attribute, generally we have a two way split representing sets of numbers < or > that the attributeFor example attribute humidity in the previous example
Classification RulesPopular alternative to decision treesAntecedent, or precondition, of a rule is a series of tests  (like the ones at the nodes of a decision tree)Consequent, or conclusion, gives the class or classes that apply to instances covered by that rule
Rules VS TreeReplicated Sub-tree ProblemSome time the transformation of rules into tree is impractical :Consider the following classification rules and the corresponding decision treeIf a and b then xIf c and d then x
Advantages of rules over treesRules are usually more compact than tree, as we observed in the case of replicated sub tree problemNew rules can be added to the existing rule set without disturbing ones already there, whereas a tree may require complete reshapingAdvantages of trees over rulesBecause of the redundancy present in the tree , any sort of ambiguities is avoidedAn instance might be encountered that the rules fail to classify, usually not the case with trees
Disjunctive Normal FormA rule in distinctive normal form follows close world assumptionClose world assumption avoids ambiguitiesThese rules are written as logical expressions, that is:Disjunctive(OR) conditions Conjunction(AND) conditions
Association RulesAssociation rules can predict any attribute, not just the classThey can predict combination of attributesTo select association rules which apply to large number of instances and have high accuracy, we use the following parameter to select an association rule:Coverage/Support : Number of instances for which it predicts correctly Accuracy/Confidence : Number of instances it predicts correctly in proportion to all the instances to which it is applied
Rules with ExceptionFor classification rulesExceptions can be expressed using the ‘except’ keyword, for example:We can have exceptions to exceptions and so onExceptions allows us to scale up well
Rules with RelationsWe generally use propositional rules, where we compare an attribute with a constant. For example :Relational rules are those which express relationship between attributes, for example:
Standard Relations:Equality(=) and Inequality (!=) for nominal attributesComparison operators like < and > with numeric attributes
Trees for Numerical PredictionFor numerical prediction we use decision treesRight side of the rule, or leaf of tree, would contain a numeric value that is the average of all the training set values to which the rule or leaf appliesPrediction of numerical quantities is called regressionTherefore trees for numerical prediction are called regression trees
Instance based learningIn instance based learning we don’t create rules and use the stored instances directlyIn this all the real work is done during the classification of new instances, no pre-processing of training setThe new instance is compared with the existing ones using a distance metricUsing the distance metric,  the close existing instance is used to assign the class to new one
Sometimes more than one nearest neighbor is used, the majority class of the closest k neighbor is assigned to the new instanceThis technique is called k-nearest-neighbor methodDistance metric used should be according to the data set, most popular is Euclidian distance In case of nominal attributes distance metric has to defined manually, for exampleIf two attribute are equal, then distance equals 0 else 1
ClustersWhen clusters rather than a classifier is learned, the output takes the form of a diagram which shows how the instances fall into clustersThe output can be of 4 types:Clear demarcation of instances into different clusters An instance can be a part of more than one cluster, represented by a Venn diagramProbability of an instance falling in a cluster, for all the clustersHierarchical tree like structure dividing trees into sub trees and so on
Different output types:
Visit more self help tutorialsPick a tutorial of your choice and browse through it at your own pace.The tutorials section is free, self-guiding and will not involve any additional support.Visit us at www.dataminingtools.net

More Related Content

What's hot (20)

PPTX
Data Integration and Transformation in Data mining
kavitha muneeshwaran
 
PPTX
Data Reduction
Rajan Shah
 
PPTX
Active database
mridul mishra
 
PPTX
3 Data Mining Tasks
Mahmoud Alfarra
 
PPTX
Distributed design alternatives
Pooja Dixit
 
PPTX
Decision tree
ShraddhaPandey45
 
PDF
Introduction to distributed file systems
Viet-Trung TRAN
 
PPT
Artificial Intelligence: Case-based & Model-based Reasoning
The Integral Worm
 
PPT
2.1 Data Mining-classification Basic concepts
Krish_ver2
 
PPTX
Data cubes
Mohammed
 
PPT
Clustering: Large Databases in data mining
ZHAO Sam
 
PPTX
File allocation methods (1)
Dr. Jasmine Beulah Gnanadurai
 
PPTX
OSI Security Architecture
university of education,Lahore
 
PPT
Data warehousing and online analytical processing
VijayasankariS
 
PDF
Modelling and evaluation
eShikshak
 
PPTX
Data reduction
kalavathisugan
 
PPT
3.2 partitioning methods
Krish_ver2
 
PDF
OLAP in Data Warehouse
SOMASUNDARAM T
 
PPTX
Classification in data mining
Sulman Ahmed
 
PDF
Multidimentional data model
jagdish_93
 
Data Integration and Transformation in Data mining
kavitha muneeshwaran
 
Data Reduction
Rajan Shah
 
Active database
mridul mishra
 
3 Data Mining Tasks
Mahmoud Alfarra
 
Distributed design alternatives
Pooja Dixit
 
Decision tree
ShraddhaPandey45
 
Introduction to distributed file systems
Viet-Trung TRAN
 
Artificial Intelligence: Case-based & Model-based Reasoning
The Integral Worm
 
2.1 Data Mining-classification Basic concepts
Krish_ver2
 
Data cubes
Mohammed
 
Clustering: Large Databases in data mining
ZHAO Sam
 
File allocation methods (1)
Dr. Jasmine Beulah Gnanadurai
 
OSI Security Architecture
university of education,Lahore
 
Data warehousing and online analytical processing
VijayasankariS
 
Modelling and evaluation
eShikshak
 
Data reduction
kalavathisugan
 
3.2 partitioning methods
Krish_ver2
 
OLAP in Data Warehouse
SOMASUNDARAM T
 
Classification in data mining
Sulman Ahmed
 
Multidimentional data model
jagdish_93
 

Viewers also liked (20)

PDF
Norihicodanch
Filip Yang
 
PPTX
Data Applied: Similarity
DataminingTools Inc
 
PPTX
Oracle: DML
DataminingTools Inc
 
PPTX
Data Applied:Tree Maps
DataminingTools Inc
 
PPTX
Pentaho: Reporting Solution Development
DataminingTools Inc
 
PPTX
Clickthrough
dpapageorge
 
PPTX
Introduction To Programming in Matlab
DataminingTools Inc
 
PPTX
Portavocía en redes sociales
Muévete en bici por Madrid
 
PPTX
Matlab: Discrete Linear Systems
DataminingTools Inc
 
PPT
Facebook: An Innovative Influenza Pandemic Early Warning System
Chen Luo
 
PPTX
Data Applied:Outliers
DataminingTools Inc
 
PPT
Eugene SRTS Program
Eugene SRTS
 
PPTX
Mysql:Operators
DataminingTools Inc
 
PDF
Cinnamonhotel saigon 2013_01
cinnamonhotel
 
PPT
2008 IEDM presentation
slrommel
 
PPTX
Introduction to Data-Applied
DataminingTools Inc
 
PPTX
Matlab Text Files
DataminingTools Inc
 
PPTX
Txomin Hartz Txikia
irantzugoitia86
 
PPTX
Procedures And Functions in Matlab
DataminingTools Inc
 
PPTX
MS Sql Server: Manipulating Database
DataminingTools Inc
 
Norihicodanch
Filip Yang
 
Data Applied: Similarity
DataminingTools Inc
 
Oracle: DML
DataminingTools Inc
 
Data Applied:Tree Maps
DataminingTools Inc
 
Pentaho: Reporting Solution Development
DataminingTools Inc
 
Clickthrough
dpapageorge
 
Introduction To Programming in Matlab
DataminingTools Inc
 
Portavocía en redes sociales
Muévete en bici por Madrid
 
Matlab: Discrete Linear Systems
DataminingTools Inc
 
Facebook: An Innovative Influenza Pandemic Early Warning System
Chen Luo
 
Data Applied:Outliers
DataminingTools Inc
 
Eugene SRTS Program
Eugene SRTS
 
Mysql:Operators
DataminingTools Inc
 
Cinnamonhotel saigon 2013_01
cinnamonhotel
 
2008 IEDM presentation
slrommel
 
Introduction to Data-Applied
DataminingTools Inc
 
Matlab Text Files
DataminingTools Inc
 
Txomin Hartz Txikia
irantzugoitia86
 
Procedures And Functions in Matlab
DataminingTools Inc
 
MS Sql Server: Manipulating Database
DataminingTools Inc
 
Ad

Similar to WEKA: Output Knowledge Representation (20)

PPT
[ppt]
butest
 
PPT
[ppt]
butest
 
PPTX
Lect9 Decision tree
hktripathy
 
PPT
decisiontrees.ppt
PriyadharshiniG41
 
PPT
decisiontrees.ppt
LvlShivaNagendra
 
PPT
decisiontrees (3).ppt
LvlShivaNagendra
 
PPTX
slide-02-data-mining-Input_output-1.pptx
DavidClement34
 
DOCX
Classification Using Decision Trees and RulesChapter 5.docx
monicafrancis71118
 
PPT
Machine Learning: Decision Trees Chapter 18.1-18.3
butest
 
PPTX
Classification Continued
DataminingTools Inc
 
PPTX
Classification Continued
Datamining Tools
 
PPT
Textmining Predictive Models
guest0edcaf
 
PPT
Textmining Predictive Models
Datamining Tools
 
PPT
Textmining Predictive Models
DataminingTools Inc
 
PPTX
Machine Learning
Girish Khanzode
 
PDF
CSA 3702 machine learning module 2
Nandhini S
 
PPT
594503964-Introduction-to-Classification-PPT-Slides-1.ppt
snehajuly2004
 
PPTX
WEKA:Algorithms The Basic Methods
weka Content
 
PPTX
WEKA: Algorithms The Basic Methods
DataminingTools Inc
 
PPT
Data Mining: Practical Machine Learning Tools and Techniques ...
butest
 
[ppt]
butest
 
[ppt]
butest
 
Lect9 Decision tree
hktripathy
 
decisiontrees.ppt
PriyadharshiniG41
 
decisiontrees.ppt
LvlShivaNagendra
 
decisiontrees (3).ppt
LvlShivaNagendra
 
slide-02-data-mining-Input_output-1.pptx
DavidClement34
 
Classification Using Decision Trees and RulesChapter 5.docx
monicafrancis71118
 
Machine Learning: Decision Trees Chapter 18.1-18.3
butest
 
Classification Continued
DataminingTools Inc
 
Classification Continued
Datamining Tools
 
Textmining Predictive Models
guest0edcaf
 
Textmining Predictive Models
Datamining Tools
 
Textmining Predictive Models
DataminingTools Inc
 
Machine Learning
Girish Khanzode
 
CSA 3702 machine learning module 2
Nandhini S
 
594503964-Introduction-to-Classification-PPT-Slides-1.ppt
snehajuly2004
 
WEKA:Algorithms The Basic Methods
weka Content
 
WEKA: Algorithms The Basic Methods
DataminingTools Inc
 
Data Mining: Practical Machine Learning Tools and Techniques ...
butest
 
Ad

More from DataminingTools Inc (20)

PPTX
Terminology Machine Learning
DataminingTools Inc
 
PPTX
Techniques Machine Learning
DataminingTools Inc
 
PPTX
Machine learning Introduction
DataminingTools Inc
 
PPTX
Areas of machine leanring
DataminingTools Inc
 
PPTX
AI: Planning and AI
DataminingTools Inc
 
PPTX
AI: Logic in AI 2
DataminingTools Inc
 
PPTX
AI: Logic in AI
DataminingTools Inc
 
PPTX
AI: Learning in AI 2
DataminingTools Inc
 
PPTX
AI: Learning in AI
DataminingTools Inc
 
PPTX
AI: Introduction to artificial intelligence
DataminingTools Inc
 
PPTX
AI: Belief Networks
DataminingTools Inc
 
PPTX
AI: AI & Searching
DataminingTools Inc
 
PPTX
AI: AI & Problem Solving
DataminingTools Inc
 
PPTX
Data Mining: Text and web mining
DataminingTools Inc
 
PPTX
Data Mining: Outlier analysis
DataminingTools Inc
 
PPTX
Data Mining: Mining stream time series and sequence data
DataminingTools Inc
 
PPTX
Data Mining: Mining ,associations, and correlations
DataminingTools Inc
 
PPTX
Data Mining: Graph mining and social network analysis
DataminingTools Inc
 
PPTX
Data warehouse and olap technology
DataminingTools Inc
 
PPTX
Data Mining: Data processing
DataminingTools Inc
 
Terminology Machine Learning
DataminingTools Inc
 
Techniques Machine Learning
DataminingTools Inc
 
Machine learning Introduction
DataminingTools Inc
 
Areas of machine leanring
DataminingTools Inc
 
AI: Planning and AI
DataminingTools Inc
 
AI: Logic in AI 2
DataminingTools Inc
 
AI: Logic in AI
DataminingTools Inc
 
AI: Learning in AI 2
DataminingTools Inc
 
AI: Learning in AI
DataminingTools Inc
 
AI: Introduction to artificial intelligence
DataminingTools Inc
 
AI: Belief Networks
DataminingTools Inc
 
AI: AI & Searching
DataminingTools Inc
 
AI: AI & Problem Solving
DataminingTools Inc
 
Data Mining: Text and web mining
DataminingTools Inc
 
Data Mining: Outlier analysis
DataminingTools Inc
 
Data Mining: Mining stream time series and sequence data
DataminingTools Inc
 
Data Mining: Mining ,associations, and correlations
DataminingTools Inc
 
Data Mining: Graph mining and social network analysis
DataminingTools Inc
 
Data warehouse and olap technology
DataminingTools Inc
 
Data Mining: Data processing
DataminingTools Inc
 

Recently uploaded (20)

PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PDF
July Patch Tuesday
Ivanti
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
July Patch Tuesday
Ivanti
 

WEKA: Output Knowledge Representation

  • 2. Topics CoveredWe will see how knowledge can be represented:Decision tablesDecision tressClassification and Association rulesDealing with complex rules involving exceptions and relationsTrees for numeric predictionInstance based representation Clustering
  • 3. Decision TablesSimplest way to represent the output is using the way input was representedSelection of attributes is crucial Only attributes contributing to the results should be a part of a table
  • 4. Decision TreesDivide and conquer approach gives us the results in the form of decision trees
  • 5. Nodes in a decision tree involve testing a particular attribute Leaf nodes give a classification that applies to all instances that reach the leafThe number of children emerging from a node depends on the type of attribute being tested in the nodeFor nominal attribute the number of splits is generally the number of different values of nominal attributeFor example we can see 3 splits for outlook as it has three possible value For numeric attribute, generally we have a two way split representing sets of numbers < or > that the attributeFor example attribute humidity in the previous example
  • 6. Classification RulesPopular alternative to decision treesAntecedent, or precondition, of a rule is a series of tests (like the ones at the nodes of a decision tree)Consequent, or conclusion, gives the class or classes that apply to instances covered by that rule
  • 7. Rules VS TreeReplicated Sub-tree ProblemSome time the transformation of rules into tree is impractical :Consider the following classification rules and the corresponding decision treeIf a and b then xIf c and d then x
  • 8. Advantages of rules over treesRules are usually more compact than tree, as we observed in the case of replicated sub tree problemNew rules can be added to the existing rule set without disturbing ones already there, whereas a tree may require complete reshapingAdvantages of trees over rulesBecause of the redundancy present in the tree , any sort of ambiguities is avoidedAn instance might be encountered that the rules fail to classify, usually not the case with trees
  • 9. Disjunctive Normal FormA rule in distinctive normal form follows close world assumptionClose world assumption avoids ambiguitiesThese rules are written as logical expressions, that is:Disjunctive(OR) conditions Conjunction(AND) conditions
  • 10. Association RulesAssociation rules can predict any attribute, not just the classThey can predict combination of attributesTo select association rules which apply to large number of instances and have high accuracy, we use the following parameter to select an association rule:Coverage/Support : Number of instances for which it predicts correctly Accuracy/Confidence : Number of instances it predicts correctly in proportion to all the instances to which it is applied
  • 11. Rules with ExceptionFor classification rulesExceptions can be expressed using the ‘except’ keyword, for example:We can have exceptions to exceptions and so onExceptions allows us to scale up well
  • 12. Rules with RelationsWe generally use propositional rules, where we compare an attribute with a constant. For example :Relational rules are those which express relationship between attributes, for example:
  • 13. Standard Relations:Equality(=) and Inequality (!=) for nominal attributesComparison operators like < and > with numeric attributes
  • 14. Trees for Numerical PredictionFor numerical prediction we use decision treesRight side of the rule, or leaf of tree, would contain a numeric value that is the average of all the training set values to which the rule or leaf appliesPrediction of numerical quantities is called regressionTherefore trees for numerical prediction are called regression trees
  • 15. Instance based learningIn instance based learning we don’t create rules and use the stored instances directlyIn this all the real work is done during the classification of new instances, no pre-processing of training setThe new instance is compared with the existing ones using a distance metricUsing the distance metric, the close existing instance is used to assign the class to new one
  • 16. Sometimes more than one nearest neighbor is used, the majority class of the closest k neighbor is assigned to the new instanceThis technique is called k-nearest-neighbor methodDistance metric used should be according to the data set, most popular is Euclidian distance In case of nominal attributes distance metric has to defined manually, for exampleIf two attribute are equal, then distance equals 0 else 1
  • 17. ClustersWhen clusters rather than a classifier is learned, the output takes the form of a diagram which shows how the instances fall into clustersThe output can be of 4 types:Clear demarcation of instances into different clusters An instance can be a part of more than one cluster, represented by a Venn diagramProbability of an instance falling in a cluster, for all the clustersHierarchical tree like structure dividing trees into sub trees and so on
  • 19. Visit more self help tutorialsPick a tutorial of your choice and browse through it at your own pace.The tutorials section is free, self-guiding and will not involve any additional support.Visit us at www.dataminingtools.net