Skip to content

Given a data science table, where each column has valid comparable values, the function returns a conditional table or an accuracy of the method for the respective tables.

Notifications You must be signed in to change notification settings

Mohammed0987/Naive-Bayes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Naive-Bayes

Given a data science table, where each column has valid comparable values, the function returns a conditional table or an accuracy of the method for the respective tables.

conditional(chosen, table) produces the conditional tables. The chosen table is the variable by which the rest of the variables will be estimated by. Table is the training set to determine the conditional tables.

accuracy(a, table, chosen) produces the accuracy from the conditional table applying the chosen and testing the preictions against the tables chosen column. a represents the conditional tables which comes as a dictionary. table represents the data that a will be tested on. chosen represents the variable which needs to be predicted.

About

Given a data science table, where each column has valid comparable values, the function returns a conditional table or an accuracy of the method for the respective tables.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published