You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you run the code above, you will get an exception like ValueError: cannot reshape array of size 2 into shape (3,1). However, if you comment out the "all_nans" feature (line 17) you will get the expected output:
Note: this may be related to commit ea54bc2 which made quantiles ignore nans.
We may need to update the code to put in a default for the edge case where the dataset feature is all nans.
TF 2.7.0 and TFT 1.5.0
If you run the code above, you will get an exception like
ValueError: cannot reshape array of size 2 into shape (3,1)
. However, if you comment out the "all_nans" feature (line 17) you will get the expected output:Also confirmed that the problem does not exist with
tft.quantiles(reduce_instance_dims=True)
and passing in all NaN values.The text was updated successfully, but these errors were encountered: