sktime/sktime

[BUG] test failures in deep learning classifiers, regressors

Aperta

#6153 aperta il 17 mar 2024

 (15 commenti) (0 reazioni) (0 assegnatari)Python (1192 fork)batch import
buggood first issuemodule:classificationmodule:regression

Metriche repository

Star
 (7162 stelle)
Metriche merge PR
 (Merge medio 26g 10h) (86 PR mergiate in 30 g)

Descrizione

Opening this issue to track known test failures with deep learning classifiers, regressors. Some of these seem to be due to interface or dependency degradation as tests were turned off.

Failures, with checkboxes (checked = fixed) and links to PR:

  • LSTMFCNRegressor - fails for multivariate output scenario after broadcasting
  • LSTMFCNRegressor - fails during build_network with x = AttentionLSTM(self.lstm_size)(x)
  • MACNNClassifier, MACNNRegressor - fail all tests with ValueError: A KerasTensor cannot be used as input to a TensorFlow function.
  • SimpleRNNClassifier, SimpleRNNRegressor - fail all tests as passed argument is lr, not learning_rate, as the network expects - noticed by @vandit98 and fixed in https://github.com/sktime/sktime/pull/6154
  • ResNetClassifier, ResNetRegressor fail test case for serialization when attempting to pickle a lambda
  • test_deep_estimator_full fails for regressors

Suggested procedure for debugging: pick one of these and ensure to run check_estimator locally until tests pass.

Test failures can be inspected here: https://github.com/sktime/sktime/pull/6138

Guida contributor