Tensorflow 2.13.0 removes KerasClassifier wrapper
jteijema opened this issue · comments
Jelle Teijema commented
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
Jonathan de Bruin commented
Thanks for the issue. Option 1 is the best and looks straightforward. Would you like to help me?
Jonathan de Bruin commented
Users running into this problem can downgrade tensorflow. Fix in the next release.