Chris Fonnesbeck fonnesbeck

View measles_sir.py
1 2 3 4 5 6 7 8 9 10
from pymc import *
 
# Deterministic duration of infection (2 weeks)
delta = 14.
gamma = 1./delta
 
def sir():
# Early case-detection probability
theta = Beta('theta', 1, 1, value=[0.5, 0.9])
View kernel_regression.py
1 2 3 4 5 6 7 8 9 10
"""
Implementation of kernel regression:
"""
from pylearn.old_dataset.learner import OfflineLearningAlgorithm
from theano import tensor as T
from theano.tensor.nnet import prepend_1_to_each_row
from theano.scalar import as_scalar
from common.autoname import AutoName
import theano
View Bimodal-bilateral Analysis.ipynb

This file has been truncated, view the full file.

1 2 3 4 5 6 7 8 9 10
{
"metadata": {
"name": "",
"signature": "sha256:746d672b7dde209425f71dcbc86b59b5c3774657d561d52c7bcfb19c93f4c516"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
View 0_reuse_code.js
1 2
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View ELSO Survival.ipynb
1 2 3 4 5 6 7 8 9 10
{
"metadata": {
"name": "",
"signature": "sha256:da3baff1a9862c95f030ab6d00170f86f723aa1bdf8f9a2377c5dbb5807ff380"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
View test_pymc.ipynb
1 2 3 4 5 6 7 8 9 10
{
"metadata": {
"name": "",
"signature": "sha256:19df314c0290d3507f26ef2a2e31a55c6fdbcadca92c8b2432d58bf02177a5e3"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
View Sau Paulo Measles.ipynb

This file has been truncated, view the full file.

1 2 3 4 5 6 7 8 9 10
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
View Epidemiology.ipynb
1 2 3 4 5 6 7 8 9 10
{
"metadata": {
"name": "",
"signature": "sha256:7af1287afa7e5a84a1c3e6c460318e17f4d9dfe3ff45e53f9741f284ab5c702e"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
View sir.py
1 2 3 4 5 6 7 8 9 10
# =======================================
# = Hierarchical disease dynamics model =
# =======================================
 
# Methods taken from: Zipkin, E.F., Jennelle, C.S. and Cooch, E.G. 2010. A primer on the
# application of Markov chains to the study of wildlife disease dynamics. Methods in Ecology
# and Evolution. 1: 192-198
 
from numpy import *
from pymc import *
View ELSO Database.ipynb
1 2 3 4 5 6 7 8 9 10
{
"metadata": {
"name": "",
"signature": "sha256:3e7d34addda7be1b63008afa4c55acfa7dd73184ca0d38135f4867bcd294feca"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
Something went wrong with that request. Please try again.