putting code back into test_coal_mining until it breaks
@@ -12,8 +12,8 @@ def test_coalmining():
data = pd.read_csv(FILE, names=["year", "count"]).set_index("year")
start_year, end_year = (data.index.min(), data.index.max())
- # with kn.Model() as m:
- # m.switchpoint = kn.UniformInt(int(start_year), int(end_year + 1))
+ with kn.Model() as m:
+ m.switchpoint = kn.UniformInt(int(start_year), int(end_year + 1))
# m.early_rate = kn.Exponential(1.0)
# m.late_rate = kn.Exponential(1.0)
