Skip to content

Commit

Permalink
ENH: add license
Browse files Browse the repository at this point in the history
  • Loading branch information
aflaxman committed Dec 9, 2013
1 parent 8b752e3 commit efdac97
Show file tree
Hide file tree
Showing 13 changed files with 889 additions and 0 deletions.
661 changes: 661 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions dismod_mr/__init__.py
@@ -1,3 +1,22 @@


# Copyright 2008-2012 University of Washington
#
# This file is part of DisMod-MR.
#
# DisMod-MR is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# DisMod-MR is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with DisMod-MR. If not, see <http://www.gnu.org/licenses/>.

import data, plot, model, fit

from data import load
19 changes: 19 additions & 0 deletions dismod_mr/data.py
@@ -1,3 +1,22 @@


# Copyright 2008-2012 University of Washington
#
# This file is part of DisMod-MR.
#
# DisMod-MR is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# DisMod-MR is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with DisMod-MR. If not, see <http://www.gnu.org/licenses/>.

""" Data Handling Class for DisMod-MR"""

import pandas as pd
Expand Down
19 changes: 19 additions & 0 deletions dismod_mr/fit.py
@@ -1,3 +1,22 @@


# Copyright 2008-2012 University of Washington
#
# This file is part of DisMod-MR.
#
# DisMod-MR is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# DisMod-MR is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with DisMod-MR. If not, see <http://www.gnu.org/licenses/>.

""" Module for DisMod-MR model fitting methods"""

import sys, time
Expand Down
19 changes: 19 additions & 0 deletions dismod_mr/model/__init__.py
@@ -1,3 +1,22 @@


# Copyright 2008-2012 University of Washington
#
# This file is part of DisMod-MR.
#
# DisMod-MR is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# DisMod-MR is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with DisMod-MR. If not, see <http://www.gnu.org/licenses/>.

import likelihood, spline, age_groups, priors, covariates, process
from process import age_specific_rate as asr, consistent
from covariates import predict_for
Expand Down
19 changes: 19 additions & 0 deletions dismod_mr/model/age_groups.py
@@ -1,3 +1,22 @@


# Copyright 2008-2012 University of Washington
#
# This file is part of DisMod-MR.
#
# DisMod-MR is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# DisMod-MR is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with DisMod-MR. If not, see <http://www.gnu.org/licenses/>.

""" Age integrating models"""

import numpy as np, pymc as mc
Expand Down
19 changes: 19 additions & 0 deletions dismod_mr/model/covariates.py
@@ -1,3 +1,22 @@


# Copyright 2008-2012 University of Washington
#
# This file is part of DisMod-MR.
#
# DisMod-MR is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# DisMod-MR is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with DisMod-MR. If not, see <http://www.gnu.org/licenses/>.

""" Covariate models"""

import numpy as np, pymc as mc, pandas as pd, networkx as nx
Expand Down
19 changes: 19 additions & 0 deletions dismod_mr/model/likelihood.py
@@ -1,3 +1,22 @@


# Copyright 2008-2012 University of Washington
#
# This file is part of DisMod-MR.
#
# DisMod-MR is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# DisMod-MR is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with DisMod-MR. If not, see <http://www.gnu.org/licenses/>.

""" Several rate models"""

import pylab as pl
Expand Down
19 changes: 19 additions & 0 deletions dismod_mr/model/ode.py
@@ -1,3 +1,22 @@


# Copyright 2008-2012 University of Washington
#
# This file is part of DisMod-MR.
#
# DisMod-MR is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# DisMod-MR is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with DisMod-MR. If not, see <http://www.gnu.org/licenses/>.

# $begin dismod_ode$$ $newlinech #$$
# $spell
# subvector
Expand Down
19 changes: 19 additions & 0 deletions dismod_mr/model/priors.py
@@ -1,3 +1,22 @@


# Copyright 2008-2012 University of Washington
#
# This file is part of DisMod-MR.
#
# DisMod-MR is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# DisMod-MR is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with DisMod-MR. If not, see <http://www.gnu.org/licenses/>.

""" Expert prior models"""

import numpy as np, pymc as mc
Expand Down
19 changes: 19 additions & 0 deletions dismod_mr/model/process.py
@@ -1,3 +1,22 @@


# Copyright 2008-2012 University of Washington
#
# This file is part of DisMod-MR.
#
# DisMod-MR is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# DisMod-MR is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with DisMod-MR. If not, see <http://www.gnu.org/licenses/>.

""" Dismod-MR model creation methods"""

import numpy as np, pymc as mc, scipy.interpolate
Expand Down
19 changes: 19 additions & 0 deletions dismod_mr/model/spline.py
@@ -1,3 +1,22 @@


# Copyright 2008-2012 University of Washington
#
# This file is part of DisMod-MR.
#
# DisMod-MR is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# DisMod-MR is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with DisMod-MR. If not, see <http://www.gnu.org/licenses/>.

""" Spline model used for age-specific rates"""

import pylab as pl
Expand Down
19 changes: 19 additions & 0 deletions dismod_mr/plot.py
@@ -1,3 +1,22 @@


# Copyright 2008-2012 University of Washington
#
# This file is part of DisMod-MR.
#
# DisMod-MR is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# DisMod-MR is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with DisMod-MR. If not, see <http://www.gnu.org/licenses/>.

""" Module for DisMod-MR graphics"""

import pylab as pl
Expand Down

0 comments on commit efdac97

Please sign in to comment.