SlideShare a Scribd company logo
Microsoft Naive Bayes Algorithm
overviewNaive Bayes AlgorithmDMX QueriesExploring a Naive Bayes ModelNaive Bayes PrinciplesNaive Bayes Parameters
Naive Bayes AlgorithmThe Microsoft Naive Bayes algorithm is a classification algorithm provided by Microsoft SQL Server Analysis Services for use in predictive modeling. The name Naive Bayes derives from the fact that the algorithm uses Bayes theorem but does not take into account dependencies that may exist, and therefore its assumptions are said to be naive.
How to use the Naive Bayes algorithm in SQL server?This algorithm is less computationally intense than other Microsoft algorithmsIt is therefore is useful for quickly generating mining models to discover relationships between input columns and predictable columns. The algorithm considers each pair of input attribute values and output attribute values.Exploring a Naive Bayes model will tell you how your attributes are related to each other.
DMX When you create a query against a data mining modelyou can create either a content query, which provides details about the patterns discovered in analysis, or you can create a prediction query, which uses the patterns in the model to make predictions for new data You can also retrieve metadata about the model by using a query against the data mining schema rowset.
DMX QueriesSELECT MODEL_CATALOG, MODEL_NAME, DATE_CREATED, LAST_PROCESSED, SERVICE_NAME, PREDICTION_ENTITY, FILTER FROM $system.DMSCHEMA_MINING_MODELS WHERE MODEL_NAME = 'TM_NaiveBayes_Filtered‘Getting Model Metadata by Using DMXyou can find metadata for the model, by querying the data mining schema rowset.This might include when the model was created, when the model was last processed, the name of the mining structure that the model is based on, and the name of the columns used as the predictable attribute.
DMX QueriesRetrieving a Summary of Training DataQuery to retrieve the data from the node specified.Because the statistics are stored in a nested table, the FLATTENED keyword is used to make the results easier to view.     SELECT FLATTENED MODEL_NAME, (SELECT ATTRIBUTE_NAME, ATTRIBUTE_VALUE, [SUPPORT], [PROBABILITY], VALUETYPE FROM NODE_DISTRIBUTION) AS t FROM TM_NaiveBayes.CONTENT WHERE NODE_TYPE = 26
DMX QueriesFinding More Information about AttributesExample to show how to return information from the model about a particular attribute( here ”Region”) The Result of this query is shown in the next slide.SELECT NODE_TYPE, NODE_CAPTION, MSOLAP_NODE_SCORE FROM TM_NaiveBayes.CONTENT WHERE ATTRIBUTE_NAME = 'Region'
DMX QueriesSample Resultto showinginformation from the model about a particular  attribute  ”Region”
DMX QueriesSELECT NODE_CAPTION, MSOLAP_NODE_SCORE FROM TM_NaiveBayes.CONTENT WHERE NODE_TYPE = 10 ORDER BY MSOLAP_NODE_SCORE DESCQuery returns theimportance scores ofall attributes in theModel. The Result of this query is shown in the next slide.
DMX Queriesquery returns theimportance scores ofall attributes in theModel.
Exploring a Naive Bayes ModelThe convenient way to start analyzing a new data set is to create a Naive Bayes model and mark all the non-key columns as both input and predictive.The content of each model is presented as a series of nodes. A node is an object within a mining model that contains metadata and information about a portion of the model. Nodes are arranged in a hierarchy. 
Naive Bayes Model Content
Exploring a Naive Bayes ModelThe Naive Bayes viewer is accessed through either the BI Development Studio or SQL Management Studio by right-clicking on the model and selecting Browse.SQL Server Data Mining provides four different views on Naive Bayes models :Dependency Network: Provides a quick display of how all of the attributes in your model are related. Each node in the graph represents an attribute, whereas each edge represents a relationship. outgoing edge (it is predictive of the attribute in the node at the end of the edge)Incoming edge( it is predicted by the other node)
Exploring a Naive Bayes ModelAttribute Profiles:provides you with an exhaustive report of how each input attribute corresponds to each output attribute, one attribute at a time. At the top of the Attribute Profiles view, you select which output you want to look at, and the rest of the view shows how all of the input attributes are correlated to the states of the selected output attribute.
Exploring a Naive Bayes ModelAttribute Characteristics:This tab allows you to select an output attribute and value and shows you a description of the cases where that attribute and value occur.Attribute Discrimination: Provides the answers to the most interesting question: What is the difference between X and Y? With this viewer, you choose the attribute you are interested in, and select the states you want to compare.
Naive Bayes PrinciplesBayes mathematical methods use a combination of conditional and unconditional probabilities.The Naive part of Naive Bayes tells you to treat all of your input attributes as independent of each other with respect to the target variable. This may be a faulty assumption, but it allows you to multiply your probabilities to determine the likelihood of each state.
Naive Bayes PrinciplesThe Bayes rule states that if you have a hypothesis Hand evidence about that hypothesis E, then the probability of H is calculated using the following formula:P(H | E) =   P(E | H) × P(H)                                   P(E)This simply states that the probability of your hypothesis given the evidence is equal to the probability of the evidence given the hypothesis multiplied by the probability of the hypothesis, and then normalized.
Naive Bayes ParametersMAXIMUM _INPUT _ATTRIBUTES determines the number of attributes that will be considered as inputs for training. If there is more than this number of inputs, the algorithm will select the most important inputs and ignore the rest. Setting this parameter to 0 causes the algorithm to consider all attributes.The default value is 255.MAXIMUM _OUTPUT _ATTRIBUTES determines the number of attributes that will be considered as outputs for training. If there is more than this number of outputs, the algorithm will select the most important outputs and ignore the rest. Setting this parameter to 0 causes the algorithm to consider all attributes.The default value is 255.
Naive Bayes ParametersMAXIMUM _STATES controls how many states of an attribute are considered. If an attribute has more than this number of states, only the most popular states will be used. States that are not selected will be considered to be missing data. This parameter is useful when an attribute has a high cardinality
SummaryNaive Bayes AlgorithmDMX QueriesNaive Bayes Model ContentExploring a Naive Bayes ModelNaive Bayes PrinciplesNaive Bayes Parameters
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)

