Skip to content

Does not forecast last day available on data? #1

@avilarenan

Description

@avilarenan

Hello! Greetings from brazil!

First of all, thanks for the awesome work and for sharing the code!

I just realized that in line 23 of file curateData.py there is a -1:
new_df = new_df.iloc[n_steps:-1, :]

Just tried to run without this -1, this way we use the last window of data to forecast the last point of data available and everything seems to work just fine. But I am using another data source, I did not test against you original data source.
new_df = new_df.iloc[n_steps:, :]

Any reason for using the -1?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions