r/BayesianProgramming • • Mar 11 '21

Blog

Thumbnail
antyagi5.github.io
0 Upvotes

r/BayesianProgramming • • Oct 26 '20

Help needed with Naive Bayes algorithm

0 Upvotes

I'm making a program and hardcoding a naive bayes classifier.

Have a look [here](https://github.com/matt24ck/bayeshelp) to see my dataset and my 2 files

Whenever I try to run 'predict.py' I get this error message below:

Traceback (most recent call last):

File "
predict.py", line 22, in <module>

clf.fit(x_train, y_train)

File "/home/matt24ck/Programming/ca270/naivebayes.py", line 20, in fit

self._mean[c,:] = X_c.mean(axis=0)

IndexError: index 10000 is out of bounds for axis 0 with size 211

Does anyone know how I can fix this? I don't even know why the axis has size 211, or how to change it. What I do know, is that I tried it with the sklearn GaussianNB class and it worked fine. Please help!


r/BayesianProgramming • • Jan 15 '20

Allocation models that know their unknowns - Risk.net

Thumbnail
risk.net
0 Upvotes

r/BayesianProgramming • • Jan 02 '19

Think you need to learn Bayesian Analysis? Read this first – Models are illuminating and wrong

Thumbnail
peadarcoyle.com
0 Upvotes

r/BayesianProgramming • • Sep 12 '17

Osvaldo Martin: 9781785883804: Amazon.com: Books

Thumbnail
amazon.com
0 Upvotes

r/BayesianProgramming • • Sep 09 '22

Baye’s Rule

0 Upvotes

Hello, How would you restate the probability z=0 and y=0 according to Baye’s Rule? Thanks!


r/BayesianProgramming • • Nov 13 '20

Bayesian SVAR and Regime Switching - 500 minutes - coding on STATA and R/ 40% discount

Post image
0 Upvotes