PDF
Visualizing Model Selection with Scikit-Yellowbrick: An Introduction to Devel...
Benjamin Bengfort
 
PPTX
Generating test data for Statistical and ML models
Vladimir Ulogov
 
DOCX
Data mining techniques using weka
rathorenitin87
 
PPTX
weka data mining
kalthoom almaqbali
 
PDF
Handling SQL Server Null Values
Duncan Greaves PhD
 
PPT
Data Mining with WEKA WEKA
butest
 
PPTX
Data mining Part 1
Gautam Kumar
 
PPTX
Weka
manishgamit
 
PPT
data mining with weka application
Rezapourabbas
 
PPT
An Introduction To Weka
DataminingTools Inc
 
PPT
Ap Power Point Chpt9
dplunkett
 
PDF
Data mining with weka
Hein Min Htike
 
PDF
Data Mining Techniques using WEKA (Ankit Pandey-10BM60012)
Ankit Pandey
 
PDF
Machine Learning
Jean-Luc Caut
 
PDF
Machine Learning with WEKA
butest
 
PPTX
Interaction Modeling
Hemant Sharma
 
PDF
somhelpdoc
Mykola Osipov
 
PPTX
Some Basic Concepts of Object Oriented Methodology
Manoj Kumar
 
PPTX
XL-MINER:Partition
DataminingTools Inc
 
PPT
WEKA Tutorial
butest
 
Visualizing Model Selection with Scikit-Yellowbrick: An Introduction to Devel...
Benjamin Bengfort
 
Generating test data for Statistical and ML models
Vladimir Ulogov
 
Data mining techniques using weka
rathorenitin87
 
weka data mining
kalthoom almaqbali
 
Handling SQL Server Null Values
Duncan Greaves PhD
 
Data Mining with WEKA WEKA
butest
 
Data mining Part 1
Gautam Kumar
 
data mining with weka application
Rezapourabbas
 
An Introduction To Weka
DataminingTools Inc
 
Ap Power Point Chpt9
dplunkett
 
Data mining with weka
Hein Min Htike
 
Data Mining Techniques using WEKA (Ankit Pandey-10BM60012)
Ankit Pandey
 
Machine Learning
Jean-Luc Caut
 
Machine Learning with WEKA
butest
 
Interaction Modeling
Hemant Sharma
 
somhelpdoc
Mykola Osipov
 
Some Basic Concepts of Object Oriented Methodology
Manoj Kumar
 
XL-MINER:Partition
DataminingTools Inc
 
WEKA Tutorial
butest
 

Viewers also liked (14)

PDF
Social media in Ministry seminar (NST 2010)
Matt McComas
 
KEY
Big break Social Media Seminar
Matt McComas
 
PPTX
MS SQL SERVER: Microsoft time series algorithm
sqlserver content
 
PPT
FastTrac Final Presentations
mjwilson61
 
PPTX
The doula advantage _Spanish version
doulaSON
 
PDF
Newton March Report
REMAXLeadingEdge
 
PPT
Marketing VezetőI Wj
NoniJano
 
PPT
Inforum e befogadas_eu
Inforum Hungary
 
DOCX
Cuadro
Mayerly Amorocho
 
PPTX
Turban and its importance in sikhism
ramanpreet
 
PDF
Daru Toll 2014. június
JobbikLadany
 
PDF
Designnet > 09/11
guest787af7
 
PDF
2005 vuestros cabellos estan todos contados
Valeria Otarola
 
PDF
Tynki QUICK-MIX - FOLDER PRODUKTÓW
Luskar - Z Nami Wybudujesz i Ogrzejesz
 
Social media in Ministry seminar (NST 2010)
Matt McComas
 
Big break Social Media Seminar
Matt McComas
 
MS SQL SERVER: Microsoft time series algorithm
sqlserver content
 
FastTrac Final Presentations
mjwilson61
 
The doula advantage _Spanish version
doulaSON
 
Newton March Report
REMAXLeadingEdge
 
Marketing VezetőI Wj
NoniJano
 
Inforum e befogadas_eu
Inforum Hungary
 
Turban and its importance in sikhism
ramanpreet
 
Daru Toll 2014. június
JobbikLadany
 
Designnet > 09/11
guest787af7
 
2005 vuestros cabellos estan todos contados
Valeria Otarola
 
Tynki QUICK-MIX - FOLDER PRODUKTÓW
Luskar - Z Nami Wybudujesz i Ogrzejesz
 
Ad

Similar to MS SQL SERVER: Microsoft naive bayes algorithm (20)

PPTX
MS SQL SERVER: Decision trees algorithm
sqlserver content
 
PPTX
MS SQL SERVER: Decision trees algorithm
DataminingTools Inc
 
PPT
9-Decision Tree Induction-23-01-2025.ppt
DarrinBright1
 
PDF
Paper id 71201963
IJRAT
 
PDF
naive bayes example.pdf
SingamalaBalaji
 
PDF
naive bayes example.pdf
SingamalaBalaji
 
PDF
Bayes 6
uddingias
 
PPTX
Naive Bayes
Abdullah al Mamun
 
PPTX
Rapid Miner
SrushtiSuvarna
 
PDF
Naive Bayes and Decision Tree Algorithm.pdf
A. S. M. Shafi
 
DOCX
Naive bayes classifier
Abhijit Sengupta
 
PDF
lecture 5 about lecture 5 about lecture lecture
anxiousanoja
 
PPTX
Supervised models
Hasan Badran
 
PPTX
Navies bayes
HassanRaza323
 
PPT
introduction to basic classification methods
Radhika R
 
PDF
Naive bayes
Ayurdata
 
PDF
Classification Techniques
Kiran Bhowmick
 
PDF
NAIVE BAYES ALGORITHM
Rang Technologies
 
PPT
NaiveBayes.ppt
CristopherAbalorio2
 
PPT
NaiveBayes.ppt Naive Bayes algorithm machine learning
AmgadAbdallah2
 
MS SQL SERVER: Decision trees algorithm
sqlserver content
 
MS SQL SERVER: Decision trees algorithm
DataminingTools Inc
 
9-Decision Tree Induction-23-01-2025.ppt
DarrinBright1
 
Paper id 71201963
IJRAT
 
naive bayes example.pdf
SingamalaBalaji
 
naive bayes example.pdf
SingamalaBalaji
 
Bayes 6
uddingias
 
Naive Bayes
Abdullah al Mamun
 
Rapid Miner
SrushtiSuvarna
 
Naive Bayes and Decision Tree Algorithm.pdf
A. S. M. Shafi
 
Naive bayes classifier
Abhijit Sengupta
 
lecture 5 about lecture 5 about lecture lecture
anxiousanoja
 
Supervised models
Hasan Badran
 
Navies bayes
HassanRaza323
 
introduction to basic classification methods
Radhika R
 
Naive bayes
Ayurdata
 
Classification Techniques
Kiran Bhowmick
 
NAIVE BAYES ALGORITHM
Rang Technologies
 
NaiveBayes.ppt
CristopherAbalorio2
 
NaiveBayes.ppt Naive Bayes algorithm machine learning
AmgadAbdallah2
 
Ad

More from sqlserver content (20)

PPTX
MS SQL SERVER: Using the data mining tools
sqlserver content
 
PPTX
MS SQL SERVER: SSIS and data mining
sqlserver content
 
PPTX
MS SQL SERVER: Programming sql server data mining
sqlserver content
 
PPTX
MS SQL SERVER: Olap cubes and data mining
sqlserver content
 
PPTX
MS SQL SERVER: Microsoft sequence clustering and association rules
sqlserver content
 
PPTX
MS SQL SERVER: Neural network and logistic regression
sqlserver content
 
PPTX
MS SQL Server: Data mining concepts and dmx
sqlserver content
 
PPTX
MS Sql Server: Reporting models
sqlserver content
 
PPTX
MS Sql Server: Reporting manipulating data
sqlserver content
 
PPTX
MS Sql Server: Reporting introduction
sqlserver content
 
PPTX
MS Sql Server: Reporting basics
sqlserver content
 
PPTX
MS Sql Server: Datamining Introduction
sqlserver content
 
PPTX
MS Sql Server: Business Intelligence
sqlserver content
 
PPTX
MS SQLSERVER:Feeding Data Into Database
sqlserver content
 
PPTX
MS SQLSERVER:Doing Calculations With Functions
sqlserver content
 
PPTX
MS SQLSERVER:Deleting A Database
sqlserver content
 
PPTX
MS SQLSERVER:Customizing Your D Base Design
sqlserver content
 
PPTX
MS SQLSERVER:Creating Views
sqlserver content
 
PPTX
MS SQLSERVER:Creating A Database
sqlserver content
 
PPTX
MS SQLSERVER:Advanced Query Concepts Copy
sqlserver content
 
MS SQL SERVER: Using the data mining tools
sqlserver content
 
MS SQL SERVER: SSIS and data mining
sqlserver content
 
MS SQL SERVER: Programming sql server data mining
sqlserver content
 
MS SQL SERVER: Olap cubes and data mining
sqlserver content
 
MS SQL SERVER: Microsoft sequence clustering and association rules
sqlserver content
 
