epysurv
is a Pythonic wrapper around the R surveillance package
that strives to implement a scikit-learn
like API for epidemiological surveillance in Python.
from epysurv import data as epidata
from epysurv.models.timepoint import FarringtonFlexible
train, test = epidata.salmonella()
model = FarringtonFlexible()
model.fit(train)
model.predict(test)
As epysurv
requires both Python and R it can only be conveniently installed trough conda
:
conda config --add channels conda-forge
conda config --add channels jarnorfb
conda install epysurv
Coming soon... For now see demo.ipynb
.