babao.models package¶
Subpackages¶
Submodules¶
babao.models.modelBase module¶
Base class for any model
-
class
babao.models.modelBase.
ABCModel
[source]¶ Bases:
abc.ABC
Base class for any model
-
dependencies_class
¶ List of models or inputs needed by the current model
These should be class, not instances!
-
need_training
¶ Specify if the current model need to be trained
-
-
babao.models.modelBase.
addLookbacks
(df, look_back)[source]¶ Add lookback(s) (shifted columns) to each df columns
babao.models.modelManager module¶
The idea here is to give a common interface to all the models so you can use these wrappers to call all of them at once.
babao.models.rootModel module¶
Root Model, base of the models tree
-
class
babao.models.rootModel.
RootModel
[source]¶ Bases:
babao.models.modelBase.ABCModel
Root Model, base of the models tree
Not modeling much, but handle the call of the dependencies predictions
-
dependencies_class
= [<class 'babao.models.tree.extremaModel.ExtremaModel'>]¶
-
need_training
= False¶
-