c# - Calculating NaiveBayes -


i chosen data set following attributes.

  • zipcode (1000, 4000) 2 zip codes have chosen.
  • city (sydney, brisbane) 2 cities have chosen.
  • optus
  • telstra

just represent in area how many people using optus network , how many people using telstra network.

i have 100 records , calculated mean, std. dev , count.

now, stuck should find naviebayes apart mean & std deviation? , if possible can provide sample formula too. working on c#.

and, calculating precision required?

thanks.

naive bayes useful predict output out of 2 networks(0,1) using independent parameters zip, city , others.

so use "naivebayes bernauli formula" modulate , predict case. suggest read rcran logistic regresion formula-

https://cran.r-project.org/web/packages/hsaur/.../ch_logistic_regression_glm.pdf

ram


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -