Closed Riyabelle25 closed 9 months ago
Hi all!
We're updating the sktime-dl
package, and these are some additional bug fixes that @mloning and I discussed.
I have started working on this checklist, do add suggestions. Hopefully, we get sktime-dl back up and running soon!
Hi all. I've done some exploration into why the final unit test is failing. The MCDCNN model fails when used as an estimator in a forecast reduction algorithm but works when used as a regressor. This is because it will only work on nested dataframes and does not work on 3d numpy arrays.
@Riyabelle25 version of sktime-dl utils is converting the nested dataframe into (row,time,variable) format. Is sktime now operating with the format of (row,variable,time)?
The MCDCNN model is currently designed to work with the (row,time,variable) format which is why it's not working when given 3d numpy arrays. I'm wondering if this means that the unit tests need to be expanded to test with both nested input and with 3d input and check they are equivalent.
I'm also not sure if all of the sktime-dl algorithms are set up expecting (row,time,variable).
Quick update to the last comment. The standard deep learning conventions for tensorflow seem to be to have the channel last, so it makes more sense to do it in the way @Riyabelle25 has done it already. I think an extra function can be used to help handle 3d numpy of the format (n_batch , n_dim, n_time).
Thanks, @jnrusson1 for shedding light on that pesky test :confounded: Perhaps like you said, adding another method in utils/data.py updating the newer TensorFlow conventions would solve this- will you be adding this in #87?
obsolete as estimators in sktime
are now subject to programmatic tests in TestAllClassifiers
and the standard CI.
Checklist of suggested bug-fixes
build_tools/build.sh
master
branch tomain
maint_tools/linting.sh
with pre-commitstage: Deploy
fromazure-pipelines.yml
with new release process similar to sktimeTo Reproduce
Expected behavior
Additional context
Versions