def construct_pipeline(cfg):
    steps = cfg["steps"]
    try:
        est_param = cfg["est_param"]
    except KeyError:
        est_param = None
    pipe = []
    for step in steps:
        pipe.append(_get_step(step))
    return {'steps': pipe}, est_param
Construct the pipeline steps for sklearn.pipeline.Pipeline.
dataset/ETHPy150Open BenoitDamota/mempamal/mempamal/dynamic.py/construct_pipeline