asreview / asreview

Active learning for systematic reviews

Home Page:https://asreview.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tensorflow 2.13.0 removes KerasClassifier wrapper

jteijema opened this issue · comments

https://github.com/tensorflow/tensorflow/releases

TF 2.13.0 removed the Keras scikit-learn API wrappers (KerasClassifier and KerasRegressor), which had been deprecated in August 2021. We recommend using SciKeras instead.

This is a breaking change for our NN classifier.

Options right now:

  • try to get it to work without a wrapper
  • pin Tensorflow to 2.12.x
  • use adriangb/scikeras

Thanks for the issue. Option 1 is the best and looks straightforward. Would you like to help me?

Users running into this problem can downgrade tensorflow. Fix in the next release.