Skip to content

leaking data in 4. Forecasting Discrete Values in automl_time_series_forecast #1175

@Sandy4321

Description

@Sandy4321

leaking data in 4. Forecasting Discrete Values in automl_time_series_forecast
https://github.com/microsoft/FLAML/blob/main/notebook/automl_time_series_forecast.ipynb
df["above_mean_sales"] = np.where(df["Sales"] > df["Sales"].mean(), 1, 0)

you put to train data information from test data

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions