SimpleFeedForward failing when input dataset has dynamic real features of different lengths #1350
StanislasGuinel
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
When I train a SimpleFeedForwardEstimator on a ListDataset with time series of different lengths and "feat_dynamic_real" fields, it fails.
I know SimpleFeedForward doesn't support dynamic real features, but in my use case, I train different models on the same dataset and some of the models use dynamic real features, it would be nice for SimpleFeedForward not to fail on such datasets.
Here is some code to reproduce the error:
DeepAR works fine and here is the error I get on SimpleFeedForward when calling
feed_forward_estimator.train(training_data)
:ValueError: could not broadcast input array from shape (4) into shape (1)
An idea to make SimpleFeedForward work even when the ListDataset has unusable fields would be to maybe remove specific fields in the create_transformation method of SimpleFeedForwardEstimator using the RemoveFields class as in the DeepAREstimator class.
What do you think ? Would it make sense to implement that ?
Beta Was this translation helpful? Give feedback.
All reactions