Due to changes to the package structure, please update your H1st code to:
- Import
Graphclass fromh1st.h1flow.h1flowmodule instead ofh1st.core.graph. - Import
Nodeclass and its sub-classes (Action,NoOp,Decision) fromh1st.h1flow.h1stepmodule instead ofh1st.core.node. - Import
NodeContainableclass fromh1st.h1flow.h1step_containablemodule instead ofh1st.core.node_containable. - Import
Model,MLModel,RuleBasedModel,FuzzyModelclasses fromh1st.model.model,h1st.model.ml_model,h1st.model.rule_based_modelmodules correspondingly instead ofh1st.core.model.
- The
Modelerclass is introduced withbuild_modelmethod which is used to build the correspondingModelinstance. TheModelclass'load_data,explore,evaluatenow belongs to theModelerclass withexplorebeing renamed toexplore_dataandevaluatebeing renamed toevaluate_model. - The
Modelclass'predictmethod is renamed toprocess. ItsPredictiveModelsubclass which is then inherited byRuleBasedModel,MLModelstill possess thepredictmethod which basically calls theprocessone. - The
Modelclass'loadis renamed toload_params.