jerome-white commited on
Commit
31e584a
·
1 Parent(s): 75b2724

Remove debug code

Browse files
Files changed (1) hide show
  1. hdinterval.py +0 -12
hdinterval.py CHANGED
@@ -73,15 +73,3 @@ class HDInterval:
73
  warnings.warn(f'Tolerance reduced: {tolerance}')
74
 
75
  raise OverflowError()
76
-
77
- if __name__ == '__main__':
78
- import numpy as np
79
-
80
- data = np.random.uniform(size=2000)
81
- # data = list(filter(lambda x: x > 0.7, data))
82
- # data = [0.5] * 10
83
-
84
- interval = HDInterval(data)
85
- point = interval.at(0.5)
86
- hdi = interval(point)
87
- print(point, hdi)
 
73
  warnings.warn(f'Tolerance reduced: {tolerance}')
74
 
75
  raise OverflowError()