src.model.deeplearn.handle.dl_sequencer_builder
Classes
|
Class to handle the building of sequencers for deep learning models. |
- class src.model.deeplearn.handle.dl_sequencer_builder.DLSequencerBuilder(sequencer_spec)
Class to handle the building of sequencers for deep learning models.
- Variables:
sequencer_spec (dict) – The specification of the sequencer to be built.
- __init__(sequencer_spec)
- build(mh, X, y_rf, training)
Build the sequencer for the model handled by the given model handler (mh).
- Parameters:
mh (
DLModelHandler) – Model handler whose sequencer must be built.X – The input data.
y_rf – The input reference values.
training (bool) – Whether the sequencer must be built for a training context (True) or a predictive context (False).
- Returns:
The built sequencer.
- Return type: