Due to changes to the package structure, please update your H1st code to:
- Import
Graph
class fromh1st.h1flow.h1flow
module instead ofh1st.core.graph
. - Import
Node
class and its sub-classes (Action
,NoOp
,Decision
) fromh1st.h1flow.h1step
module instead ofh1st.core.node
. - Import
NodeContainable
class fromh1st.h1flow.h1step_containable
module instead ofh1st.core.node_containable
. - Import
Model
,MLModel
,RuleBasedModel
,FuzzyModel
classes fromh1st.model.model
,h1st.model.ml_model
,h1st.model.rule_based_model
modules correspondingly instead ofh1st.core.model
.
- The
Modeler
class is introduced withbuild_model
method which is used to build the correspondingModel
instance. TheModel
class'load_data
,explore
,evaluate
now belongs to theModeler
class withexplore
being renamed toexplore_data
andevaluate
being renamed toevaluate_model
. - The
Model
class'predict
method is renamed toprocess
. ItsPredictiveModel
subclass which is then inherited byRuleBasedModel
,MLModel
still possess thepredict
method which basically calls theprocess
one. - The
Model
class'load
is renamed toload_params
.