Skip to content
/ pyFEAST Public

python implementation of FEAST for microbiome source tracking

Notifications You must be signed in to change notification settings

havu73/pyFEAST

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python implementation of FEAST for microbiome source tracking

This project is my attempt at learning about expectation-maximization to the T. I tried to reimplement the FEAST algorithm for microbiome source tracking, as outline by the paper FEAST: fast expectation-maximization for microbial source tracking by Shenhav et al., 2019. Their original implementation is in R. Here, I tried to learn the inference framework in this paper and reimplement it using numpy, scipy, pandas

Please refer to the paper for details about the applications and analyses.

I wrote some notes about the general approaches to EM algorithm and how it is applied in this particular algorithm. The note is in FEAST_derivation.pdf.

I do not have live demonstration of the code yet. I find the results on the example data to be different from what is provided in FEAST-R version, which I am very sure is due to initialization differences in the two implementation. That is one drawback of EM, i.e. different initializations results in different estimations and hence requires a lot of initializations and averaging the results. In the future, if you are interested in using this code for your problem, or want added features and modifications, please let me know. I only created this for my own learning purposes (which I achieved), and do not have plan to make this more user-friendly yet unless there are requests.

About

python implementation of FEAST for microbiome source tracking

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published