Skip to content

Forecasting new tabular data with dimension/shape differing from training shape #478

Answered by oguiza
msemenoff asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @msemenoff,
Whenever you prepare new samples to generate predictions on, they need to have the same shape in axes 1 & 2. They can only differ on axis 0 (number of samples). Based on your comment above your new samples should have the shape (#samples, 30, 15). You can get to this by using the same df2Xy function but without the target col argument.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@msemenoff
Comment options

Answer selected by msemenoff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants