Skip to content

pmellady/Gibbs-Sampler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Gibbs Sampler for Classification

By Patrick Mellady

This repository contains a derivation and implementation of a Gibbs sampler to classify emails as spam or not spam. To see a full derivation of the sampler as well as the code and results, see the Gibbs Sampler Derivation pdf. To run this particular sampler on your own, download and store gibbs_sampler.r as well as spam.csv and set your working directory to wherever you have it stored.

About

Here is a Gibbs sampler to run a hierarchical Bayesian model to classify emails as spam/not spam

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages