summaryrefslogtreecommitdiff
path: root/lib/model.py
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2021-08-19 09:50:40 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2021-08-19 09:50:40 +0200
commit26d07c8eae44d0a6919fd775728cdb1bb2808298 (patch)
treeb0380add225649a5ccc16455856b8c508281a4ea /lib/model.py
parent5312f01724edad7ef380ded9a6e34971b56c7939 (diff)
ParallelParamFit -> ParamFit, optionally without parallelism
Diffstat (limited to 'lib/model.py')
-rw-r--r--lib/model.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/model.py b/lib/model.py
index 345dea5..98a9d4f 100644
--- a/lib/model.py
+++ b/lib/model.py
@@ -5,8 +5,8 @@ import numpy as np
import os
from .automata import PTA, ModelAttribute
from .functions import StaticFunction, SubstateFunction, SplitFunction
-from .parameters import ParallelParamStats, codependent_param_dict
-from .paramfit import ParallelParamFit
+from .parameters import ParallelParamStats, ParamStats, codependent_param_dict
+from .paramfit import ParamFit
from .utils import soft_cast_int, by_name_to_by_param, regression_measures
logger = logging.getLogger(__name__)
@@ -233,7 +233,7 @@ class AnalyticModel:
if not self.fit_done:
- paramfit = ParallelParamFit()
+ paramfit = ParamFit()
for name in self.names:
for attr in self.attr_by_name[name].keys():