Biogeme: Python Library  4.6a
biogeme.py
1 """
2 File name : biogeme.py
3 Author : Michel Bierlaire and Mamy Fetiarison
4 Date : Fri May 15 14:23:51 2009
5 """
6 from bio_expression import *
7 from bio_iterator import *
8 from bioMatrix import *
9 
10 
12 class STAN:
13  CATEGORICAL = {}
14  NORMAL = {}
15  GAMMA = {}
16 
17 
20 
21  ESTIMATE = None
22 
27  SIMULATE = None
28 
33  EXCLUDE = None
34 
37  WEIGHT = None
38 
41  VARCOVAR = None
42 
44  BAYESIAN = None
45 
46  STAN = STAN()
47 
48  FORMULAS = {}
49 
50 
59  STATISTICS = {}
60 
71  CONSTRAINTS = {}
72 
73  DRAWS = {}
74 
75 
77  PARAMETERS = {}
78 
79  def __init__(self) :
80  # Only one object can be instantiate
81  BIOGEME_OBJECT.__init__ = BIOGEME_OBJECT.__once__
82 
83  def __once__(self):
84  print("No further BIOGEME_OBJECT instance can be created!")
85  return
86 
87 
88 """
89 Numeric constants
90 """
91 one = Numeric(1)
92 zero = Numeric(0)
93 
This class gathers the components needed by biogeme to perform the estimation or the simulation...
Definition: biogeme.py:19
Class wrapping an integer or a float value.
Class used for generating STAN files (see http://mc-stan.org)
Definition: biogeme.py:12
Copyright 2017 Michel Bierlaire