def METHOD_NAME(
    multiseries_ts_data_stacked,
    component_graph,
    pipeline_parameters,
):
    X, y = multiseries_ts_data_stacked
    pipeline = MultiseriesRegressionPipeline(component_graph, pipeline_parameters)
    pipeline.fit(X, y)
    assert pipeline._is_fitted
    assert pipeline.frequency is not None