Skip to content

How to extract and plot the forecasted data from MQ-CNN model #2310

Answered by Msaleh87
Msaleh87 asked this question in Q&A
Discussion options

You must be logged in to vote

So here is what I came up with to extract and plot the data from MQ-CNN model and I hope this help:

First, step up the test data:

#Specify the end dates you like for the forecast
test_data = ListDataset(
    [
        {"start": df_input.index[0], "target": df_input.Load[:'end_date'], 
         'feat_dynamic_real': [df_input.DofW[:'end_date']], 
        'time_feat': [time_feat_df.DayofWeek[:'end_date'],
                     time_feat_df.Hour[:'end_date'],]},
        {"start": df_input.index[0], "target": df_input.Load[:'end_date2'], 
         'feat_dynamic_real': [df_input.DofW[:'end_date2']],
        'time_feat': [time_feat_df.DayofWeek[:'end_date2'],
                    time_feat_df.Hour…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Msaleh87
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #2308 on September 16, 2022 10:52.