AI-NaiveBayes1

 view release on metacpan or  search on metacpan

t/3-1.out  view on Meta::CPAN

Model:
category | P(category)       
---+---
play=no  | 0.357142857142 
play=yes | 0.642857142857 
---+---

category | humidity | P( humidity | category ) 
---+---+---
play=no  | high     | 0.8                      
play=no  | normal   | 0.2                      
---+---+---
play=yes | high     | 0.333333333333        
play=yes | normal   | 0.666666666666        
---+---+---

category | outlook  | P( outlook | category ) 
---+---+---
play=no  | rainy    | 0.4                     
play=no  | sunny    | 0.6                     
---+---+---
play=yes | overcast | 0.444444444444       
play=yes | rainy    | 0.333333333333       
play=yes | sunny    | 0.222222222222       
---+---+---

category | temperature | P( temperature | category ) 
---+---+---
play=no  | cool        | 0.2                         
play=no  | hot         | 0.4                         
play=no  | mild        | 0.4                         
---+---+---
play=yes | cool        | 0.333333333333           
play=yes | hot         | 0.222222222222           
play=yes | mild        | 0.444444444444           
---+---+---

category | windy | P( windy | category ) 
---+---+---
play=no  | FALSE | 0.4                   
play=no  | TRUE  | 0.6                   
---+---+---
play=yes | FALSE | 0.666666666666     
play=yes | TRUE  | 0.333333333333     
---+---+---

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.125 second using v1.00-cache-2.02-grep-82fe00e-cpan-2c419f77a38b )