MS SQL SERVER: Neural network and logistic regression
sqlserver content
 
MS SQL Server: Data mining concepts and dmx
sqlserver content
 
MS Sql Server: Reporting models
sqlserver content
 
MS Sql Server: Reporting manipulating data
sqlserver content
 
MS Sql Server: Reporting introduction
sqlserver content
 
MS Sql Server: Reporting basics
sqlserver content
 
MS Sql Server: Datamining Introduction
sqlserver content
 
MS Sql Server: Business Intelligence
sqlserver content
 
MS SQLSERVER:Feeding Data Into Database
sqlserver content
 
MS SQLSERVER:Doing Calculations With Functions
sqlserver content
 
MS SQLSERVER:Deleting A Database
sqlserver content
 
MS SQLSERVER:Customizing Your D Base Design
sqlserver content
 
MS SQLSERVER:Creating Views
sqlserver content
 
MS SQLSERVER:Creating A Database
sqlserver content
 
MS SQLSERVER:Advanced Query Concepts Copy
sqlserver content
 

Recently uploaded (20)

PPTX
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PDF
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
PDF
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
PPTX
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PDF
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
PDF
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
ICONIQ State of AI Report 2025 - The Builder's Playbook
Razin Mustafiz
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
ICONIQ State of AI Report 2025 - The Builder's Playbook
Razin Mustafiz
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 

MS SQL SERVER: Microsoft naive bayes algorithm

  • 2. overviewNaive Bayes AlgorithmDMX QueriesExploring a Naive Bayes ModelNaive Bayes PrinciplesNaive Bayes Parameters
  • 3. Naive Bayes AlgorithmThe Microsoft Naive Bayes algorithm is a classification algorithm provided by Microsoft SQL Server Analysis Services for use in predictive modeling. The name Naive Bayes derives from the fact that the algorithm uses Bayes theorem but does not take into account dependencies that may exist, and therefore its assumptions are said to be naive.
  • 4. How to use the Naive Bayes algorithm in SQL server?This algorithm is less computationally intense than other Microsoft algorithmsIt is therefore is useful for quickly generating mining models to discover relationships between input columns and predictable columns. The algorithm considers each pair of input attribute values and output attribute values.Exploring a Naive Bayes model will tell you how your attributes are related to each other.
  • 5. DMX When you create a query against a data mining modelyou can create either a content query, which provides details about the patterns discovered in analysis, or you can create a prediction query, which uses the patterns in the model to make predictions for new data You can also retrieve metadata about the model by using a query against the data mining schema rowset.
  • 6. DMX QueriesSELECT MODEL_CATALOG, MODEL_NAME, DATE_CREATED, LAST_PROCESSED, SERVICE_NAME, PREDICTION_ENTITY, FILTER FROM $system.DMSCHEMA_MINING_MODELS WHERE MODEL_NAME = 'TM_NaiveBayes_Filtered‘Getting Model Metadata by Using DMXyou can find metadata for the model, by querying the data mining schema rowset.This might include when the model was created, when the model was last processed, the name of the mining structure that the model is based on, and the name of the columns used as the predictable attribute.
  • 7. DMX QueriesRetrieving a Summary of Training DataQuery to retrieve the data from the node specified.Because the statistics are stored in a nested table, the FLATTENED keyword is used to make the results easier to view. SELECT FLATTENED MODEL_NAME, (SELECT ATTRIBUTE_NAME, ATTRIBUTE_VALUE, [SUPPORT], [PROBABILITY], VALUETYPE FROM NODE_DISTRIBUTION) AS t FROM TM_NaiveBayes.CONTENT WHERE NODE_TYPE = 26
  • 8. DMX QueriesFinding More Information about AttributesExample to show how to return information from the model about a particular attribute( here ”Region”) The Result of this query is shown in the next slide.SELECT NODE_TYPE, NODE_CAPTION, MSOLAP_NODE_SCORE FROM TM_NaiveBayes.CONTENT WHERE ATTRIBUTE_NAME = 'Region'
  • 9. DMX QueriesSample Resultto showinginformation from the model about a particular attribute  ”Region”
  • 10. DMX QueriesSELECT NODE_CAPTION, MSOLAP_NODE_SCORE FROM TM_NaiveBayes.CONTENT WHERE NODE_TYPE = 10 ORDER BY MSOLAP_NODE_SCORE DESCQuery returns theimportance scores ofall attributes in theModel. The Result of this query is shown in the next slide.
  • 11. DMX Queriesquery returns theimportance scores ofall attributes in theModel.
  • 12. Exploring a Naive Bayes ModelThe convenient way to start analyzing a new data set is to create a Naive Bayes model and mark all the non-key columns as both input and predictive.The content of each model is presented as a series of nodes. A node is an object within a mining model that contains metadata and information about a portion of the model. Nodes are arranged in a hierarchy. 
  • 14. Exploring a Naive Bayes ModelThe Naive Bayes viewer is accessed through either the BI Development Studio or SQL Management Studio by right-clicking on the model and selecting Browse.SQL Server Data Mining provides four different views on Naive Bayes models :Dependency Network: Provides a quick display of how all of the attributes in your model are related. Each node in the graph represents an attribute, whereas each edge represents a relationship. outgoing edge (it is predictive of the attribute in the node at the end of the edge)Incoming edge( it is predicted by the other node)
  • 15. Exploring a Naive Bayes ModelAttribute Profiles:provides you with an exhaustive report of how each input attribute corresponds to each output attribute, one attribute at a time. At the top of the Attribute Profiles view, you select which output you want to look at, and the rest of the view shows how all of the input attributes are correlated to the states of the selected output attribute.
  • 16. Exploring a Naive Bayes ModelAttribute Characteristics:This tab allows you to select an output attribute and value and shows you a description of the cases where that attribute and value occur.Attribute Discrimination: Provides the answers to the most interesting question: What is the difference between X and Y? With this viewer, you choose the attribute you are interested in, and select the states you want to compare.
  • 17. Naive Bayes PrinciplesBayes mathematical methods use a combination of conditional and unconditional probabilities.The Naive part of Naive Bayes tells you to treat all of your input attributes as independent of each other with respect to the target variable. This may be a faulty assumption, but it allows you to multiply your probabilities to determine the likelihood of each state.
  • 18. Naive Bayes PrinciplesThe Bayes rule states that if you have a hypothesis Hand evidence about that hypothesis E, then the probability of H is calculated using the following formula:P(H | E) = P(E | H) × P(H) P(E)This simply states that the probability of your hypothesis given the evidence is equal to the probability of the evidence given the hypothesis multiplied by the probability of the hypothesis, and then normalized.
  • 19. Naive Bayes ParametersMAXIMUM _INPUT _ATTRIBUTES determines the number of attributes that will be considered as inputs for training. If there is more than this number of inputs, the algorithm will select the most important inputs and ignore the rest. Setting this parameter to 0 causes the algorithm to consider all attributes.The default value is 255.MAXIMUM _OUTPUT _ATTRIBUTES determines the number of attributes that will be considered as outputs for training. If there is more than this number of outputs, the algorithm will select the most important outputs and ignore the rest. Setting this parameter to 0 causes the algorithm to consider all attributes.The default value is 255.
  • 20. Naive Bayes ParametersMAXIMUM _STATES controls how many states of an attribute are considered. If an attribute has more than this number of states, only the most popular states will be used. States that are not selected will be considered to be missing data. This parameter is useful when an attribute has a high cardinality
  • 21. SummaryNaive Bayes AlgorithmDMX QueriesNaive Bayes Model ContentExploring a Naive Bayes ModelNaive Bayes PrinciplesNaive Bayes Parameters
  • 22. 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