How to use Gamma distribution as the kernel of Naive Bayes in MATLAB code?
Show older comments
Here I have a group of data which following the Gamma distribution and now I want to use Naive Bayes method to fit this data. I tried the original function named 'fitcnb' and knowing that it providing 4 types of distribution: 'box', 'epanechnikov', 'normal' and 'triangle'. Now I want to revise this fitcnb function through adding Gamma distribution kernel into its original code. But I'm not sure how to implement that, can anyone give me some hint or example code? Many thanks for that.
Accepted Answer
More Answers (0)
Categories
Find more on Gamma Distribution in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!